public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: oe-kbuild-all@lists.linux.dev, llvm@lists.linux.dev
Subject: vmlinux.o: warning: objtool: ct_irq_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
Date: Tue, 14 Mar 2023 04:53:30 +0800	[thread overview]
Message-ID: <202303140438.RQu7HYOs-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:   fc89d7fb499b0162e081f434d45e8d1b47e82ece
commit: 3864caafe7c66f01b188ffccb6a4215f3bf56292 rcu/context-tracking: Remove rcu_irq_enter/exit()
date:   8 months ago
config: x86_64-randconfig-k001-20230313 (https://download.01.org/0day-ci/archive/20230314/202303140438.RQu7HYOs-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=3864caafe7c66f01b188ffccb6a4215f3bf56292
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 3864caafe7c66f01b188ffccb6a4215f3bf56292
        # 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 olddefconfig
        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>
| Link: https://lore.kernel.org/oe-kbuild-all/202303140438.RQu7HYOs-lkp@intel.com/

All warnings (new ones prefixed by >>):

   vmlinux.o: warning: objtool: __rdgsbase_inactive+0x35: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __wrgsbase_inactive+0x39: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret+0x87: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: noist_exc_debug+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi+0x2f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: poke_int3_handler+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check+0x56: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_start+0x6b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_machine_check+0x4e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_check_crashing_cpu+0x28: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_enter+0x38: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_enter+0x3d: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter+0x1e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_idle_exit+0x43: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_eqs_exit+0x3b: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_enter+0x2f: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit+0x25: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode+0x4a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode+0x55: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare+0x4a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode+0x4a: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit+0x3e: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter+0x43: call to ftrace_likely_update() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_exit+0x5c: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: ct_irq_exit+0x35: call to ftrace_likely_update() leaves .noinstr.text section


objdump-func vmlinux.o ct_irq_enter:
0000 0000000000004993 <ct_irq_enter>:
0000     4993:	53                   	push   %rbx
0001     4994:	83 3d 00 00 00 00 00 	cmpl   $0x0,0x0(%rip)        # 499b <ct_irq_enter+0x8>	4996: R_X86_64_PC32	debug_locks-0x5
0008     499b:	74 0b                	je     49a8 <ct_irq_enter+0x15>
000a     499d:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 49a4 <ct_irq_enter+0x11>	49a0: R_X86_64_PC32	lockdep_recursion-0x4
0011     49a4:	85 c0                	test   %eax,%eax
0013     49a6:	74 04                	je     49ac <ct_irq_enter+0x19>
0015     49a8:	31 c0                	xor    %eax,%eax
0017     49aa:	eb 0c                	jmp    49b8 <ct_irq_enter+0x25>
0019     49ac:	65 8b 05 00 00 00 00 	mov    %gs:0x0(%rip),%eax        # 49b3 <ct_irq_enter+0x20>	49af: R_X86_64_PC32	hardirqs_enabled-0x4
0020     49b3:	85 c0                	test   %eax,%eax
0022     49b5:	0f 95 c0             	setne  %al
0025     49b8:	0f b6 d8             	movzbl %al,%ebx
0028     49bb:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	49be: R_X86_64_32S	_ftrace_annotated_branch+0x47b20
002f     49c2:	89 de                	mov    %ebx,%esi
0031     49c4:	31 d2                	xor    %edx,%edx
0033     49c6:	31 c9                	xor    %ecx,%ecx
0035     49c8:	e8 00 00 00 00       	call   49cd <ct_irq_enter+0x3a>	49c9: R_X86_64_PLT32	ftrace_likely_update-0x4
003a     49cd:	84 db                	test   %bl,%bl
003c     49cf:	74 04                	je     49d5 <ct_irq_enter+0x42>
003e     49d1:	90                   	nop
003f     49d2:	0f 0b                	ud2
0041     49d4:	90                   	nop
0042     49d5:	48 c7 c7 00 00 00 00 	mov    $0x0,%rdi	49d8: R_X86_64_32S	_ftrace_annotated_branch+0x47b50
0049     49dc:	89 de                	mov    %ebx,%esi
004b     49de:	31 d2                	xor    %edx,%edx
004d     49e0:	31 c9                	xor    %ecx,%ecx
004f     49e2:	e8 00 00 00 00       	call   49e7 <ct_irq_enter+0x54>	49e3: R_X86_64_PLT32	ftrace_likely_update-0x4
0054     49e7:	5b                   	pop    %rbx
0055     49e8:	e9 00 00 00 00       	jmp    49ed <ct_nmi_enter>	49e9: R_X86_64_PLT32	ct_nmi_enter-0x4

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

             reply	other threads:[~2023-03-13 20:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-13 20:53 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-24  4:19 vmlinux.o: warning: objtool: ct_irq_enter+0x35: call to ftrace_likely_update() leaves .noinstr.text section 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=202303140438.RQu7HYOs-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@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