mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter@intel.com>
To: Victor Shih <victorshihgli@gmail.com>, ulf.hansson@linaro.org
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
	benchuanggli@gmail.com, Lucas.Lai@genesyslogic.com.tw,
	HL.Liu@genesyslogic.com.tw, Greg.tu@genesyslogic.com.tw,
	dlunev@chromium.org,
	Victor Shih <victor.shih@genesyslogic.com.tw>
Subject: Re: [PATCH V22 00/22] Add support UHS-II for GL9755 and GL9767
Date: Wed, 18 Sep 2024 07:47:12 +0300	[thread overview]
Message-ID: <dfde5172-c1b7-4c22-94ab-87a1d5d5ee9d@intel.com> (raw)
In-Reply-To: <20240913102836.6144-1-victorshihgli@gmail.com>

On 13/09/24 13:28, Victor Shih wrote:
> From: Victor Shih <victor.shih@genesyslogic.com.tw>
> 
> Summary
> =======
> These patches[1] support UHS-II and fix GL9755 and GL9767
> UHS-II compatibility.
> 
> About UHS-II, roughly deal with the following three parts:
> 1) A UHS-II detection and initialization:
> - Host setup to support UHS-II (Section 3.13.1 Host Controller Setup
>   Sequence[2]).
> - Detect a UHS-II I/F (Section 3.13.2 Card Interface Detection Sequence
>   [2]).
> - In step(9) of Section 3.13.2 in [2], UHS-II initialization is include
>   Section 3.13.3 UHS-II Card Initialization and Section 3.13.4 UHS-II
>   Setting Register Setup Sequence.
> 
> 2) Send Legacy SD command through SD-TRAN
> - Encapsulated SD packets are defined in SD-TRAN in order to ensure Legacy
>   SD compatibility and preserve Legacy SD infrastructures (Section 7.1.1
>   Packet Types and Format Overview[3]).
> - Host issue a UHS-II CCMD packet or a UHS-II DCMD (Section 3.13.5 UHS-II
>   CCMD Packet issuing and Section 3.13.6 UHS-II DCMD Packet issuing[2]).
> 
> 3) UHS-II Interrupt
> - Except for UHS-II error interrupts, most interrupts share the original
>   interrupt registers.
> 
> Patch structure
> ===============
> patch#1-#7:  for core
> patch#8-#20: for sdhci
> patch#21:    for GL9755
> patch#22:    for GL9767
> 
> Tests
> =====
> Ran 'dd' command to evaluate the performance 3 times:
> (SanDisk UHS-II card on GL9755 controller)
>                              Read    Write
> UHS-II disabled (UHS-I): 85.5MB/s 56.3MB/s
> UHS-II enabled         :  182MB/s 75.5MB/s
>                              Read    Write
> UHS-II disabled (UHS-I): 86.7MB/s 52.1MB/s
> UHS-II enabled         :  179MB/s 77.6MB/s
>                              Read    Write
> UHS-II disabled (UHS-I): 85.8MB/s 49.1MB/s
> UHS-II enabled         :  181MB/s 89.8MB/s
> (SanDisk UHS-II card on GL9767 controller)
>                              Read    Write
> UHS-II disabled (UHS-I): 81.9MB/s 49.0MB/s
> UHS-II enabled         :  186MB/s 87.9MB/s
>                              Read    Write
> UHS-II disabled (UHS-I): 80.8MB/s 53.5MB/s
> UHS-II enabled         :  192MB/s 87.3MB/s
>                              Read    Write
> UHS-II disabled (UHS-I): 81.0MB/s 53.9MB/s
> UHS-II enabled         :  199MB/s 73.6MB/s
> 
> Test command
> =====
> Read: dd if=/dev/mmcxxx of=/dev/null bs=4096k count=2000 iflag=direct
> Write:dd if=/dev/zero of=/dev/mmcxxx bs=4096k count=2000 oflag=direct
> 
> Changes in v22 (September. 13, 2024)
> * Rebase on latest mmc/next.
> * Adjust patch order to avoid defined but nt used warnings:
>   v21 patch#18 to v22 patch#14.
>   v21 patch#14 to v22 patch#15.
>   v21 patch#15 to v22 patch#16.
>   v21 patch#16 to v22 patch#18.
> * Patch#14: Remove unnecessary code to avoid defined but not used warnings.
> * Patch#15: Add necessary code to avoid defined but not used warnings.
> * Patch#16: Remove unnecessary code to avoid defined but not used warnings.
>             Modify commit message.
> * Patch#17: Remove unnecessary code to avoid defined but not used warnings.
> * Patch#18: Add necessary code to avoid defined but not used warnings.

For SDHCI:

