Re: [linux-next:master] [perf tools] 74e2dbe7be: RIP:cpuidle_enter_state

Qinxin Xia <[email protected]> Fri, 17 Apr 2026 14:17:49 +0800
Newsgroups dev.linux.lists.oe-lkp,org.kernel.vger.linux-kernel,org.kernel.vger.linux-perf-users
Message-ID <[email protected]>

On 2026/4/16 16:24:37, kernel test robot <[email protected]> wrote:
> 
> 
> Hello,
> 
> kernel test robot noticed "RIP:cpuidle_enter_state" on:
> 
> commit: 74e2dbe7be5037a5e5eed6bc1ad562747ac88566 ("perf tools: Add --pmu-filter option for filtering PMUs")
> https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master
> 
> [test failed on linux-next/master 2febe6e6ee6e34c7754eff3c4d81aa7b0dcb7979]
> 
> in testcase: perf-sanity-tests
> version:
> with following parameters:
> 
> 	perf_compiler: clang
> 	group: group-00
> 
> 
> 
> config: x86_64-rhel-9.4-bpf
> compiler: gcc-14
> test machine: 20 threads 1 sockets (Commet Lake) with 16G memory
> 
> (please refer to attached dmesg/kmsg for entire log/backtrace)
> 
> 
> 
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <[email protected]>
> | Closes: https://lore.kernel.org/oe-lkp/[email protected]
> 
> 
> 
> kern  :warn  : [  447.822940] [     C15]  common_interrupt (kbuild/src/consumer/arch/x86/kernel/irq.c:326 (discriminator 35))
> kern  :warn  : [  447.822946] [     C15]  </IRQ>
> kern  :warn  : [  447.822947] [     C15]  <TASK>
> kern  :warn  : [  447.822949] [     C15]  asm_common_interrupt (kbuild/src/consumer/arch/x86/include/asm/idtentry.h:569)
> kern  :warn  : [  447.822953] [     C15] RIP: 0010:cpuidle_enter_state (kbuild/src/consumer/drivers/cpuidle/cpuidle.c:294)
> kern  :warn  : [  447.822957] [     C15] Code: ff 8b 73 04 bf ff ff ff ff 49 89 c6 e8 de 28 94 ff 31 ff e8 17 25 67 fe 45 84 ff 0f 85 34 01 00 00 e8 49 c0 86 fe fb 45 85 e4 <0f> 88 0e 01 00 00 4d 63 fc 4c 89 f7 4b 8d 04 7f 49 8d 04 87 4c 8d
> All code
> ========
>     0:	ff 8b 73 04 bf ff    	decl   -0x40fb8d(%rbx)
>     6:	ff                   	(bad)
>     7:	ff                   	(bad)
>     8:	ff 49 89             	decl   -0x77(%rcx)
>     b:	c6                   	(bad)
>     c:	e8 de 28 94 ff       	call   0xffffffffff9428ef
>    11:	31 ff                	xor    %edi,%edi
>    13:	e8 17 25 67 fe       	call   0xfffffffffe67252f
>    18:	45 84 ff             	test   %r15b,%r15b
>    1b:	0f 85 34 01 00 00    	jne    0x155
>    21:	e8 49 c0 86 fe       	call   0xfffffffffe86c06f
>    26:	fb                   	sti
>    27:	45 85 e4             	test   %r12d,%r12d
>    2a:*	0f 88 0e 01 00 00    	js     0x13e		<-- trapping instruction
>    30:	4d 63 fc             	movslq %r12d,%r15
>    33:	4c 89 f7             	mov    %r14,%rdi
>    36:	4b 8d 04 7f          	lea    (%r15,%r15,2),%rax
>    3a:	49 8d 04 87          	lea    (%r15,%rax,4),%rax
>    3e:	4c                   	rex.WR
>    3f:	8d                   	.byte 0x8d
> 
> Code starting with the faulting instruction
> ===========================================
>     0:	0f 88 0e 01 00 00    	js     0x114
>     6:	4d 63 fc             	movslq %r12d,%r15
>     9:	4c 89 f7             	mov    %r14,%rdi
>     c:	4b 8d 04 7f          	lea    (%r15,%r15,2),%rax
>    10:	49 8d 04 87          	lea    (%r15,%rax,4),%rax
>    14:	4c                   	rex.WR
>    15:	8d                   	.byte 0x8d
> kern  :warn  : [  447.822960] [     C15] RSP: 0018:ffff8881014e7d90 EFLAGS: 00000206
> kern  :warn  : [  447.822964] [     C15] RAX: 000000000068479b RBX: ffffe8ffffb81580 RCX: 0000000000000000
> kern  :warn  : [  447.822966] [     C15] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff82e3d547
> kern  :warn  : [  447.822968] [     C15] RBP: ffffffff85570820 R08: 0000000000000001 R09: 0000000000000000
> kern  :warn  : [  447.822970] [     C15] R10: ffffffff85a9b6a7 R11: 0000000000000000 R12: 0000000000000003
> kern  :warn  : [  447.822972] [     C15] R13: 0000000000000003 R14: 0000006843e122ac R15: 0000000000000000
> kern  :warn  : [  447.822980] [     C15]  ? cpuidle_enter_state (kbuild/src/consumer/arch/x86/include/asm/irqflags.h:42 kbuild/src/consumer/arch/x86/include/asm/irqflags.h:119 kbuild/src/consumer/drivers/cpuidle/cpuidle.c:292)
> kern  :warn  : [  447.822989] [     C15]  cpuidle_enter (kbuild/src/consumer/drivers/cpuidle/cpuidle.c:393 (discriminator 2))
> kern  :warn  : [  447.822995] [     C15]  cpuidle_idle_call (kbuild/src/consumer/kernel/sched/idle.c:161 kbuild/src/consumer/kernel/sched/idle.c:237)
> 
> The kernel config and materials to reproduce are available at:
> https://download.01.org/0day-ci/archive/20260416/[email protected]
> 
> 
> 
Hello,
This kernel warning (irq 26 nobody cared) appears to be unrelated to my
perf userspace patch. It comes from the tps6598x Type-C controller
driver, which is likely a hardware or driver issue on the test machine.
All perf test cases passed successfully.
Please consider this as pre-existing test environment noise.

-- 
Thanks,
Qinxin