aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/tests/fpga-mgr-test.c
diff options
context:
space:
mode:
authorXingui Yang <[email protected]>2025-03-12 09:51:35 +0000
committerMartin K. Petersen <[email protected]>2025-03-21 00:46:31 +0000
commitdaff37f00c7506ca322ccfce95d342022f06ec58 (patch)
tree318471c71a3f64ced233c8dfe2905f5e9ed7fdbf /drivers/fpga/tests/fpga-mgr-test.c
parentscsi: hisi_sas: Enable force phy when SATA disk directly connected (diff)
downloadkernel-daff37f00c7506ca322ccfce95d342022f06ec58.tar.gz
kernel-daff37f00c7506ca322ccfce95d342022f06ec58.zip
scsi: hisi_sas: Fix I/O errors caused by hardware port ID changes
The hw port ID of phy may change when inserting disks in batches, causing the port ID in hisi_sas_port and itct to be inconsistent with the hardware, resulting in I/O errors. The solution is to set the device state to gone to intercept I/O sent to the device, and then execute linkreset to discard and find the disk to re-update its information. Signed-off-by: Xingui Yang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/fpga/tests/fpga-mgr-test.c')
0 files changed, 0 insertions, 0 deletions