diff options
author | Chandrakanth Patil <chandrakanth.patil@broadcom.com> | 2025-08-20 14:11:33 +0530 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-08-25 21:39:37 -0400 |
commit | d6c8e8b7c98c3cb326515ef4bc5c57e16ac5ae4e (patch) | |
tree | e88d05a11eab091a9630947b5a4304f8262e658c /rust/helpers/completion.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
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 'rust/helpers/completion.c')
0 files changed, 0 insertions, 0 deletions