linux-stable/drivers/ufs/host
Martin K. Petersen 0e0a4da352 Merge patch series "scsi: ufs: Remove overzealous memory barriers"
Andrew Halaney <ahalaney@redhat.com> says:

Please review with care as I'm not all that confident in this subject.
UFS has a lot of mb() variants used, most with comments saying "ensure
this takes effect before continuing". mb()'s aren't really the way to
guarantee that, a read back is the best method.

Some of these though I think could go a step further and remove the
mb() variant without a read back. As far as I can tell there's no real
reason to ensure it takes effect in most cases (there's no delay() or
anything afterwards, and eventually another readl()/writel() happens
which is by definition ordered). Some of the patches in this series do
that if I was confident it was safe (or a reviewer pointed out prior
that they thought it was safe to do so).

Thanks in advance for the help,
Andrew

Link: https://lore.kernel.org/r/20240329-ufs-reset-ensure-effect-before-delay-v5-0-181252004586@redhat.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2024-04-05 21:07:23 -04:00
..
cdns-pltfrm.c scsi: ufs: cdns-pltfrm: Perform read back after writing HCLKDIV 2024-04-05 21:06:29 -04:00
Kconfig scsi: ufs: ufs-mediatek: Add dependency for RESET_CONTROLLER 2023-07-05 21:40:53 -04:00
Makefile scsi: ufs: ufs-qcom: Switch to the new ICE API 2023-06-16 12:04:31 -04:00
tc-dwc-g210-pci.c scsi: ufs: Follow the kernel-doc syntax for documenting return values 2023-07-31 15:17:50 -04:00
tc-dwc-g210-pltfrm.c scsi: ufs: Convert all platform drivers to return void 2023-09-21 21:48:05 -04:00
tc-dwc-g210.c scsi: ufs: Fix kernel-doc headers 2023-07-31 15:17:50 -04:00
tc-dwc-g210.h
ti-j721e-ufs.c scsi: ufs: Convert all platform drivers to return void 2023-09-21 21:48:05 -04:00
ufs-exynos.c scsi: ufs: host: Rename structure ufs_dev_params to ufs_host_params 2023-12-13 22:37:20 -05:00
ufs-exynos.h scsi: ufs: host: ufs-exynos: Add support for FSD UFS HCI 2022-06-13 21:57:33 -04:00
ufs-hisi.c scsi: ufs: host: Rename structure ufs_dev_params to ufs_host_params 2023-12-13 22:37:20 -05:00
ufs-hisi.h
ufs-mediatek-sip.h scsi: ufs: mediatek: Support rtff in PM flow 2024-03-25 21:03:00 -04:00
ufs-mediatek-trace.h scsi: ufs: ufs-mediatek: Support clk-scaling to optimize power consumption 2022-08-22 22:58:30 -04:00
ufs-mediatek.c scsi: ufs: mediatek: Support rtff in PM flow 2024-03-25 21:03:00 -04:00
ufs-mediatek.h scsi: ufs: mediatek: Support rtff in PM flow 2024-03-25 21:03:00 -04:00
ufs-qcom.c Merge patch series "scsi: ufs: Remove overzealous memory barriers" 2024-04-05 21:07:23 -04:00
ufs-qcom.h scsi: ufs: qcom: Perform read back after writing reset bit 2024-04-05 21:06:28 -04:00
ufs-renesas.c scsi: ufs: Convert all platform drivers to return void 2023-09-21 21:48:05 -04:00
ufs-sprd.c scsi: ufs: Convert all platform drivers to return void 2023-09-21 21:48:05 -04:00
ufs-sprd.h scsi: ufs: ufs-unisoc: Add support for Unisoc UFS host controller 2023-01-11 21:17:18 -05:00
ufshcd-dwc.c scsi: ufs: Fix kernel-doc headers 2023-07-31 15:17:50 -04:00
ufshcd-dwc.h
ufshcd-pci.c scsi: ufs: ufs-pci: Switch to use acpi_evaluate_dsm_typed() 2023-10-09 21:47:25 -04:00
ufshcd-pltfrm.c SCSI misc on 20240110 2024-01-11 14:24:32 -08:00
ufshcd-pltfrm.h scsi: ufs: host: Rename structure ufs_dev_params to ufs_host_params 2023-12-13 22:37:20 -05:00
ufshci-dwc.h