Acked-by: Adrian Hunter <adrian.hunter@intel.com>



  parent reply	other threads:[~2024-09-18  4:47 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-13 10:28 Victor Shih
2024-09-13 10:28 ` [PATCH V22 01/22] mmc: core: Cleanup printing of speed mode at card insertion Victor Shih
2024-09-13 10:28 ` [PATCH V22 02/22] mmc: core: Prepare to support SD UHS-II cards Victor Shih
2024-10-08 19:56   ` Kees Bakker
2024-10-09 10:37     ` Ulf Hansson
2024-09-13 10:28 ` [PATCH V22 03/22] mmc: core: Announce successful insertion of an SD UHS-II card Victor Shih
2024-09-13 10:28 ` [PATCH V22 04/22] mmc: core: Extend support for mmc regulators with a vqmmc2 Victor Shih
2024-09-13 10:28 ` [PATCH V22 05/22] mmc: core: Add definitions for SD UHS-II cards Victor Shih
2024-09-13 10:28 ` [PATCH V22 06/22] mmc: core: Add New function to re-factoring the code Victor Shih
2024-09-13 10:28 ` [PATCH V22 07/22] mmc: core: Support UHS-II card control and access Victor Shih
2024-10-07 15:36   ` Ulf Hansson
2024-10-10  6:20     ` Victor Shih
2024-10-10 11:21       ` Ulf Hansson
2024-10-18 10:39         ` Victor Shih
2024-10-18 10:47     ` Victor Shih
2024-09-13 10:28 ` [PATCH V22 08/22] mmc: sdhci: add UHS-II related definitions in headers Victor Shih
2024-09-13 20:00   ` Markus Elfring
2024-09-13 10:28 ` [PATCH V22 09/22] mmc: sdhci: add UHS-II module and add a kernel configuration Victor Shih
2024-09-13 16:42   ` Markus Elfring
2024-09-13 10:28 ` [PATCH V22 10/22] mmc: sdhci-uhs2: dump UHS-II registers Victor Shih
2024-09-13 10:28 ` [PATCH V22 11/22] mmc: sdhci-uhs2: add reset function Victor Shih
2024-09-13 10:28 ` [PATCH V22 12/22] mmc: sdhci-uhs2: add set_power() to support vdd2 Victor Shih
2024-09-13 10:28 ` [PATCH V22 13/22] mmc: sdhci-uhs2: add set_timeout() Victor Shih
2024-09-13 10:28 ` [PATCH V22 14/22] mmc: sdhci-uhs2: add add_host() and others to set up the driver Victor Shih
2024-09-13 10:28 ` [PATCH V22 15/22] mmc: sdhci-uhs2: add set_ios() Victor Shih
2024-09-13 10:28 ` [PATCH V22 16/22] mmc: sdhci-uhs2: add related functions to initialize the interface Victor Shih
2024-09-13 10:28 ` [PATCH V22 17/22] mmc: sdhci-uhs2: add irq() and others Victor Shih
2024-09-13 15:17   ` Markus Elfring
2024-09-13 10:28 ` [PATCH V22 18/22] mmc: sdhci-uhs2: add request() " Victor Shih
2024-09-13 10:28 ` [PATCH V22 19/22] mmc: sdhci-uhs2: add pre-detect_init hook Victor Shih
2024-09-13 10:28 ` [PATCH V22 20/22] mmc: sdhci-pci: add UHS-II support framework Victor Shih
2024-09-13 10:28 ` [PATCH V22 21/22] mmc: sdhci-pci-gli: enable UHS-II mode for GL9755 Victor Shih
2024-09-13 10:28 ` [PATCH V22 22/22] mmc: sdhci-pci-gli: enable UHS-II mode for GL9767 Victor Shih
2024-09-18  4:47 ` Adrian Hunter [this message]
2024-09-30 10:46   ` [PATCH V22 00/22] Add support UHS-II for GL9755 and GL9767 Victor Shih
2024-10-04 11:54     ` Ulf Hansson
2024-10-07 15:33 ` Ulf Hansson
2024-10-10  6:20   ` Victor Shih
2024-10-10  9:57     ` Ulf Hansson

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=dfde5172-c1b7-4c22-94ab-87a1d5d5ee9d@intel.com \
    --to=adrian.hunter@intel.com \
    --cc=Greg.tu@genesyslogic.com.tw \
    --cc=HL.Liu@genesyslogic.com.tw \
    --cc=Lucas.Lai@genesyslogic.com.tw \
    --cc=benchuanggli@gmail.com \
    --cc=dlunev@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=victor.shih@genesyslogic.com.tw \
    --cc=victorshihgli@gmail.com \
    /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®