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
Unknown Object (File)
Wed, Oct 8, 2:43 PM
Unknown Object (File)
Wed, Oct 8, 2:22 PM
Unknown Object (File)
Mon, Sep 29, 6:33 PM
Unknown Object (File)
Sat, Sep 20, 9:56 PM
Unknown Object (File)
Sun, Sep 14, 2:16 AM
Unknown Object (File)
Sep 10 2025, 6:27 PM
Unknown Object (File)
Sep 4 2025, 6:15 PM
Unknown Object (File)
Sep 3 2025, 11:06 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.