diff options
| author | Xingui Yang <yangxingui@huawei.com> | 2026-10-09 11:32:38 +0800 |
|---|---|---|
| committer | Martin K. Petersen (Oracle) <mkp@kernel.org> | 2026-10-14 22:21:18 -0400 |
| commit | 92821c2358c78345909889793918af8763808bd4 (patch) | |
| tree | cb75b83894d488e0623b4b957e3f3e26ac548d8f /tools/lib/python/kdoc/python_version.py | |
| parent | 7991f33110d21a9403338dbfe599472e3e1ceb32 (diff) | |
scsi: hisi_sas: Fix spinup failure for SAS SSP devices in Active_Wait state
SAS HDDs powered up with RNOT=1 wait in Active_Wait state for a
NOTIFY(ENABLE SPINUP) primitive and keep returning NOT_READY with
ASC/ASCQ 0x04/0x11, causing endless mid-layer retries and spinup
failure.
Parse the sense data in the slot completion path and, when
LU_NOT_READY_NOTIFY_REQUIRED is returned by a directly-attached SSP
device, queue work that sends the primitive from process context
(sl_notify_ssp() contains msleep()). The work takes a runtime PM
reference with pm_runtime_get_if_active(), pairing with
pm_runtime_put_sync() in the work, so the controller stays resumed until
the primitive is sent.
Fixes: 60b4a5ee9034 ("scsi: hisi_sas: add v3 cq interrupt handler")
Signed-off-by: Xingui Yang <yangxingui@huawei.com>
Link: https://patch.msgid.link/20261009033238.1076098-5-yangxingui@huawei.com
Signed-off-by: Martin K. Petersen (Oracle) <mkp@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
