diff options
| author | Andrii Nakryiko <[email protected]> | 2024-09-05 00:03:52 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2024-09-05 00:07:21 +0000 |
| commit | aa01d13eecc9fd236f06e3971ef919d3561d2506 (patch) | |
| tree | 13dbe6c0a09c0a72703e1ca820e0c2bce3b62130 /tools/testing/selftests/bpf/prog_tests/user_ringbuf.c | |
| parent | selftests/bpf: Add a selftest for x86 jit convergence issues (diff) | |
| parent | libbpf: Fix accessing first syscall argument on RV64 (diff) | |
| download | kernel-aa01d13eecc9fd236f06e3971ef919d3561d2506.tar.gz kernel-aa01d13eecc9fd236f06e3971ef919d3561d2506.zip | |
Merge branch 'fix-accessing-first-syscall-argument-on-rv64'
Pu Lehui says:
====================
Fix accessing first syscall argument on RV64
On RV64, as Ilya mentioned before [0], the first syscall parameter should be
accessed through orig_a0 (see arch/riscv64/include/asm/syscall.h),
otherwise it will cause selftests like bpf_syscall_macro, vmlinux,
test_lsm, etc. to fail on RV64.
Link: https://lore.kernel.org/bpf/[email protected] [0]
v3:
- Fix test case error.
v2: https://lore.kernel.org/all/[email protected]/
- Access first syscall argument with CO-RE direct read. (Andrii)
v1: https://lore.kernel.org/all/[email protected]/
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andrii Nakryiko <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/user_ringbuf.c')
0 files changed, 0 insertions, 0 deletions
