From: Adrian Hunter <adrian.hunter@intel.com>
To: Ulf Hansson <ulf.hansson@oss.qualcomm.com>,
Changhuang Liang <changhuang.liang@starfivetech.com>
Cc: Ritesh Harjani <ritesh.list@gmail.com>,
Ulf Hansson <ulfh@kernel.org>,
Shawn Lin <shawn.lin@rock-chips.com>, <linux-mmc@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 0/2] Improve eMMC performance for the StarFive JHB100 SoC
Date: Fri, 27 Nov 2026 17:17:40 +0200 [thread overview]
Message-ID: <25d69def-1b3b-423d-88e4-5a59c5de8723@intel.com> (raw)
In-Reply-To: <CAPx+jO_s2hPhY3vvStjucDqMUajknKFMYavqa9Dxki0HM4wpAg@mail.gmail.com>
On 27/11/2026 16:21, Ulf Hansson wrote:
> On Mon, Nov 9, 2026 at 9:18 AM Changhuang Liang
> <changhuang.liang@starfivetech.com> wrote:
>>
>> This series implements programmable support for CIT, allowing host drivers to
>> set the Send Status Command Idle Timer (CIT) in CQHCI_SSC1, either in
>> nanoseconds or directly in internal timer clock cycles.
>> 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
>>
>> Changes since v2:
>>
>> Patch 1:
>> - cqhci_set_cmd_idle_time() is removed, along with its EXPORT_SYMBOL.
>> - A new internal helper, cqhci_init_cit(), computes the CIT during
>> cqhci_init(), replacing cqhci_itcf_init().
>> - Replace itcf_hz with a driver-provided cit_ns field.
>>
>> Patch 2:
>> - simply assigns cq_host->cit_ns = pltfm_data->cqhci_cit_ns before cqhci_init().
>> - dropping the post-init cqhci_set_cmd_idle_time() call and its warning path.
>>
>> v2: https://lore.kernel.org/all/20261104112657.110536-1-changhuang.liang@starfivetech.com/
>> v1: https://lore.kernel.org/all/20261014121222.31385-1-changhuang.liang@starfivetech.com/
>>
>> Changhuang Liang (2):
>> mmc: cqhci: Add support for setting the Send Status Command Idle Timer
>> mmc: sdhci-of-dwcmshc: Set CQHCI command idle time for StarFive JHB100
>>
>> drivers/mmc/host/cqhci-core.c | 45 +++++++++++++++++++++++++++++
>> drivers/mmc/host/cqhci.h | 13 +++++++++
>> drivers/mmc/host/sdhci-of-dwcmshc.c | 7 +++++
>> 3 files changed, 65 insertions(+)
>>
>> --
>> 2.25.1
>
> Adrian, no rush, just wanted to point out that I am awaiting for your
> review of these before proceeding.
Thanks for the reminder. For both patches:
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
prev parent reply other threads:[~2026-11-27 15:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 8:18 Changhuang Liang
2026-11-09 8:18 ` [PATCH v3 1/2] mmc: cqhci: Add support for setting the Send Status Command Idle Timer Changhuang Liang
2026-11-09 8:18 ` [PATCH v3 2/2] mmc: sdhci-of-dwcmshc: Set CQHCI command idle time for StarFive JHB100 Changhuang Liang
2026-11-27 14:21 ` [PATCH v3 0/2] Improve eMMC performance for the StarFive JHB100 SoC Ulf Hansson
2026-11-27 15:17 ` Adrian Hunter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25d69def-1b3b-423d-88e4-5a59c5de8723@intel.com \
--to=adrian.hunter@intel.com \
--cc=changhuang.liang@starfivetech.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=ritesh.list@gmail.com \
--cc=shawn.lin@rock-chips.com \
--cc=ulf.hansson@oss.qualcomm.com \
--cc=ulfh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®