OpenCloudOS-Kernel/include/ufs
Kyoungrul Kim 8d1af5c6af scsi: ufs: core: Check LSDBS cap when !mcq
[ Upstream commit 0c60eb0cc320fffbb8b10329d276af14f6f5e6bf ]

If the user sets use_mcq_mode to 0, the host will try to activate the LSDB
mode unconditionally even when the LSDBS of device HCI cap is 1. This makes
commands time out and causes device probing to fail.

To prevent that problem, check the LSDBS cap when MCQ is not supported.

Signed-off-by: Kyoungrul Kim <k831.kim@samsung.com>
Link: https://lore.kernel.org/r/20240709232520epcms2p8ebdb5c4fccc30a6221390566589bf122@epcms2p8
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-08 07:54:29 +02:00
..
ufs.h Merge branch 'fixes' into misc 2023-09-02 08:25:19 +01:00
ufs_quirks.h scsi: ufs: core: Remove HPB support 2023-07-23 16:40:39 -04:00
ufshcd.h scsi: ufs: core: Check LSDBS cap when !mcq 2024-09-08 07:54:29 +02:00
ufshci.h scsi: ufs: core: Check LSDBS cap when !mcq 2024-09-08 07:54:29 +02:00
unipro.h scsi: ufs: core: Add enums for UFS lanes 2023-07-31 14:47:11 -04:00