public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Julius Lehmann <lehmanju@devpi.de>
To: Neil Armstrong <neil.armstrong@linaro.org>,
	Tom Rini <trini@konsulko.com>,
	Bhupesh Sharma <bhupesh.linux@gmail.com>,
	Neha Malcom Francis <n-francis@ti.com>
Cc: Michal Simek <michal.simek@amd.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	bmeng.cn@gmail.com, u-boot@lists.denx.de, u-boot-qcom@groups.io,
	Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Subject: Re: [PATCH v3 00/13] ufs: enhancements to support Qualcomm UFS controllers
Date: Fri, 11 Oct 2024 20:10:31 +0200	[thread overview]
Message-ID: <659abbc2-037f-4f62-9f62-e17ff1972223@devpi.de> (raw)
In-Reply-To: <20240930-topic-ufs-enhancements-v3-0-58234f84ab89@linaro.org>

On 30.09.24 14:44, Neil Armstrong wrote:
> This serie regroups all the fixes and base enhancements required to
> support the Qualcomm UFS controllers in U-Boot.
> 
> This syncs headers & defines from Linux, and includes 2 set of
> fixes that were sent separately:
> - ufs: core: remove link_startup_again logic
> - ufs: properly fix cache operations
> 
> Without those 2 sets, UFS cannot initialize on Qualcomm controlers
> since v5, and a numerous of Cache issues makes any UFS controller
> fail to initialize.
> 
> Since UFS core hasn't changed for a while, and since UFS is core
> technology for the Qualcomm SoCs, I volunteer maintaininig the
> UFS subsystem if Bhupesh & Neha Malcom Francis are ok with that.
> 
> It has been reported to show regressions on:
> - TI K3 platforms (j721s2, j721e, j7200, j784s4) [1]
> - AMD platform (amd_versal2_virt_defconfig) [2]
> 
> [1] https://lore.kernel.org/all/38f599a8-7094-4a04-8ff6-96fc8b9d168a@ti.com/
> [2] https://lore.kernel.org/all/SA1PR12MB869713CA620F99077B75EF0E98632@SA1PR12MB8697.namprd12.prod.outlook.com/
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
> Changes in v3:
> - Fixup patch 9
> - Link to v2: https://lore.kernel.org/r/20240920-topic-ufs-enhancements-v2-0-65ae61e73eaa@linaro.org
> 
> Changes in v2:
> - Added review and tested-by tags
> - Updated patch 12 message with more explanations
> - Synced patch 9 again with Linux 6.11
> - Updated patches 7, 8, 9 and 10 with informations about the origins of the changes
> - Link to v1: https://lore.kernel.org/r/20240910-topic-ufs-enhancements-v1-0-3ee0bffacc64@linaro.org
> 
> ---
> Bhupesh Sharma (5):
>        ufs/ufs.h: Add definition of 'ufshcd_rmwl()'
>        ufs: Clear UECPA once due to LINERESET has happened during LINK_STARTUP
>        ufs: Sync possible UFS Quirks with Linux UFS driver
>        ufs: Add missing memory barriers
>        ufs: Fix debug message in 'ufs_start'
> 
> Marek Vasut (2):
>        ufs: Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS
>        ufs: Add UFSHCD_QUIRK_HIBERN_FASTAUTO
> 
> Neil Armstrong (6):
>        ufs: allocate descriptors with size aligned with DMA_MINALIGN
>        ufs: fix dcache flush and invalidate range calculation
>        ufs: split flush and invalidate to only invalidate when required
>        ufs: use dcache helpers for scsi_cmd data and only invalidate if necessary
>        ufs: core: remove link_startup_again logic
>        MAINTAINERS: Add myself to the list of UFS maintainers
> 
>   MAINTAINERS       |   1 +
>   drivers/ufs/ufs.c |  98 +++++++++++++++-----------
>   drivers/ufs/ufs.h | 203 ++++++++++++++++++++++++++++++++++++++++++++++++------
>   3 files changed, 241 insertions(+), 61 deletions(-)
> ---
> base-commit: ddbcafeb53e7093c58488596bfce6d8823777c3a
> change-id: 20240910-topic-ufs-enhancements-fe8ef9ce39d8
> 

tested the whole series in combination with 
https://lore.kernel.org/u-boot/20240910-topic-ufs-qcom-controller-v1-0-54c0d2231b10@linaro.org/ 
on a SM8150 tablet

Tested-by: Julius Lehmann <lehmanju@devpi.de>

> Best regards,


  parent reply	other threads:[~2024-10-11 18:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-30 12:44 [PATCH v3 00/13] ufs: enhancements to support Qualcomm UFS controllers Neil Armstrong
2024-09-30 12:44 ` [PATCH v3 01/13] ufs: allocate descriptors with size aligned with DMA_MINALIGN Neil Armstrong
2024-09-30 12:44 ` [PATCH v3 02/13] ufs: fix dcache flush and invalidate range calculation Neil Armstrong
2024-09-30 12:44 ` [PATCH v3 03/13] ufs: split flush and invalidate to only invalidate when required Neil Armstrong
2024-09-30 12:44 ` [PATCH v3 04/13] ufs: use dcache helpers for scsi_cmd data and only invalidate if necessary Neil Armstrong
2024-09-30 12:44 ` [PATCH v3 05/13] ufs: Add UFSHCD_QUIRK_BROKEN_64BIT_ADDRESS neil.armstrong
2024-09-30 12:44 ` [PATCH v3 06/13] ufs: Add UFSHCD_QUIRK_HIBERN_FASTAUTO neil.armstrong
2024-09-30 12:44 ` [PATCH v3 07/13] ufs/ufs.h: Add definition of 'ufshcd_rmwl()' neil.armstrong
2024-09-30 12:44 ` [PATCH v3 08/13] ufs: Clear UECPA once due to LINERESET has happened during LINK_STARTUP neil.armstrong
2024-09-30 12:44 ` [PATCH v3 09/13] ufs: Sync possible UFS Quirks with Linux UFS driver neil.armstrong
2024-09-30 12:44 ` [PATCH v3 10/13] ufs: Add missing memory barriers neil.armstrong
2024-09-30 12:44 ` [PATCH v3 11/13] ufs: Fix debug message in 'ufs_start' neil.armstrong
2024-09-30 12:44 ` [PATCH v3 12/13] ufs: core: remove link_startup_again logic Neil Armstrong
2024-09-30 12:44 ` [PATCH v3 13/13] MAINTAINERS: Add myself to the list of UFS maintainers Neil Armstrong
2024-10-07  8:13 ` [PATCH v3 00/13] ufs: enhancements to support Qualcomm UFS controllers Neil Armstrong
2024-10-07  8:17   ` Neha Malcom Francis
2024-10-07 12:15     ` neil.armstrong
2024-10-11 18:10 ` Julius Lehmann [this message]
2024-10-14  6:56 ` Neil Armstrong

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=659abbc2-037f-4f62-9f62-e17ff1972223@devpi.de \
    --to=lehmanju@devpi.de \
    --cc=bhupesh.linux@gmail.com \
    --cc=bmeng.cn@gmail.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=michal.simek@amd.com \
    --cc=n-francis@ti.com \
    --cc=neil.armstrong@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@groups.io \
    --cc=u-boot@lists.denx.de \
    --cc=venkatesh.abbarapu@amd.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