sst-linux/tools/testing/selftests
Saket Kumar Bhaskar 99db751579 selftests/bpf: Select NUMA_NO_NODE to create map
[ Upstream commit 4107a1aeb20ed4cdad6a0d49de92ea0f933c71b7 ]

On powerpc, a CPU does not necessarily originate from NUMA node 0.
This contrasts with architectures like x86, where CPU 0 is not
hot-pluggable, making NUMA node 0 a consistently valid node.
This discrepancy can lead to failures when creating a map on NUMA
node 0, which is initialized by default, if no CPUs are allocated
from NUMA node 0.

This patch fixes the issue by setting NUMA_NO_NODE (-1) for map
creation for this selftest.

Fixes: 96eabe7a40 ("bpf: Allow selecting numa node during map creation")
Signed-off-by: Saket Kumar Bhaskar <skb99@linux.ibm.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/cf1f61468b47425ecf3728689bc9636ddd1d910e.1738302337.git.skb99@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-04-10 14:33:35 +02:00
..
alsa
amd-pstate
arm64 kselftest/arm64: Don't leak pipe fds in pac.exec_sign_all() 2024-12-14 19:54:37 +01:00
bpf selftests/bpf: Select NUMA_NO_NODE to create map 2025-04-10 14:33:35 +02:00
breakpoints selftests: breakpoints: use remaining time to check if suspend succeed 2024-10-17 15:21:49 +02:00
capabilities
cgroup
clone3
core
cpu-hotplug
cpufreq
damon
dma
dmabuf-heaps
drivers net: netdevsim: try to close UDP port harness races 2025-02-21 13:49:22 +01:00
efivarfs
exec
filesystems
firmware
fpu
ftrace
futex
gpio selftests: gpio: gpio-sim: Fix missing chip disablements 2025-02-21 13:50:00 +01:00
ia64
intel_pstate
ipc
ir
kcmp
kexec
kmod
kselftest
kvm
landlock selftests/landlock: Fix error message 2025-02-21 13:49:05 +01:00
lib
livepatch
lkdtm
locking
media_tests
membarrier
memfd
memory-hotplug
mincore
mount
mount_setattr selftests/mount_setattr: Fix failures on 64K PAGE_SIZE kernels 2024-12-14 19:53:48 +01:00
move_mount_set_group
mqueue
nci
net selftests: rtnetlink: update netdevsim ipsec output format 2025-02-21 13:50:11 +01:00
netfilter selftests: netfilter: Fix nft_audit.sh for newer nft binaries 2024-10-17 15:21:31 +02:00
nolibc selftests/nolibc: avoid passing NULL to printf("%s") 2024-10-17 15:21:41 +02:00
nsfs
ntb
openat2
perf_events
pid_namespace
pidfd
powerpc selftests/powerpc: Fix argument order to timer_sub() 2025-02-21 13:48:53 +01:00
prctl
proc
pstore
ptp
ptrace
rcutorture
resctrl selftests/resctrl: Protect against array overrun during iMC config parsing 2024-12-14 19:53:23 +01:00
rlimits
rseq
rtc
safesetid
sched
seccomp
sgx
sigaltstack
size
sparc64
splice
static_keys
sync
syscall_user_dispatch
sysctl
tc-testing selftests: tc-testing: reduce rshift value 2025-01-23 17:17:12 +01:00
timens
timers selftests: timers: clocksource-switch: Adapt progress to kselftest framework 2025-02-21 13:49:04 +01:00
tmpfs
tpm2
uevent
user
user_events
vDSO powerpc/vdso: Flag VDSO64 entry points as functions 2024-12-14 19:53:35 +01:00
vm selftests/mm: fix incorrect buffer->mirror size in hmm2 double_map test 2024-11-08 16:26:39 +01:00
watchdog selftests/watchdog-test: Fix system accidentally reset after watchdog-test 2024-12-14 19:53:08 +01:00
wireguard wireguard: selftests: load nf_conntrack if not present 2024-12-14 19:53:34 +01:00
x86
zram
.gitignore
gen_kselftest_tar.sh
kselftest_deps.sh
kselftest_harness.h selftests: harness: fix printing of mismatch values in __EXPECT() 2025-02-21 13:49:04 +01:00
kselftest_install.sh
kselftest_module.h
kselftest.h
lib.mk
Makefile
run_kselftest.sh