diff options
| author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2025-08-20 11:41:33 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-08-26 04:39:37 +0300 |
| commit | d6c8e8b7c98c3cb326515ef4bc5c57e16ac5ae4e (patch) | |
| tree | e88d05a11eab091a9630947b5a4304f8262e658c /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) | |
| download | linux-d6c8e8b7c98c3cb326515ef4bc5c57e16ac5ae4e.tar.xz | |
scsi: mpi3mr: Fix device loss during enclosure reboot due to zero link speed
During enclosure reboot or expander reset, firmware may report a link
speed of 0 in "Device Add" events while the link is still coming up.
The driver drops such devices, leaving them missing even after the link
recovers.
Fix this by treating link speed 0 as 1.5 Gbps during device addition so
the device is exposed to the OS. The actual link speed will be updated
later when link-up events arrive.
Signed-off-by: Chandrakanth Patil <chandrakanth.patil@broadcom.com>
Link: https://lore.kernel.org/r/20250820084138.228471-2-chandrakanth.patil@broadcom.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
