aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorVikas Gupta <[email protected]>2024-04-19 18:34:48 +0000
committerDavid S. Miller <[email protected]>2024-04-22 13:13:18 +0000
commita1acdc226baec331512f815d6ac9dd6f8435cc7f (patch)
treead838c489bae898f819d92b00e0d054eb3d247b5 /tools/net/ynl/lib/ynl.py
parentbnxt_en: refactor reset close code (diff)
downloadkernel-a1acdc226baec331512f815d6ac9dd6f8435cc7f.tar.gz
kernel-a1acdc226baec331512f815d6ac9dd6f8435cc7f.zip
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/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions