WSL2-Linux-Kernel/drivers/scsi/ufs
Bart Van Assche 72a3395543 scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan()
[ Upstream commit ee36710912b2075c417100a8acc642c9c6496501 ]

Calling ufshcd_hba_exit() from a function that is called asynchronously
from ufshcd_init() is wrong because this triggers multiple race
conditions. Instead of calling ufshcd_hba_exit(), log an error message.

Reported-by: Daniel Mentz <danielmentz@google.com>
Fixes: 1d337ec2f3 ("ufs: improve init sequence")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20231218225229.2542156-3-bvanassche@acm.org
Reviewed-by: Can Guo <quic_cang@quicinc.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-02-23 08:54:21 +01:00
..
Kconfig
Makefile
cdns-pltfrm.c
tc-dwc-g210-pci.c
tc-dwc-g210-pltfrm.c
tc-dwc-g210.c
tc-dwc-g210.h
ti-j721e-ufs.c
ufs-debugfs.c
ufs-debugfs.h
ufs-exynos.c
ufs-exynos.h
ufs-fault-injection.c
ufs-fault-injection.h
ufs-hisi.c
ufs-hisi.h
ufs-mediatek-trace.h
ufs-mediatek.c
ufs-mediatek.h
ufs-qcom-ice.c
ufs-qcom.c
ufs-qcom.h
ufs-sysfs.c
ufs-sysfs.h
ufs.h
ufs_bsg.c
ufs_bsg.h
ufs_quirks.h
ufshcd-crypto.c
ufshcd-crypto.h
ufshcd-dwc.c
ufshcd-dwc.h
ufshcd-pci.c scsi: ufs: ufs-pci: Add support for Intel Lunar Lake 2023-05-24 17:36:45 +01:00
ufshcd-pltfrm.c
ufshcd-pltfrm.h
ufshcd.c scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan() 2024-02-23 08:54:21 +01:00
ufshcd.h scsi: ufs: core: Fix devfreq deadlocks 2023-02-01 08:27:26 +01:00
ufshci-dwc.h
ufshci.h scsi: ufs: core: Enable link lost interrupt 2022-08-31 17:16:51 +02:00
ufshpb.c
ufshpb.h
unipro.h