aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2023-04-18 14:48:22 +0300
committerOded Gabbay <ogabbay@kernel.org>2023-06-08 12:35:54 +0300
commitd8b9cea584661b30305cf341bf9f675dc0a25471 (patch)
tree39425aecf5c4735bf8676c0cf564437fbf639fe6 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent3d21ec6424e6d38f284c37d77e7ec524c1a454f2 (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