aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorHariharan Mari <[email protected]>2024-07-04 13:14:00 +0200
committerJanosch Frank <[email protected]>2024-08-19 07:51:14 +0000
commit09c38ad044e61f4ef3b321669361b161d5a5242f (patch)
treeb44020fc105f46577c53df7f4a77ab477f44b68b /tools/testing/selftests/bpf/progs/test_autoload.c
parent47ac09b91befbb6a235ab620c32af719f8208399 (diff)
KVM: s390: Fix SORTL and DFLTCC instruction format error in __insn32_query
The __insn32_query() function incorrectly uses the RRF instruction format for both the SORTL (RRE format) and DFLTCC (RRF format) instructions. To fix this issue, add separate query functions for SORTL and DFLTCC that use the appropriate instruction formats. Additionally pass the query operand as a pointer to the entire array of 32 elements to slightly optimize performance and readability. Fixes: d668139718a9 ("KVM: s390: provide query function for instructions returning 32 byte") Suggested-by: Heiko Carstens <[email protected]> Reviewed-by: Juergen Christ <[email protected]> Signed-off-by: Hariharan Mari <[email protected]> Signed-off-by: Janosch Frank <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions