public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: vmlinux.o: warning: objtool: irqentry_nmi_exit+0x30: call to ct_nmi_exit() leaves .noinstr.text section
Date: Mon, 29 Aug 2022 18:18:16 +0800	[thread overview]
Message-ID: <202208291810.i2RQogz0-lkp@intel.com> (raw)

CC: linux-kernel@vger.kernel.org
TO: Frederic Weisbecker <frederic@kernel.org>
CC: "Paul E. McKenney" <paulmck@kernel.org>
CC: Nicolas Saenz Julienne <nsaenzju@redhat.com>

Hi Frederic,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   b90cb1053190353cc30f0fef0ef1f378ccc063c5
commit: 493c1822825f00025d6754ec0632990a27edc6f8 context_tracking: Take NMI eqs entrypoints over RCU
date:   8 weeks ago
config: x86_64-randconfig-r024-20220829 (https://download.01.org/0day-ci/archive/20220829/202208291810.i2RQogz0-lkp@intel.com/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=493c1822825f00025d6754ec0632990a27edc6f8
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 493c1822825f00025d6754ec0632990a27edc6f8
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   vmlinux.o: warning: objtool: sync_regs+0x23: call to memcpy() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x15: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0xa: call to sev_es_nmi_complete() leaves .noinstr.text section
   vmlinux.o: warning: objtool: default_do_nmi+0x17: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_rdmsrl+0x7: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_wrmsrl+0xc: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x744: call to pentium_machine_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: kvm_read_and_reset_apf_flags+0x5: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: lockdep_hardirqs_on+0x97: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: lockdep_hardirqs_off+0x99: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit+0x72: call to ct_irq_exit() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter+0x6a: call to __this_cpu_preempt_check() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: irqentry_nmi_exit+0x30: call to ct_nmi_exit() leaves .noinstr.text section


objdump-func vmlinux.o irqentry_nmi_exit:
0000 0000000000007140 <irqentry_nmi_exit>:
0000     7140:	55                   	push   %rbp
0001     7141:	48 89 e5             	mov    %rsp,%rbp
0004     7144:	53                   	push   %rbx
0005     7145:	89 f3                	mov    %esi,%ebx
0007     7147:	90                   	nop
0008     7148:	e8 00 00 00 00       	call   714d <irqentry_nmi_exit+0xd>	7149: R_X86_64_PLT32	.text+0x3e1afc
000d     714d:	f6 c3 01             	test   $0x1,%bl
0010     7150:	75 13                	jne    7165 <irqentry_nmi_exit+0x25>
0012     7152:	90                   	nop
0013     7153:	e8 00 00 00 00       	call   7158 <irqentry_nmi_exit+0x18>	7154: R_X86_64_PLT32	.text+0x3e1b3c
0018     7158:	e8 00 00 00 00       	call   715d <irqentry_nmi_exit+0x1d>	7159: R_X86_64_PLT32	.text+0x3e1a3c
001d     715d:	ff 0d 00 00 00 00    	decl   0x0(%rip)        # 7163 <irqentry_nmi_exit+0x23>	715f: R_X86_64_PC32	hardirq_context-0x4
0023     7163:	eb 24                	jmp    7189 <irqentry_nmi_exit+0x49>
0025     7165:	e8 00 00 00 00       	call   716a <irqentry_nmi_exit+0x2a>	7166: R_X86_64_PLT32	trace_hardirqs_on_prepare-0x4
002a     716a:	e8 00 00 00 00       	call   716f <irqentry_nmi_exit+0x2f>	716b: R_X86_64_PLT32	lockdep_hardirqs_on_prepare-0x4
002f     716f:	90                   	nop
0030     7170:	e8 00 00 00 00       	call   7175 <irqentry_nmi_exit+0x35>	7171: R_X86_64_PLT32	.text+0x3e1b3c
0035     7175:	e8 00 00 00 00       	call   717a <irqentry_nmi_exit+0x3a>	7176: R_X86_64_PLT32	.text+0x3e1a3c
003a     717a:	ff 0d 00 00 00 00    	decl   0x0(%rip)        # 7180 <irqentry_nmi_exit+0x40>	717c: R_X86_64_PC32	hardirq_context-0x4
0040     7180:	48 8b 7d 08          	mov    0x8(%rbp),%rdi
0044     7184:	e8 00 00 00 00       	call   7189 <irqentry_nmi_exit+0x49>	7185: R_X86_64_PLT32	lockdep_hardirqs_on-0x4
0049     7189:	48 83 05 00 00 00 00 01 	addq   $0x1,0x0(%rip)        # 7191 <irqentry_nmi_exit+0x51>	718c: R_X86_64_PC32	.bss+0xd5b0eb
0051     7191:	8b 05 00 00 00 00    	mov    0x0(%rip),%eax        # 7197 <irqentry_nmi_exit+0x57>	7193: R_X86_64_PC32	__preempt_count-0x4
0057     7197:	a9 00 00 f0 00       	test   $0xf00000,%eax
005c     719c:	74 3f                	je     71dd <irqentry_nmi_exit+0x9d>
005e     719e:	48 83 05 00 00 00 00 01 	addq   $0x1,0x0(%rip)        # 71a6 <irqentry_nmi_exit+0x66>	71a1: R_X86_64_PC32	.bss+0xd5b18b
0066     71a6:	48 83 05 00 00 00 00 01 	addq   $0x1,0x0(%rip)        # 71ae <irqentry_nmi_exit+0x6e>	71a9: R_X86_64_PC32	.bss+0xd5b193
006e     71ae:	81 05 00 00 00 00 00 00 ef ff 	addl   $0xffef0000,0x0(%rip)        # 71b8 <irqentry_nmi_exit+0x78>	71b0: R_X86_64_PC32	__preempt_count-0x8
0078     71b8:	48 83 05 00 00 00 00 01 	addq   $0x1,0x0(%rip)        # 71c0 <irqentry_nmi_exit+0x80>	71bb: R_X86_64_PC32	.bss+0xd5b1b3
0080     71c0:	48 83 05 00 00 00 00 01 	addq   $0x1,0x0(%rip)        # 71c8 <irqentry_nmi_exit+0x88>	71c3: R_X86_64_PC32	.bss+0xd5b11b
0088     71c8:	48 8b 04 25 00 00 00 00 	mov    0x0,%rax	71cc: R_X86_64_32S	current_task
0090     71d0:	81 80 5c 08 00 00 00 00 ff ff 	addl   $0xffff0000,0x85c(%rax)
009a     71da:	5b                   	pop    %rbx
009b     71db:	5d                   	pop    %rbp
009c     71dc:	c3                   	ret
009d     71dd:	90                   	nop
009e     71de:	0f 0b                	ud2
00a0     71e0:	cc                   	int3
00a1     71e1:	cc                   	int3
00a2     71e2:	cc                   	int3
00a3     71e3:	cc                   	int3
00a4     71e4:	cc                   	int3
00a5     71e5:	cc                   	int3
00a6     71e6:	cc                   	int3
00a7     71e7:	cc                   	int3
00a8     71e8:	cc                   	int3
00a9     71e9:	cc                   	int3
00aa     71ea:	cc                   	int3
00ab     71eb:	cc                   	int3
00ac     71ec:	cc                   	int3
00ad     71ed:	cc                   	int3
00ae     71ee:	cc                   	int3
00af     71ef:	cc                   	int3
00b0     71f0:	cc                   	int3
00b1     71f1:	cc                   	int3
00b2     71f2:	cc                   	int3
00b3     71f3:	cc                   	int3
00b4     71f4:	cc                   	int3
00b5     71f5:	cc                   	int3
00b6     71f6:	cc                   	int3
00b7     71f7:	cc                   	int3
00b8     71f8:	cc                   	int3
00b9     71f9:	cc                   	int3
00ba     71fa:	cc                   	int3
00bb     71fb:	cc                   	int3
00bc     71fc:	cc                   	int3
00bd     71fd:	cc                   	int3
00be     71fe:	cc                   	int3
00bf     71ff:	cc                   	int3

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

             reply	other threads:[~2022-08-29 10:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-29 10:18 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-10-04  2:10 vmlinux.o: warning: objtool: irqentry_nmi_exit+0x30: call to ct_nmi_exit() leaves .noinstr.text section kernel test robot
2022-08-17  0:10 kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202208291810.i2RQogz0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox