bpf loongarch64: XDP program cause loongson 3A6000 mini PC CPU stall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tiezhu

After running the xdp-loader load XDP program on a loongson 3A6000
mini PC running an open source firewall LoonFire - port of IPFire on
Loongson CPU,  the mini PC is auto rebooted, and hard lockup when
trying Fedora loongarch OS release, I have to press the power button
to reboot the PC.

here is part of the kernel message from IPFire:

Jan  2 11:13:19 loongfire kernel: [ 6668.795062] rcu: INFO:
rcu_preempt self-detected stall on CPU
Jan  2 11:13:19 loongfire kernel: [ 6668.795067] rcu: ^I0-....: (1 GPs
behind) idle=220c/0/0x3 softirq=22456/22459 fqs=2376
Jan  2 11:13:19 loongfire kernel: [ 6668.795072] rcu: ^I(t=5250
jiffies g=67605 q=771 ncpus=8)
Jan  2 11:13:19 loongfire kernel: [ 6668.795077] CPU: 0 UID: 0 PID: 0
Comm: swapper/0 Tainted: G           O       6.12.5-ipfire #1
Jan  2 11:13:19 loongfire kernel: [ 6668.795080] Tainted: [O]=OOT_MODULE
Jan  2 11:13:19 loongfire kernel: [ 6668.795081] Hardware name:
Loongson Loongson-3A6000-7A2000-NUC/Loongson-3A6000-7A2000-NUC, BIOS
Loongson-UDK2018-V4.0.05759-stable202405 07/12/24 15:49:14

Huacai suggested disabling jit and disable jit worked around the
issue. I tried kernel 6.12 and the most recent upstream kernel, same
issue. it should be reproducible on Fedora loongarch release by
running xdp-loader load the XDP program. [0]  has the kernel config
and XDP program link.

[0]: https://github.com/vincentmli/BPFire/issues/70

Thanks!

Vincent




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux