diff options
author | James Smart <[email protected]> | 2022-03-16 20:27:36 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-03-29 23:19:38 -0400 |
commit | df0101197c4d9596682901631f3ee193ed354873 (patch) | |
tree | aedd3ae5657a273db54cbb932b188026043e2f7c /lib/mpi/mpiutil.c | |
parent | a4691038b4071ff0d9ae486d8822a2c0d41d5796 (diff) |
scsi: lpfc: Fix queue failures when recovering from PCI parity error
When recovering from a pci-parity error the driver is failing to re-create
queues, causing recovery to fail. Looking deeper, it was found that the
interrupt vector count allocated on the recovery was fewer than the vectors
originally allocated. This disparity resulted in CPU map entries with stale
information. When the driver tries to re-create the queues, it attempts to
use the stale information which indicates an eq/interrupt vector that was
no longer created.
Fix by clearng the cpup map array before enabling and requesting the IRQs
in the lpfc_sli_reset_slot_s4 routine().
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 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions