diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-09-14 15:32:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-09-18 09:28:22 +0100 |
commit | 1e18ec3e9d46e4ad2b6507c3bfc7f59e2ab449a2 (patch) | |
tree | 7b8f0a72119ee669ada639b2c39853099e1f09ac /tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c | |
parent | ffa55858330f267beec995fc4f68098c91311c64 (diff) |
pds_core: add attempts to fix broken PCI
If we see a 0xff value from a PCI register read, we know that
the PCI connection is broken, possibly by a low level reset that
didn't go through the nice pci_error_handlers path.
Make use of the PCI cleanup code that we already have from the
reset handlers and add some detection and attempted recovery
from a broken PCI connection.
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/skb_load_bytes.c')
0 files changed, 0 insertions, 0 deletions