diff options
| author | James Smart <[email protected]> | 2022-04-12 15:19:45 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-04-18 22:48:44 -0400 |
| commit | a6de9a2fa0d67ac33ce398333e7398ae24c7af2a (patch) | |
| tree | 3f55ccc59db72fc415b84d7adedc1aecbadb9833 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | e294647b1aed4247fe52851f3a3b2b19ae906228 (diff) | |
scsi: lpfc: Fix diagnostic fw logging after a function reset
The lpfc_sli4_ras_setup() routine is only called from the
lpfc_pci_probe_one_s4() routine, which means diagnostic fw logging
initialization only occurs during probing.
Thus, any path involving a reset of the HBA that restarts the state of the
SLI port does not reinitialize diagnostic fw logging.
Move lpfc_sli4_ras_setup() into lpfc_sli4_hba_setup() so that the
LOWLEVEL_SET_DIAG_LOG_OPTIONS mailbox command can be sent after a function
reset.
Link: https://lore.kernel.org/r/[email protected]
Co-developed-by: Justin Tee <[email protected]>
Signed-off-by: Justin Tee <[email protected]>
Signed-off-by: James Smart <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions