In message: [linux-yocto][linux-yocto v6.1][PATCH 0/1] Fix userspace random crash on qemuriscv64 on 20/11/2023 Xiangyu Chen wrote:
> From: Xiangyu Chen <[email protected]> > > Hi Bruce, > > The userspace applications random crash on qemuriscv64, this is not 100% > reproduce, when it happens, > an application(mostly systemd or systemd-journal) would get a SIGSEGV from > kernel, crash information > as following log. If we increase numbers of CPU in qemu config, this issue > would more easy to reproduce. > > systemd[1]: unhandled signal 11 code 0x1 at 0x0000000000000004 > CPU: 2 PID: 1 Comm: systemd Not tainted 6.1.61-yocto-standard #1 > Hardware name: riscv-virtio,qemu (DT) > epc : 00ffffffb1dd2916 ra : 00ffffffb195e808 sp : 00ffffffc92650a0 > gp : 00aaaaaad7215800 tp : 00ffffffb1393bc0 t0 : 0000000000ddd79e > t1 : 00ffffffb1a6815c t2 : 0000000000000000 s0 : 00ffffffc92650f0 > s1 : 00ffffffb1dd0000 a0 : 0000000000000000 a1 : 00ffffffc9265108 > a2 : 000010c6f7a0b5ed a3 : 0000000000000001 a4 : 0000000000000001 > a5 : 0000000000000000 a6 : 0000000000000006 a7 : 0000000000000018 > s2 : 0000000000000001 s3 : 0000000000000076 s4 : 00aaaaaad72af630 > s5 : 0000000000000000 s6 : fffffffffffffffe s7 : 00ffffffb1df0d60 > s8 : 00ffffffb1dc9d48 s9 : 0000000000000006 s10: 00aaaaaad7228fe0 > s11: 00ffffffc92655b0 t3 : 00ffffffb195e7f6 t4 : 0000000004562c19 > t5 : d82d4e8a9b707fb1 t6 : 00000000000003dd > status: 0000000200004020 badaddr: 0000000000000004 cause: 000000000000000d > > > There is a commit on upstream[1] has fixed this issue, please help to merge > below patch to v6.1/standard/base > v6.1/standard/preempt-rt/base branch, thanks! merged. Bruce > > > Xiangyu Chen (1): > riscv: Fix build with CONFIG_CC_OPTIMIZE_FOR_SIZE=y > > arch/riscv/include/asm/hwcap.h | 3 --- > arch/riscv/include/asm/vdso/processor.h | 25 ++++++++++--------------- > 2 files changed, 10 insertions(+), 18 deletions(-) > > -- > Ref: > [1] > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0b1d60d6dd9e2e867cc6e4277d73ea5a7ff2d4d0 > -- > 2.35.5 >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#13302): https://lists.yoctoproject.org/g/linux-yocto/message/13302 Mute This Topic: https://lists.yoctoproject.org/mt/102702052/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
