[PATCH v1 0/2] Improve eMMC performance for the StarFive JHB100 SoC
From: Changhuang Liang
Date: Wed Oct 14 2026 - 08:18:20 EST
This series implements a generic interface to configure CIT based on
time (ns). Different platforms can improve MMC performance by
configuring their respective CIT. This series has been tested on the
JHB100 SoC.
before:
dd if=/dev/mmcblk0 of=/dev/null bs=1M count=800
838860800 bytes (839 MB, 800 MiB) copied, 9.38511 s, 89.4 MB/s
dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=800
838860800 bytes (839 MB, 800 MiB) copied, 12.2127 s, 68.7 MB/s
after:
dd if=/dev/mmcblk0 of=/dev/null bs=1M count=800
838860800 bytes (839 MB, 800 MiB) copied, 3.19472 s, 263 MB/s
dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=800
838860800 bytes (839 MB, 800 MiB) copied, 10.7587 s, 78.0 MB/s
This series depends on series:
https://lore.kernel.org/all/20260930103258.13375-1-changhuang.liang@xxxxxxxxxxxxxxxx/
Changhuang Liang (2):
mmc: cqhci: Add support for setting command idle time in nanoseconds
mmc: sdhci-of-dwcmshc: Set CQHCI command idle time for StarFive JHB100
drivers/mmc/host/cqhci-core.c | 60 +++++++++++++++++++++++++++++
drivers/mmc/host/cqhci.h | 6 +++
drivers/mmc/host/sdhci-of-dwcmshc.c | 22 +++++++++++
3 files changed, 88 insertions(+)
--
2.25.1