linux_dsm_epyc7002/tools/testing/selftests
Ilya Leoshkevich bda2e0a03c selftests/bpf: Fix test_core_autosize on big-endian machines
[ Upstream commit d164dd9a5c08c16a883b3de97d13948c7be7fa4d ]

The "probed" part of test_core_autosize copies an integer using
bpf_core_read() into an integer of a potentially different size.
On big-endian machines a destination offset is required for this to
produce a sensible result.

Fixes: 888d83b961 ("selftests/bpf: Validate libbpf's auto-sizing of LD/ST/STX instructions")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210812224814.187460-1-iii@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-05 19:11:56 +02:00
..
android
arm64 kselftest/arm64: mte: Fix MTE feature detection 2021-05-11 14:47:18 +02:00
bpf selftests/bpf: Fix test_core_autosize on big-endian machines 2024-07-05 19:11:56 +02:00
breakpoints
capabilities
cgroup kselftests: cgroup: add perpcu memory accounting test 2020-08-12 10:57:55 -07:00
clone3 selftests: clone3: use SKIP instead of XFAIL 2020-11-05 10:08:15 -07:00
core selftests: core: use SKIP instead of XFAIL in close_range_test.c 2020-11-05 10:08:15 -07:00
cpu-hotplug
cpufreq
dmabuf-heaps kselftests: dmabuf-heaps: Fix Makefile's inclusion of the kernel's usr/include dir 2021-03-04 11:38:05 +01:00
drivers selftests: Clean forgotten resources as part of cleanup() 2021-07-19 09:44:49 +02:00
efivarfs
exec tools/testing/selftests/exec: fix link error 2021-05-26 12:06:49 +02:00
filesystems linux-kselftest-fixes-5.10-rc3 2020-11-06 15:42:42 -08:00
firmware linux-kselftest-next-5.10-rc1 2020-10-15 15:14:32 -07:00
fpu
ftrace selftests/ftrace: fix event-no-pid on 1-core machine 2021-07-14 16:56:49 +02:00
futex
gpio selftests/gpio: Fix build when source tree is read only 2021-06-03 09:00:31 +02:00
ia64
intel_pstate
ipc
ir
kcmp
kexec
kmod selftests: kmod: use variable NAME in kmod_test_0001() 2020-08-12 10:58:01 -07:00
kselftest tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
kvm KVM: selftests: Fix kvm_check_cap() assertion 2021-06-30 08:47:22 -04:00
lib
livepatch selftests/livepatch: Do not check order when using "comm" for dmesg checking 2020-08-27 15:27:24 +02:00
lkdtm selftests/lkdtm: Fix expected text for CR4 pinning 2021-07-19 09:45:00 +02:00
locking
media_tests
membarrier
memfd
memory-hotplug
mincore selftests: add mincore() tests 2020-08-07 11:33:27 -07:00
mount selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
mqueue
net selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect 2021-07-28 14:35:34 +02:00
netfilter selftests: netfilter: fix current year 2021-02-17 11:02:25 +01:00
nsfs
ntb
openat2
pid_namespace
pidfd selftests: pidfd: drop needless linux/kcmp.h inclusion in pidfd_setns_test.c 2020-10-27 17:04:01 -06:00
powerpc selftests/powerpc: Fix "no_handler" EBB selftest 2021-07-20 16:05:43 +02:00
prctl
proc selftests: proc: fix warning: _GNU_SOURCE redefined 2020-11-05 10:08:14 -07:00
pstore
ptp testptp: add new options for perout phase and pulse width 2020-07-20 18:04:59 -07:00
ptrace selftests: Add missing gitignore entries 2020-09-23 10:19:25 -06:00
rcutorture Merge branch 'scftorture.2020.08.24a' into HEAD 2020-09-03 09:47:01 -07:00
resctrl Revert "selftests/resctrl: Use resctrl/info for feature detection" 2024-07-05 18:53:10 +02:00
rseq rseq/selftests: Test MEMBARRIER_CMD_PRIVATE_EXPEDITED_RSEQ 2020-09-25 14:23:27 +02:00
rtc
safesetid
seccomp powerpc/64s/syscall: Use pt_regs.trap to distinguish syscall ABI difference between sc and scv syscalls 2021-05-26 12:06:53 +02:00
sigaltstack
size
sparc64
splice selftests: splice: Adjust for handler fallback removal 2021-07-14 16:56:42 +02:00
static_keys
sync
sysctl
tc-testing tc-testing: fix list handling 2021-07-14 16:56:26 +02:00
timens selftests/timens: Add a test for futex() 2020-10-20 17:02:57 +02:00
timers selftests: timers: rtcpie: skip test if default RTC device does not exist 2021-07-20 16:05:42 +02:00
tmpfs
tpm2
uevent
user
vDSO
vm init: add dsm gpl source 2024-07-05 18:00:04 +02:00
watchdog
wireguard wireguard: selftests: make sure rp_filter is disabled on vethc 2021-06-10 13:39:24 +02:00
x86 * Misc minor cleanups and corrections to the fsgsbase code and 2020-10-12 10:44:24 -07:00
zram
.gitignore
gen_kselftest_tar.sh
kselftest_deps.sh
kselftest_harness.h linux-kselftest-fixes-5.10-rc3 2020-11-06 15:42:42 -08:00
kselftest_install.sh
kselftest_module.h
kselftest.h linux-kselftest-5.9-rc1 2020-08-05 10:28:25 -07:00
lib.mk selftests: Set CC to clang in lib.mk if LLVM is set 2021-05-19 10:12:56 +02:00
Makefile selftests: Extract run_kselftest.sh and generate stand-alone test list 2020-10-07 07:58:54 -06:00
run_kselftest.sh selftests/run_kselftest.sh: fix dry-run typo 2020-12-30 11:53:07 +01:00