From nobody Thu Jan 26 19:47:57 2023 X-Original-To: riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P2rq10SqXz3bnMd for ; Thu, 26 Jan 2023 19:48:13 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P2rpz5Twfz3DjY for ; Thu, 26 Jan 2023 19:48:11 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=bNyeAvO9; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::830) smtp.mailfrom=tomek@cedro.info; dmarc=none Received: by mail-qt1-x830.google.com with SMTP id e8so2248103qts.1 for ; Thu, 26 Jan 2023 11:48:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=iO3JGQNGetkX1CP2a7Zm7a8ZmhPkdakCuHm2Opg71Cg=; b=bNyeAvO9QtVoBiCLmX1EcQ9CbJ/hzbX3OTlSu7SepV1fiEGUMCIhoaeUy4h65q58Jn OcxCLbc8zeEjiocUmV5nH9QM9kKoVsz3Xb/XJauPOGvLfoHfjwK9tdwb+bp6g/OKUDHz 1RQPPp3Y+mqcc6RD9fxv1nuCl0bDfIkO/1kRN5tJoE7IwXt6DEU8fh8qDzGVPqc/R0Gl RBUd9MBworBDlZ4LpZ/qaAQQORrW02rMJyrrU8OdOuEmMptVxmcgd8IZCLoAiHum5iO3 KihySbvQ0o4xwAqN952nbKnw7Piw8NO9fHhkUNF3xSCPJtxl0NOZBnu9VL8abVybSQ4k lmGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iO3JGQNGetkX1CP2a7Zm7a8ZmhPkdakCuHm2Opg71Cg=; b=tBz+YObCID+tu1matK3rsutX7z5hTA9gnJtAJavI6A5Kal5hxGU5/U/fDcBPno9vCG QFwwJo+OlXyoCsMXI44GQ/bl98tlGWVckjqz3740chQJDwoG8zzLaUtmY9gsVpzkqm0G mzRHYzemlKijUM5DWGtz3n2H3zSfnGVrgTNe3rsLrO/xIJ1/1REK39Y0Rv3QF29EavRj QLsMI6JRKitlZxv4NNz5TXORWTHaFkoTHfO+AtdaR7TinlI1douD8ThPaBuTYHmdMaNJ gq9Mqs7wGxHrrzmReYIkvB4wvkq2grQ9M1wZmLc9vgTa/84AIIbUA1XFwJrngM7yqfk9 VWLw== X-Gm-Message-State: AO0yUKXsIHaZWBYbC0odOU5B/Flox+Xe/dgxtPDJdP7TnJbvph6hjGX+ GFJUd4+JUZdU5Vjo95NeevfEe6TFctRPaJgI X-Google-Smtp-Source: AK7set+1oV7/l3cMMWT27mqR8ovMihotOCaR9Ezf2dl2JLoYu2D5tycFhkEx+tbaXumL4oJB0YJBlw== X-Received: by 2002:a05:622a:208:b0:3a5:f9f8:3ec4 with SMTP id b8-20020a05622a020800b003a5f9f83ec4mr14833275qtx.30.1674762490847; Thu, 26 Jan 2023 11:48:10 -0800 (PST) Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com. [209.85.128.174]) by smtp.gmail.com with ESMTPSA id c16-20020ac80090000000b003b323387c1asm1289221qtg.18.2023.01.26.11.48.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Jan 2023 11:48:10 -0800 (PST) Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-4c131bede4bso38086887b3.5; Thu, 26 Jan 2023 11:48:10 -0800 (PST) X-Received: by 2002:a81:1ca:0:b0:46a:a144:219f with SMTP id 193-20020a8101ca000000b0046aa144219fmr4268977ywb.60.1674762490073; Thu, 26 Jan 2023 11:48:10 -0800 (PST) List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Tomek CEDRO Date: Thu, 26 Jan 2023 20:47:57 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Fwd: [RISC-V tech-announce] Launching Cloud-V CI platform To: riscv@freebsd.org, freebsd-embedded@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::830:from]; MLMMJ_DEST(0.00)[riscv@freebsd.org]; R_SPF_NA(0.00)[no SPF record]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[cedro.info:+]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[cedro.info]; PREVIOUSLY_DELIVERED(0.00)[riscv@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4P2rpz5Twfz3DjY X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello world :-) Some online platform showed up, alpha stage, based on qemu + ci, they also mention real hardware hifive visionfive2 and hifive unleashed, that may be helpful in testing FreeBSD on RISC-V..? Best regards :-) Tomek ---------- Forwarded message --------- From: Ali Tariq Date: Thu, Jan 26, 2023 at 5:48 PM Subject: [RISC-V tech-announce] Launching Cloud-V CI platform Hi all, I am delighted to announce that here at 10xEngineers (which is a partner of riscv-labs subgroup), we have launched an online CI platform called Cloud-V for testing RISC-V applications. Developers who are working on developing RISC-V applications or porting applications to RISC-V architecture, will be able to test their applications on Cloud-V. Cloud-V supports QEMU (User mode and with RISC-V Linux) and RISC-V hardware boards (hifive visionfive 2 and hifive unleashed) and is integrated with version control systems. We are currently looking for alpha developers who can test and build applications on Cloud-V. Links you can visit: Cloud-V page: https://cloud-v.co/ Cloud-V Documentation: https://10x-engineers.github.io/riscv-ci-partners/ Cloud-V Developer's Guide: https://10x-engineers.github.io/riscv-ci-partners/Software_Developer_Guide/#pre-requisites Cloud-V Dashboard: https://dash.cloud-v.co Contact: ali.tariq@10xengineers.ai Regards, Ali (10xEngineers) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Tue Feb 7 13:27:21 2023 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PB3p43dbKz3mymb for ; Tue, 7 Feb 2023 13:27:24 +0000 (UTC) (envelope-from jsihv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PB3p32VB9z3MJ9 for ; Tue, 7 Feb 2023 13:27:23 +0000 (UTC) (envelope-from jsihv@gmx.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of jsihv@gmx.com designates 212.227.15.19 as permitted sender) smtp.mailfrom=jsihv@gmx.com; dmarc=pass (policy=none) header.from=gmx.com Received: from [84.249.142.187] ([84.249.142.187]) by web-mail.gmx.net (3c-app-mailcom-bs06.server.lan [172.19.170.174]) (via HTTP); Tue, 7 Feb 2023 14:27:21 +0100 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Message-ID: From: JMT Sihvola To: freebsd-riscv@FreeBSD.org Subject: Investigating jh7100 (VisionFive) MMC issue Content-Type: text/plain; charset=UTF-8 Date: Tue, 7 Feb 2023 14:27:21 +0100 Importance: normal Sensitivity: Normal Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-Provags-ID: V03:K1:8qjYHXQL6f+593o+HMqo8Q0ybWO55P/S9x/Q9vLZOUtsBPwlxNm8uTdFlIUPTDRLvBX3R I+vWPBCHR5yrCipZsLOAzxvJIxbTIwEr9YYyAnDYVQykbVF4O4LmFp9nhkmWtA4SlxfJpVKo++LC 1SKGe8lL+g+aB92vgANyRB1GOowx4NHj5NiRWk4fsBBldKX9m5nt1aFun2zlvLJl8M3qvbvcGKBr fXJNgjtsbLWPIRN2RUmNRogdKEmQ4+Wl2Ch3OTCaXJ/+wxGx9r4oCTmNPY7VYGcXBIHZZqN7zKxW rM= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:XSofkzGD6vE=;utTjAdUWqTpjip1G6wOlkZbnmp/ s8+Hq6dTDHl+w4KrstQzG2KQ/2Me2a5hccNuDyoE4BxixhoKMRGLuOuhlIacg6yXfPkI/ptv2 I7iAZspiwT+Qx3N0cF76pSM8TQ3wjVzPMe4ik8di563aCGRU8A2IS0OdqyFFGA2MRD320KIy4 rQFetniUPtMTOTwcFAw+BHf9tz/zfj0OQXn8Cep7E8uYhY8e/XJfgF0h9YZe4+ex8f9GnxcrT ufN41VMojD0lgmrqZZoQvTlfKJsO1jOFZCqusdEi3pWh2JO89+lr68+t17oFN8wVRkTWvOVKx byN6UBmGpI//5ub/eLIT5c4LthFc818+Nd720CIUBFF/3gIa9iAdE2tix9C0omqY5XZrz2AvY LOPk3mRPQHWvSalaQOWZpToKJ8zsbEAuVRJSI5PP7uMPCT6JxfIZNW7tJdoeNw6/Vcvn54Liz YkLHUcUYMPCLYALD1T7k85p7l9qngGoeriLd3MapGDd6QeEK+oAQbZy8ds+LjuboWwB81IdyL qlfEkYeAew7VDMiLKvoIXo5rGlREjNE7nmNCFN7Xo4fbx0vGqpkVWe0rkwKzpooh4Rt+I2Ly5 QUHyu28oyFlfT+30bzEqXa+aJvI2JtWyHV+OK5RNWoq4TENxWOqU9AIBBJnbsi6TXB4C4rrJU o3iiaPJWD1r9jYPcB3hfo6VMtmuYO5F0VNlNNAXL7C0hzM6JXZg00Smsv0gJaL0rfQJVfTlgK fSzrihO9dCJyhwaqqjWj0paxaJYxcrT8H5T2DsxXVvBDClb3FsQ6ds48TI/Hog1zIc+NjBzFR V6dCEqRO4T1tbMZtaykyiY8A== X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmx.com,none]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/24]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.19:from]; NEURAL_HAM_SHORT(-0.10)[-0.096]; FREEMAIL_ENVFROM(0.00)[gmx.com]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MLMMJ_DEST(0.00)[freebsd-riscv@FreeBSD.org]; HAS_X_PRIO_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.19:from]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmx.com]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PB3p32VB9z3MJ9 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Hello, Here is a description of my efforts to investigate what is missing from=20 jh7100 (VisionFive) MMC host driver -- the driver file is here: https://github=2Ecom/mhorne/freebsd/blob/beaglev/sys/riscv/ starfive/starfive_if_dwc=2Ec I use device trees provided in Linux repository: https://github=2Ecom/starfive-tech/linux/blob/ 594a662ba20ee2234e2c09a4b25d79f8fb99cfef/arch/riscv/boot/dts/starfive/ I also have my own GPIO and reset drivers in use plus one clock added=2E These may affect the boot process=2E Ask me if interested=2E -- Without "sc->use_pio =3D 1" in dwmmc_starfive=2Ec the execution halts at m= sleep() call which is located in the file sys/dev/mmc/mmc=2Ec It seems that it remains waiting for an external event which never occurs= =2E After switching pio mode on (like is done in several other board specific dwmmc driver codes) booting does not stall anymore but we get an error mes= sage: mmcsd0: Error indicated: 4 Failed Possibly related to this error =E2=80=93 which appears multiple times duri= ng the boot =E2=80=93 mountroot fails (error 19) Using printfs to track the execution suggests that the earlier manifestati= on of mmscd0's error 4 happens in the function dwmmc_intr() which is found in a = file sys/dev/mmc/host/dwmmc=2Ec=2E The error number 4 matches to this error cod= e (MMC_ERR_FAILED defined in mmcreg=2Eh) and printfs rule out other places w= here the same error is assigned=2E Printing opcodes and register data out at this point indicates that opcode= s used when the error manifests are 17, MMC_READ_SINGLE_BLOCK and 18, MMC_READ_MULTIPLE_BLOCK and MINTSTS register has bits 3 and 7 on=2E These = bits indicate data_transfer_over_interrupt and data_crc_error_interrupt accordi= ng to two datasheets I've found=2E So it looks like there is a CRC error=2E= =20 Printfs reveal that during the boot many data packets are transferred=2E CRC error appears with some of these=2E Data packets transfered during the boot consists of 3735929054 sequences (0xDEADC0DE), only tails of transfers may be different: example 1: =2E=2E=2E 3735929054 8309528 4294967232 9 example 2: =2E=2E=2E 3735929054 8313624 4294967232 3735929054 Curiously sometimes the very last row is another 3735929054 sequence inste= ad of 9 (example 2) but this difference is seen between different boots and conc= erns all the transfers instead of marking a difference between error indicating= and non-error indicating transfers=2E The quantity of data transferred seems to be always correct (=2E=2E=2Eat l= east if value 9 is not an error) Printing out all the possible variables related to these data transfers (s= truct mmc_command) does not seem to reveal much differences between error giving= and non-error giving transfers=2E Only suspectible variable I have found is "a= rg" variable=2E It is usually 0 and sometimes 2 when the error occurs=2E With = errorless transfers (when opcodes are 17, 18) these values seem not to appear=2E Tracking this arg variable takes us to function mmcsd_rw() in file mmscd= =2Ec=2E There arg gets its value from bp->bio_pblkno (physical block address) via "block" variable=2E This argument comes from function's parameter struct b= io *bp=2E Ultimately the origin of this value seems to lie in the struct bio's bio_o= ffset which is initialised somewhere in geom system (files like geom_slice=2Ec, geom_disk=2Ec) Might this path be worth of studying further=2E=2E=2E Another hypothesis is that the error is related to bus/clock rates: fedora linux boot prints: [ 3=2E071120] mmc_host mmc0: Bus speed (slot 0) =3D 100000000Hz (slot req 400000Hz, actual 400000HZ div =3D 125) [ 3=2E168274] mmc_host mmc0: Bus speed (slot 0) =3D 100000000Hz (slot req 50000000Hz, actual 50000000HZ div =3D 1) [ 9=2E240888] mmc_host mmc1: Bus speed (slot 0) =3D 123750000Hz (slot req 400000Hz, actual 399193HZ div =3D 155) [ 9=2E398503] mmc_host mmc1: Bus speed (slot 0) =3D 123750000Hz (slot req 50000000Hz, actual 30937500HZ div =3D 2) freebsd boot prints (with my own printfs): dwmmc_setup_bus(), div: 1, bus_hz: 100000000, freq: 50000000 dwmmc_setup_bus(), div: 125, bus_hz: 100000000, freq: 400000 dwmmc_setup_bus(), div: 155, bus_hz: 123750000, freq: 400000 It seems one combination of rates is missing from FreeBSD (or the booting simply doesn't proceed far enough?) =2E=2E=2Ethough it's related to mmc1 w= hile the relevant action seems to take place in mmc0=2E I wonder if those rates seen are actually supported by FreeBSD=2E In some = previous cases FreeBSD has used different rates to linux due to less extensive driv= ers=2E So here's where I currently stand=2E Tips are welcome=2E --=20 Jari Sihvola From nobody Tue Feb 7 19:17:45 2023 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBCZM4vcCz3nbFh for ; Tue, 7 Feb 2023 19:17:47 +0000 (UTC) (envelope-from jsihv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBCZL4NF8z4Tbd for ; Tue, 7 Feb 2023 19:17:46 +0000 (UTC) (envelope-from jsihv@gmx.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of jsihv@gmx.com designates 212.227.15.15 as permitted sender) smtp.mailfrom=jsihv@gmx.com; dmarc=pass (policy=none) header.from=gmx.com Received: from [84.249.142.187] ([84.249.142.187]) by web-mail.gmx.net (3c-app-mailcom-bs03.server.lan [172.19.170.169]) (via HTTP); Tue, 7 Feb 2023 20:17:45 +0100 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Message-ID: From: JMT Sihvola To: freebsd-riscv@FreeBSD.org Subject: Investigating jh7100 MMC, correction to previous Content-Type: text/plain; charset=UTF-8 Date: Tue, 7 Feb 2023 20:17:45 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:2kGqJPt/Yjy5X2QfMveaffchOMFD7yPL/Qg0PDzGlT+EfO0lYa3mIDSoh8Bc5BlGg5JtV /3j+U/s1rTlN/3xqL0y2MICBdLvf7OIPPt06ugSw7MM9B8axP9nxeLr8FyKVyjHlyn9u9/iLaiD3 Kvt7B5lf3xHnLc5tdjM24zcenEAhmlvtPbqLxbPjkOrryHkw654eVPgsWjVAwjuCFZVuzTTtTSxo VgK7Ti72vk2wwPg6Ak4hmSKRX+ty0uk0nd7/dgT9HPPk8dE4jA+ivgJ6u4jkVM3xWjEkvnhpYPmQ 7I= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:eggjYG3atBw=;jRTc3nm1/Q+SLFfDt4qoA+2YyHn 1ZzKLvTjgYx337Luooyg6L6M1Teq0z7l6EaTpUzh0WivtB9tem6xMzwfs0j8To7jFlE0aoCHr 61sGw8hwapTDR3tbCdUHepJD++0uyiTf22LBNya07/8c6rN4Z0bifldLEm7KLO+MSUkOqceXR eixmPw6Gb1EB8BQTzh6RkeB5rxvNE5dILuSw1Byl7wKMNUV2DVkAamP31jBTenjEXdf/WifJR DKZVvzj86CdMYOkhWGikHytcYyvyza/HXOJ1OM2UhWqYuJ61HbVVmFL1Q+UNhAPV89XFYaJUB x84N2OWE/1auaCuIHow/HEyJkZ3Y3SCL5QFdGlkVuvfpSIiHne8qXJOzoo94fZVwU/UtopKLU qA5dK9DBiGSo9AZuqOnuqRW3mvf+BskrNTagPJeGgvDxiuRqITVrzjhxJLpGdeYmlVsL8/KVH kXsAuMlymgp8MoPYHV7KvDU3W6p3o80Cio+9istx6sS6/+F93VlwiH00bmeMd2rTC0xu01D31 Y75zAkqfmQl0Kmj71VBAlmnOXgWOGteWAMQ56H9WflY+zDyP31Nw/CPy1gZ7suPvjEaY0nhtJ KDXChsiMhYU4sr8IyYZCmTYOxfuq4C7hX9yidcQAjKx1FrZzPGZU+OlMHchcDEc+0xsXIYaVL cg7zVoEBGOnnGd0TVJgOxJjVAGCPthfnWxeiNdviCFMHXUA1ySwkxcSoyt2vhxUMmhIRx7uW5 lQVZfOULqUDwQIVd9zjs/SIYRivraMWVBgEl5H33Hu/a7vf4sU07ZoGjI5jr/2+12jl5VlZX7 OU6b7Ifq4+JO5zyMN6Lt1iew== X-Spamd-Result: default: False [-1.54 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.60)[-0.595]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmx.com,none]; NEURAL_SPAM_SHORT(0.46)[0.460]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/24]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.15:from]; HAS_X_PRIO_THREE(0.00)[3]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-riscv@FreeBSD.org]; FREEMAIL_ENVFROM(0.00)[gmx.com]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.15:from]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_FROM(0.00)[gmx.com]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PBCZL4NF8z4Tbd X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N Correction to the previous message MMC host driver file is of course this one: https://github.com/mhorne/freebsd/blob/beaglev/sys/dev/mmc/host/dwmmc.c ...and not starfive_if_dwc.c -js From nobody Tue Feb 7 19:22:15 2023 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PBCgY5BXTz3nbsJ for ; Tue, 7 Feb 2023 19:22:17 +0000 (UTC) (envelope-from jsihv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PBCgX3LZ3z4Ztv for ; Tue, 7 Feb 2023 19:22:16 +0000 (UTC) (envelope-from jsihv@gmx.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of jsihv@gmx.com designates 212.227.15.18 as permitted sender) smtp.mailfrom=jsihv@gmx.com; dmarc=pass (policy=none) header.from=gmx.com Received: from [84.249.142.187] ([84.249.142.187]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Tue, 7 Feb 2023 20:22:15 +0100 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 Message-ID: From: JMT Sihvola To: freebsd-riscv@FreeBSD.org Subject: correction to correction Content-Type: text/html; charset=UTF-8 Date: Tue, 7 Feb 2023 20:22:15 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:3HrC56jm0dpkfArptY2f0xdwZxdTfDcH55V3EIpsCY+hSGC3lvQB2oRKGndPiGMmcJdXz 0zzhpw7UJF75JeUIf8/iSd4Q9BftaZeebcCjKWSU3VvitzfeZyMYwFq6qwkocNarKg1drtTCM5gz VCJM51Ou3hdlEQRVYRPkJ502F3FziAj7Tsd8X1SMwCDlrtQYSpveDOK1C1Rm+E4a/OBfDmDCiO+g o3KcCtG2FU872SAZDvsuCjwVDnse2IsEOGSOVbPao4anQ3QYTFoL/ND+u21pBKQOSekAjmjWdwSw 6Y= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:W+clmgIlQzA=;bZO3nKKX/z0oJpVw6C3WG7q8h4e XgqESZmk2kRvyP22wkPbW1+l3BAdR47rmyQZKHgY7IgsRe0N5FWlzu0aZebe9njv/OSzzlVIN No+7GVQta4f+WMbh6COHRS7Kix3hzoJbR8RxEsVeIDI0KNSbTcFlLefKxX8NGNnDz0Nuv9dFI n6Tm4t/6sZ0ApBLe3MTXAw/7K8HpC/i8QeLq7fXKQE9ASsiUWswqja37RbheS+CzEQsd8bLcs c9AdZWQgvDrq69mkAgbJ5AsGkg3c5uJ5hfCYKdRdu703pKsqvKkvk2BE7bPgT3iN7svfDJt7t K8U7x0XJcYEQQyZYJZkJXxtSHa0RZwHmheRTOPjS6PErXDiJl6N+hUXIU5c6sXyLW7kKDU8OY LZQYVv2aQMDYfNbJAv6S51L1EUANO1L4GSQNhOf85VBHjzNbY35eOevY5dRcNOFnRmz2BtCs0 meZP5K2fDCxsKjpBq0/e9nFFQuBCA87my5VYD/aHsxusW+Qe57GYX8treHHaoBQYOcRY8M4u1 s9jmcm6j2CdFzL+DnSoMXC8cRofNXrWfzRmRMSS5aeblIHv5fGdUhHcpdq3cwwaTHz1AsKHcx mGMtPjS1YPDTTdDzC1W8A+dwSnyZcPUtv51tzSoKxam6TmGe/gcVJ6hALGp9yNv3W3VDpVEyt 67e+CrLsHL0F03SRxbJ0TMEwg9qp1T+lnsc2tCW4tjg0OHOm0iqDqFHP9Cri92/9WM1g75XAW UJatgZQ8UudD9yi95Sdn5ZBU+dwcYLscbCZH/qEXGOQZKxEbUnD8W7ah+qrf6ec+7pmcZCQ6i 9fTG386pChXEj1aWWJeurWZvBE7k3t3TXwiNpK0Vs1MRQ= X-Spamd-Result: default: False [1.36 / 15.00]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; NEURAL_HAM_LONG(-0.54)[-0.540]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gmx.com,none]; MIME_HTML_ONLY(0.20)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.15.0/24:c]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.15.18:from]; MLMMJ_DEST(0.00)[freebsd-riscv@FreeBSD.org]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.com]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.15.18:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmx.com]; TO_DN_NONE(0.00)[]; MIME_TRACE(0.00)[0:~]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4PBCgX3LZ3z4Ztv X-Spamd-Bar: + X-ThisMailContainsUnwantedMimeParts: N
 
Ok, sorry for being scatterbrained but that's what I am.
 
Correction to correction, it's this file we are supposed to talk about...
https://github.com/mhorne/freebsd/blob/beaglev/sys/dev/mmc/host/dwmmc_starfive.c
 
...though also dwmmc.c is of course highly relevant. But hopefully changing
dwmmc_starfive.c is enough.
 
-js