[powerpc/perf] WARN_ONCE arch/powerpc/include/asm/interrupt.h:365 with perf tests

Sachin Sant sachinp at linux.ibm.com
Thu Mar 24 17:20:40 AEDT 2022


> On 04-Feb-2022, at 12:33 PM, Sachin Sant <sachinp at linux.ibm.com> wrote:
> 
> While running perftool [1] test against 5.17-rc2 booted on Power 9 LPAR
> following warning is seen:
> 
> [  442.002150] ------------[ cut here ]------------
> [  442.002164] WARNING: CPU: 7 PID: 76 at arch/powerpc/include/asm/interrupt.h:365 interrupt_nmi_exit_prepare+0x150/0x160

I continue to see this warning. 

[ 2989.536335] ------------[ cut here ]------------
[ 2989.536346] WARNING: CPU: 15 PID: 1153191 at arch/powerpc/include/asm/interrupt.h:362 performance_monitor_exception_nmi+0x2a0/0x2b0
[ 2989.536356] Modules linked in: dm_mod ip_set bonding rfkill nf_tables libcrc32c nfnetlink sunrpc pseries_rng xts uio_pdrv_genirq vmx_crypto uio sch_fq_codel ext4 mbcache jbd2 sd_mod t10_pi crc64_rocksoft crc64 sg ibmvscsi ibmveth scsi_transport_srp ipmi_devintf ipmi_msghandler fuse
[ 2989.536387] CPU: 15 PID: 1153191 Comm: kworker/15:3 Not tainted 5.17.0-next-20220323 #1
[ 2989.536393] Workqueue: events perf_sched_delayed
[ 2989.536398] NIP:  c00000000002b870 LR: c00000000002b838 CTR: c0000000003342f0
[ 2989.536402] REGS: c00000001339f490 TRAP: 0700   Not tainted  (5.17.0-next-20220323)
[ 2989.536406] MSR:  8000000000021033 <SF,ME,IR,DR,RI,LE>  CR: 28002828  XER: 00000000
[ 2989.536416] CFAR: c00000000002b794 IRQMASK: 3 
[ 2989.536416] GPR00: c00000000002b838 c00000001339f730 c000000002a03700 0000000000000000 
[ 2989.536416] GPR04: 0000000006008010 c000000002a43524 c000000001150140 c0000000000b2f30 
[ 2989.536416] GPR08: c000000000016cec 0000000000000001 c00000001ec3a280 7265677368657265 
[ 2989.536416] GPR12: 0000000000002000 c00000001ec3a280 c00000000018f058 c00000000963a340 
[ 2989.536416] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[ 2989.536416] GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[ 2989.536416] GPR24: fffffffffffffef7 0000000000000001 c000000002a3dfd8 0000000000000001 
[ 2989.536416] GPR28: 0000000000002001 0000000000000000 0000000000000021 c00000001339f810 
[ 2989.536468] NIP [c00000000002b870] performance_monitor_exception_nmi+0x2a0/0x2b0
[ 2989.536474] LR [c00000000002b838] performance_monitor_exception_nmi+0x268/0x2b0
[ 2989.536480] Call Trace:
[ 2989.536482] [c00000001339f730] [c00000000002b70c] performance_monitor_exception_nmi+0x13c/0x2b0 (unreliable)
[ 2989.536490] [c00000001339f780] [c00000000002c624] performance_monitor_exception+0x44/0x50
[ 2989.536496] [c00000001339f7a0] [c00000000000af28] performance_monitor_common_virt+0x208/0x210
[ 2989.536503] --- interrupt: f00 at __patch_instruction+0x10/0x60
[ 2989.536509] NIP:  c0000000000b2f30 LR: c0000000000b3604 CTR: c000000000335020
[ 2989.536513] REGS: c00000001339f810 TRAP: 0f00   Not tainted  (5.17.0-next-20220323)
[ 2989.536516] MSR:  800000000280b033 <SF,VEC,VSX,EE,FP,ME,IR,DR,RI,LE>  CR: 24002224  XER: 00000000
[ 2989.536529] CFAR: 0000000000000000 IRQMASK: 1 
[ 2989.536529] GPR00: c0000000000b3578 c00000001339fab0 c000000002a03700 c0000000001a1068 
[ 2989.536529] GPR04: 0000000060000000 c008000000201068 8e011a00000000c0 0000000000103907 
[ 2989.536529] GPR08: ffffffffffffffff 0000000000000018 0000000060000000 0000000000000006 
[ 2989.536529] GPR12: 0000000000002000 c00000001ec3a280 c00000000018f058 c00000000963a340 
[ 2989.536529] GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[ 2989.536529] GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 
[ 2989.536529] GPR24: fffffffffffffef7 0000000000000001 c000000001000918 0000000000000000 
[ 2989.536529] GPR28: c008000000200000 0000000000000000 0000000060000000 c0000000001a1068 
[ 2989.536577] NIP [c0000000000b2f30] __patch_instruction+0x10/0x60
[ 2989.536583] LR [c0000000000b3604] patch_instruction+0x124/0x160
[ 2989.536588] --- interrupt: f00
[ 2989.536590] [c00000001339fab0] [c0000000000b3578] patch_instruction+0x98/0x160 (unreliable)
[ 2989.536597] [c00000001339fb00] [c00000000005fa28] arch_jump_label_transform+0x38/0x78
[ 2989.536603] [c00000001339fb20] [c000000000359854] __jump_label_update+0x144/0x180
[ 2989.536609] [c00000001339fbc0] [c000000000359e38] static_key_disable_cpuslocked+0xe8/0x130
[ 2989.536615] [c00000001339fc30] [c000000000359eb0] static_key_disable+0x30/0x50
[ 2989.536620] [c00000001339fc60] [c0000000003350b8] perf_sched_delayed+0x98/0xc0
[ 2989.536626] [c00000001339fc90] [c000000000182738] process_one_work+0x288/0x560
[ 2989.536632] [c00000001339fd30] [c000000000182a88] worker_thread+0x78/0x620
[ 2989.536637] [c00000001339fdc0] [c00000000018f174] kthread+0x124/0x130
[ 2989.536642] [c00000001339fe10] [c00000000000ce64] ret_from_kernel_thread+0x5c/0x64
[ 2989.536647] Instruction dump:
[ 2989.536650] 4182ff2c 39400000 f87f0100 b14d0930 4bffff1c 60000000 60000000 60000000 
[ 2989.536659] 38600001 482cf905 60000000 4bfffe6c <0fe00000> 60000000 60000000 60000000 
[ 2989.536668] ---[ end trace 0000000000000000 ]—

- Sachin


More information about the Linuxppc-dev mailing list