scsi: libsas: Add smp_ata_check_ready_type()

[ Upstream commit 9181ce3cb5 ]

Create function smp_ata_check_ready_type() for LLDDs to wait for SATA
devices to come up after a link reset.

Signed-off-by: Jie Zhan <zhanjie9@hisilicon.com>
Link: https://lore.kernel.org/r/20221118083714.4034612-4-zhanjie9@hisilicon.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: 3c2673a09c ("scsi: hisi_sas: Fix SATA devices missing issue during I_T nexus reset")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jie Zhan 2022-11-18 16:37:12 +08:00 • committed by Greg Kroah-Hartman
commit 8ec73f4150
4 changed files with 35 additions and 2 deletions