summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorKashyap Desai <kashyap.desai@broadcom.com>2025-04-29 01:58:59 +0300
committerDavid S. Miller <davem@davemloft.net>2025-04-30 15:03:21 +0300
commit1ae04e489dd757e1e61999362f33e7c554c3b9e3 (patch)
treeaecc5eb39900e3bd8657f59312c6b514a23d5482 /lib/mpi/mpi-cmp.c
parenta63db07e4ecd45b027718168faf7d798bb47bf58 (diff)
downloadlinux-1ae04e489dd757e1e61999362f33e7c554c3b9e3.tar.xz
bnxt_en: call pci_alloc_irq_vectors() after bnxt_reserve_rings()
On some architectures (e.g. ARM), calling pci_alloc_irq_vectors() will immediately cause the MSIX table to be written. This will not work if we haven't called bnxt_reserve_rings() to properly map the MSIX table to the MSIX vectors reserved by FW. Fix the FW error recovery path to delay the bnxt_init_int_mode() -> pci_alloc_irq_vectors() call by removing it from bnxt_hwrm_if_change(). bnxt_request_irq() later in the code path will call it and by then the MSIX table is properly mapped. Fixes: 4343838ca5eb ("bnxt_en: Replace deprecated PCI MSIX APIs") Suggested-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions