[PATCH v2 00/13] ufs: enhancements to support Qualcomm UFS controllers
Neil Armstrong
neil.armstrong at linaro.org
Fri Sep 20 10:00:21 CEST 2024
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 at 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 | 199 ++++++++++++++++++++++++++++++++++++++++++++++++------
3 files changed, 239 insertions(+), 59 deletions(-)
---
base-commit: 24961c0e0444d3ed534ffc6a173e6ea636ca116b
change-id: 20240910-topic-ufs-enhancements-fe8ef9ce39d8
Best regards,
--
Neil Armstrong <neil.armstrong at linaro.org>
More information about the U-Boot
mailing list