[merge] WARN arch/powerpc/kernel/irq_64.c:278

Sachin Sant sachinp at linux.ibm.com
Fri Feb 3 17:26:55 AEDT 2023


I am observing an intermittent crash while running powerpc/security
selftests on a Power10 LPAR booted with powerpc/merge branch code.

------------[ cut here ]------------
WARNING: CPU: 1 PID: 5644 at arch/powerpc/kernel/irq_64.c:278 arch_local_irq_restore+0x254/0x260
Modules linked in: dm_mod nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bonding rfkill tls ip_set nf_tables libcrc32c nfnetlink sunrpc pseries_rng vmx_crypto ext4 mbcache jbd2 sd_mod t10_pi crc64_rocksoft crc64 sg ibmvscsi ibmveth scsi_transport_srp fuse
CPU: 1 PID: 5644 Comm: bash Not tainted 6.2.0-rc6-gca272751ba18 #1
Hardware name: IBM,9080-HEX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1030.00 (NH1030_026) hv:phyp pSeries
NIP:  c00000000003fb74 LR: c000000000035300 CTR: 0000000000000000
REGS: c000000009543af0 TRAP: 0700   Not tainted  (6.2.0-rc6-gca272751ba18)
MSR:  8000000000021031 <SF,ME,IR,DR,LE>  CR: 28244204  XER: 00000000
CFAR: c00000000003fa84 IRQMASK: 1  GPR00: c000000000035230 c000000009543d90 c0000000013b0000 0000000000000000  GPR04: c000000009543e80 0000000000000000 0000000000000000 0000000000040080  GPR08: 0000000000000002 0000000000000000 c00000003002e380 0000000000000000  GPR12: c000000000174da0 c000000efffff300 0000000000000000 0000000000000000  GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000  GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000  GPR24: 0000000000000000 0000000000000001 0000000002002000 0000000002802000  GPR28: 0000000000000000 0000000000000800 c000000009543e80 0000000000040080  NIP [c00000000003fb74] arch_local_irq_restore+0x254/0x260
LR [c000000000035300] interrupt_exit_user_prepare_main+0x160/0x270
Call Trace:
[c000000009543dc0] [c000000000174e68] sys_rt_sigprocmask+0xc8/0x140
[c000000009543e20] [c000000000035484] syscall_exit_prepare+0x74/0x160
[c000000009543e50] [c00000000000d6ac] system_call_common+0x16c/0x2e4
--- interrupt: c00 at 0x7fff95c49a18
NIP:  00007fff95c49a18 LR: 000000010594de88 CTR: 0000000000000000
REGS: c000000009543e80 TRAP: 0c00   Not tainted  (6.2.0-rc6-gca272751ba18)
MSR:  800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE>  CR: 24244204  XER: 00000000
IRQMASK: 0  GPR00: 00000000000000ae 00007fffdb57ee00 00007fff95e07300 0000000000000000  GPR04: 00007fffdb57ef38 00007fffdb57efb8 0000000000000008 00007fffdb57ef38  GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000  GPR12: 0000000000000000 00007fff9613af60 0000000105a1a2b0 000000000000000b  GPR16: 0000000000000001 0000000130d32b90 0000000130d32830 0000000000000024  GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000  GPR24: 0000000000000001 00007fffdb57efb8 00007fffdb57ef38 0000000000000e48  GPR28: 0000000000000000 0000000000000000 00007fffdb57efb8 0000000105a69b5c  NIP [00007fff95c49a18] 0x7fff95c49a18
LR [000000010594de88] 0x10594de88
--- interrupt: c00
Code: 4bffffd0 60000000 60000000 0fe00000 4bffffc0 60000000 60000000 7c0802a6 39200002 f8010040 7d210164 4bfffe40 <0fe00000> 4bffff9c 60000000 7c0802a6  ---[ end trace 0000000000000000 ]---
Unrecoverable exception 700 at c00000000003fa88 (msr=8000000000021031)
Oops: Unrecoverable exception, sig: 6 [#1]
LE PAGE_SIZE=64K MMU=Radix SMP NR_CPUS=2048 NUMA pSeries
Modules linked in: dm_mod nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bonding rfkill tls ip_set nf_tables libcrc32c nfnetlink sunrpc pseries_rng vmx_crypto ext4 mbcache jbd2 sd_mod t10_pi crc64_rocksoft crc64 sg ibmvscsi ibmveth scsi_transport_srp fuse
CPU: 1 PID: 5644 Comm: bash Tainted: G        W          6.2.0-rc6-gca272751ba18 #1
Hardware name: IBM,9080-HEX POWER10 (raw) 0x800200 0xf000006 of:IBM,FW1030.00 (NH1030_026) hv:phyp pSeries
NIP:  c00000000003fa88 LR: c000000000035300 CTR: 0000000000000000
REGS: c000000009543af0 TRAP: 0700   Tainted: G        W           (6.2.0-rc6-gca272751ba18)
MSR:  8000000000021031 <SF,ME,IR,DR,LE>  CR: 28244204  XER: 00000000
CFAR: c00000000003fa84 IRQMASK: 1  GPR00: c000000000035230 c000000009543d90 c0000000013b0000 0000000000000000  GPR04: c000000009543e80 0000000000000000 0000000000000000 0000000000040080  GPR08: 0000000000000002 0000000000000000 c00000003002e380 0000000000000000  GPR12: c000000000174da0 c000000efffff300 0000000000000000 0000000000000000  GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000  GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000  GPR24: 0000000000000000 0000000000000001 0000000002002000 0000000002802000  GPR28: 0000000000000000 0000000000000800 c000000009543e80 0000000000040080  NIP [c00000000003fa88] arch_local_irq_restore+0x168/0x260
LR [c000000000035300] interrupt_exit_user_prepare_main+0x160/0x270
Call Trace:
[c000000009543dc0] [c000000000174e68] sys_rt_sigprocmask+0xc8/0x140
[c000000009543e20] [c000000000035484] syscall_exit_prepare+0x74/0x160
[c000000009543e50] [c00000000000d6ac] system_call_common+0x16c/0x2e4
--- interrupt: c00 at 0x7fff95c49a18
NIP:  00007fff95c49a18 LR: 000000010594de88 CTR: 0000000000000000
REGS: c000000009543e80 TRAP: 0c00   Tainted: G        W           (6.2.0-rc6-gca272751ba18)
MSR:  800000000280f033 <SF,VEC,VSX,EE,PR,FP,ME,IR,DR,RI,LE>  CR: 24244204  XER: 00000000
IRQMASK: 0  GPR00: 00000000000000ae 00007fffdb57ee00 00007fff95e07300 0000000000000000  GPR04: 00007fffdb57ef38 00007fffdb57efb8 0000000000000008 00007fffdb57ef38  GPR08: 0000000000000000 0000000000000000 0000000000000000 0000000000000000  GPR12: 0000000000000000 00007fff9613af60 0000000105a1a2b0 000000000000000b  GPR16: 0000000000000001 0000000130d32b90 0000000130d32830 0000000000000024  GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000  GPR24: 0000000000000001 00007fffdb57efb8 00007fffdb57ef38 0000000000000e48  GPR28: 0000000000000000 0000000000000000 00007fffdb57efb8 0000000105a69b5c  NIP [00007fff95c49a18] 0x7fff95c49a18
LR [000000010594de88] 0x10594de88
--- interrupt: c00
Code: 0b090000 986d0932 38210030 4e800020 60000000 60000000 7d2000a6 71298000 40820010 892d0933 71290001 418200f0 <7c0802a6> 39200002 f8010040 7d210164  ---[ end trace 0000000000000000 ]---
pstore: backend (nvram) writing error (-1)

Kernel panic - not syncing: Fatal exception

Sometimes the problem occurs with first attempt while at times it takes several
Iterations of running the selftests. mitigation-patching sub-test exposes this issue.

I have attached .config used.

- Sachin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_rc6
Type: application/octet-stream
Size: 171846 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20230203/221c6d74/attachment-0003.obj>


More information about the Linuxppc-dev mailing list