]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: lpfc: Reduce log messages seen after firmware download
authorJames Smart <jsmart2021@gmail.com>
Mon, 7 Feb 2022 18:04:42 +0000 (10:04 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Feb 2022 04:45:02 +0000 (23:45 -0500)
commit0e7a916be2c29f20ab1c54fade9b790bd6e79f61
treec83f2e0361c9af86605bd7f371f278ba6100f267
parentcafc546ea4d3a9ad5095974d862e17041c9bcd68
scsi: lpfc: Reduce log messages seen after firmware download

Messages around firmware download were incorrectly tagged as being related
to discovery trace events. Thus, firmware download status ended up dumping
the trace log as well as the firmware update message. As there were a
couple of log messages in this state, the trace log was dumped multiple
times.

Resolve this by converting from trace events to SLI events.

Link: https://lore.kernel.org/r/20220207180442.72836-1-jsmart2021@gmail.com
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_sli.c