diff options
author | Ofir Bitton <obitton@habana.ai> | 2023-04-18 14:48:22 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-06-08 12:35:54 +0300 |
commit | d8b9cea584661b30305cf341bf9f675dc0a25471 (patch) | |
tree | 39425aecf5c4735bf8676c0cf564437fbf639fe6 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 3d21ec6424e6d38f284c37d77e7ec524c1a454f2 (diff) |
accel/habanalabs: add pci health check during heartbeat
Currently upon a heartbeat failure, we don't know if the failure
is due to firmware hang or due to a bad PCI link. Hence, we
are reading a PCI config space register with a known value (vendor ID)
so we will know which of the two possibilities caused the heartbeat
failure.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions