Page MenuHomeFreeBSD

mpi3mr: Enhance Controller Enable Retry Logic in Host Drivers
ClosedPublic

Authored by chandrakanth.patil_broadcom.com on Apr 9 2025, 7:30 PM.
Tags
None
Referenced Files
F154224441: D49746.id154373.diff
Mon, Apr 27, 6:10 AM
Unknown Object (File)
Sat, Apr 25, 6:57 AM
Unknown Object (File)
Sun, Apr 19, 11:13 AM
Unknown Object (File)
Mar 23 2026, 6:25 AM
Unknown Object (File)
Mar 17 2026, 5:20 PM
Unknown Object (File)
Mar 17 2026, 12:11 PM
Unknown Object (File)
Mar 17 2026, 7:06 AM
Unknown Object (File)
Mar 17 2026, 5:42 AM
Subscribers
None

Details

Summary

This patch improves the retry logic during the IOC enable process.
If a controller faults or if the reset history bit is detected during
the ready status check, the driver will retry initialization up to three
times or until 510 seconds have passed.

A soft reset will also be issued if the controller is detected while
waiting for the ready status.

This enhances reliability during controller initialization.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This seems OK, but I can't check that the details done here matches the firmware running on the card.
I'll trust the vendor, though, to get this right. The FreeBSD details look good though.

This revision is now accepted and ready to land.Apr 11 2025, 2:16 PM
In D49746#1134846, @imp wrote:

This seems OK, but I can't check that the details done here matches the firmware running on the card.
I'll trust the vendor, though, to get this right. The FreeBSD details look good though.

Thank you.