OSDN Git Service

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)
commit5852ed2a6a39c862c8a3fdf646e1f4e01b91d710
treec83f2e0361c9af86605bd7f371f278ba6100f267
parentc80b27cfd93ba9f5161383f798414609e84729f3
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