Commit 9a26603c authored by Xingui Yang's avatar Xingui Yang Committed by Yongqiang Liu
Browse files

scsi: hisi_sas: Add SATA_DISK_ERR bit handling for v3 hw

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5NIU1


CVE: NA

-------------------------------------

When CQ header dw3 SATA_DISK_ERR is set it means this SATA disk is in
error state and the current IPTT is invalid. An invalid IPTT does not
correspond to any slot. In this scenario, new I/Os that delivered to disk
will be rejected by the, controller and all I/Os remained on the disk
should be aborted, which we add here with the ata_link_abort() call.

Signed-off-by: default avatarXingui Yang <yangxingui@huawei.com>
Reviewed-by: default avatarkang fenglong <kangfenglong@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 338ab8d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment