[mainline] selftests/bpf: struct_ops_assoc test hangs indefinitely on PowerPC
From: Venkat Rao Bagalkote
Date: Fri May 29 2026 - 09:56:34 EST
Greetings!!!
The struct_ops_assoc/st_ops_assoc_in_timer selftest hangs indefinitely on
PowerPC, spinning in sched_yield() until watchdog timeout.
**Test Failure:**
./test_progs -t struct_ops_assoc
WATCHDOG: test case struct_ops_assoc/st_ops_assoc_in_timer executes for 10 seconds...
WATCHDOG: test case struct_ops_assoc/st_ops_assoc_in_timer executes for 120 seconds, terminating with SIGSEGV
#445 struct_ops_assoc:FAIL
**Architecture:** PowerPC 64-bit (ppc64le)
**Kernel:** 7.1.0-rc5-00149-g8fde5d1d47f6
**Symptoms:**
Test hangs indefinitely in infinite loop, repeatedly calling sched_yield():
Stack trace:
./test_progs(crash_handler+0x34)
linux-vdso64.so.1(__kernel_sigtramp_rt64+0x0)
/lib64/libc.so.6(__sched_yield+0x2c) ← stuck here
./test_progs() [0x105ae220]
./test_progs(test_struct_ops_assoc+0x88)
./test_progs(main+0x7ac)
If you happen to fix this, please add below tag.
Reported-by: Venkat Rao Bagalkote <venkat88@xxxxxxxxxxxxx>
Regards,
Venkat.