HomeFreeBSD

cxgbe(4): Fix an assertion that is not valid during attach.

Description

cxgbe(4): Fix an assertion that is not valid during attach.

Firmware access from t4_attach takes place without any synchronization.
The driver should not panic (debug kernels) if something goes wrong in
early communication with the firmware. It should still load so that
it's possible to poke around with cxgbetool.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Mar 5 2021, 7:28 PM
Parents
rG8b434feedfa9: Only set delayed inval for procs using PTI
Branches
Unknown
Tags
Unknown