On Tue, 21 Sep 2021 07:30:08 -0700, James Smart wrote: > Contention for the mailbox interface may occur during driver > initialization (immediately after a function reset), between mailbox > commands initiated via ioctl (bsg) and those driver requested by the > driver. > > After setting SLI_ACTIVE flag for a port, there is a window in which > the driver will allow an ioctl to be initiated while the adapter is > initializing and issuing mailbox commands via polling. The polling > logic then gets confused. > > [...] Applied to 5.16/scsi-queue, thanks! [1/1] lpfc: Fix mailbox command failure during driver initialization https://git.kernel.org/mkp/scsi/c/efe1dc571a5b -- Martin K. Petersen Oracle Linux Engineering