diff options
author | Vikas Gupta <[email protected]> | 2024-04-19 11:34:48 -0700 |
---|---|---|
committer | David S. Miller <[email protected]> | 2024-04-22 14:13:18 +0100 |
commit | a1acdc226baec331512f815d6ac9dd6f8435cc7f (patch) | |
tree | ad838c489bae898f819d92b00e0d054eb3d247b5 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 7474b1c82be3780692d537d331f9aa7fc1e5a368 (diff) |
bnxt_en: Fix the PCI-AER routines
We do not support two simultaneous recoveries so check for reset
flag, BNXT_STATE_IN_FW_RESET, and do not proceed with AER further.
When the pci channel state is pci_channel_io_frozen, the PCIe link
can not be trusted so we disable the traffic immediately and stop
BAR access by calling bnxt_fw_fatal_close(). BAR access after
AER fatal error can cause an NMI.
Fixes: f75d9a0aa967 ("bnxt_en: Re-write PCI BARs after PCI fatal error.")
Signed-off-by: Vikas Gupta <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions