]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
scsi: lpfc: Check ASIC_ID register to aid diagnostics during failed fw updates
authorJustin Tee <justin.tee@broadcom.com>
Tue, 31 Mar 2026 20:59:25 +0000 (13:59 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 3 Apr 2026 01:34:02 +0000 (21:34 -0400)
commita1421afa0ddb6e6dfc3639f11f1b8dd83c7f9759
tree4d0644c0b9a8947292b71f7c59f9a15e7185ae68
parentba6dec7e703e84152f049a7a1b4d33f3c1051226
scsi: lpfc: Check ASIC_ID register to aid diagnostics during failed fw updates

When WRITE_OBJECT mailbox command fails during firmware update, the
lpfc_log_write_firmware_error() routine is used to log and parse commonly
found error codes.  Update this routine to also include ASIC_ID register
checks for notifying users of incompatible images.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260331205928.119833-8-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_hw4.h
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli4.h