lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:
 <AM7P189MB10099904382702C0B00D4D74E3C62@AM7P189MB1009.EURP189.PROD.OUTLOOK.COM>
Date: Sat, 22 Feb 2025 14:41:38 +0100
From: Maud Spierings <maud_spierings@...mail.com>
To: Shengyu Qu <wiagn233@...look.com>, Conor Dooley <conor@...nel.org>,
 Emil Renner Berthing <kernel@...il.dk>, Rob Herring <robh@...nel.org>,
 Krzysztof Kozlowski <krzk+dt@...nel.org>,
 Paul Walmsley <paul.walmsley@...ive.com>, Palmer Dabbelt
 <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
 Alexandre Ghiti <alex@...ti.fr>
Cc: linux-riscv@...ts.infradead.org, devicetree@...r.kernel.org,
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: dts: starfive: fml13v01: increase eMMC bus speed

Just sent out v2 before I saw this

On 2/22/25 1:54 PM, Shengyu Qu wrote:
> Hi,
>
> The clock speed limit here seems because of some clock HW issues:
> https://github.com/torvalds/linux/commit/af571133f7ae028ec9b5fdab78f483af13bf28d3 
>

Hmm I don't quite understand the issue from that commit message, but 
yeah if there is some hardware issue we should probably see if we can 
get some input on this. It seems fine so far on my end.


> Maybe we need some assist from Starfive guys?
>
> Best regards,
> Shengyu
>
>
> 在 2025/2/15 17:46, Maud Spierings via B4 Relay 写道:
>> From: Maud Spierings <maud_spierings@...mail.com>
>>
>> The assigned clock speed of 50 MHz is and max-frequency of 100MHz are
>> limitting this interface which is SDIO 5.0 capable. Sadly at 200MHz it
>> fails to mount an eMMC drive, 150MHz (really 132 MHz) is the highest it
>> was able to get.
>>
>> This improves the seq read/write performance by 2x~
>>
>> Signed-off-by: Maud Spierings <maud_spierings@...mail.com>
>> ---
>> I put this in this specific dts instead of the common one as I cannot
>> test if other boards are also able to handle these speeds.
>>
>> This patch depends on [1]
>>
>> [1]: 
>> https://lore.kernel.org/all/20250207093618.126636-1-sandie.cao@deepcomputing.io/
>> ---
>>   arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts | 5 
>> +++++
>>   1 file changed, 5 insertions(+)
>>
>>
>> ---
>> base-commit: 0bc08ec1ff5a32449d2b04704173dbf3ebd6b014
>> change-id: 20250215-fml13v01_emmc_speed-67812bd9b404
>>
>> Best regards,
>>
>> diff --git 
>> a/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts 
>> b/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts
>> index 
>> 8d9ce8b69a71be78ca57618ae842c9f415648450..1f4bac9f89463a6af844b8f1743bdfa659e612ab 
>> 100644
>> --- a/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts
>> +++ b/arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts
>> @@ -11,6 +11,11 @@ / {
>>       compatible = "deepcomputing,fml13v01", "starfive,jh7110";
>>   };
>>   +&mmc0 {
>> +    max-frequency = <200000000>;
>> +    assigned-clock-rates = <150000000>;
>> +};
>> +
>>   &pcie1 {
>>       perst-gpios = <&sysgpio 21 GPIO_ACTIVE_LOW>;
>>       phys = <&pciephy1>;
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