diff options
author | Shannon Nelson <[email protected]> | 2023-08-24 09:17:54 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-08-25 19:05:58 -0700 |
commit | 0ea064e74bc8f915aba3f2d0fb3418247a09b73d (patch) | |
tree | 3f29b8b9d9a8eddfb396981443ae4298534b284f /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 969cfd4c8ca50c32901342cdd3d677c3ffe61371 (diff) |
pds_core: pass opcode to devcmd_wait
Don't rely on the PCI memory for the devcmd opcode because we
read a 0xff value if the PCI bus is broken, which can cause us
to report a bogus dev_cmd opcode later.
Fixes: 523847df1b37 ("pds_core: add devcmd device interfaces")
Signed-off-by: Shannon Nelson <[email protected]>
Reviewed-by: Brett Creeley <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions