All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, llvm@lists.linux.dev
Subject: [tip:objtool/core 25/26] vmlinux.o: warning: objtool: fixup_bad_iret()+0x22: call to __this_cpu_preempt_check() leaves .noinstr.text section
Date: Thu, 14 Oct 2021 11:13:05 +0800	[thread overview]
Message-ID: <202110141100.FaebWe3T-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5049 bytes --]

CC: linux-kernel@vger.kernel.org
CC: x86@kernel.org
TO: Peter Zijlstra <peterz@infradead.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool/core
head:   b08cadbd3b8721db738d9a00ef3ce3ed667e6d9c
commit: db2b0c5d7b6f19b3c2cab08c531b65342eb5252b [25/26] objtool: Support pv_opsindirect calls for noinstr
config: x86_64-randconfig-r004-20211013 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a8c695542b2987eb9a203d5663a0740cb4725f)
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/tip/tip.git/commit/?id=db2b0c5d7b6f19b3c2cab08c531b65342eb5252b
        git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
        git fetch --no-tags tip objtool/core
        git checkout db2b0c5d7b6f19b3c2cab08c531b65342eb5252b
        # save the attached .config to linux build tree
        mkdir build_dir
        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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   vmlinux.o: warning: objtool: do_syscall_64()+0x18: call to static_key_count() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_int80_syscall_32()+0x23: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_fast_syscall_32()+0x1d: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __do_fast_syscall_32()+0x29: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: fixup_bad_iret()+0x22: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: in_task_stack()+0x17: call to task_stack_page() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: in_entry_stack()+0xd: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi()+0xc: 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: kvm_read_and_reset_apf_flags()+0x5: call to __this_cpu_preempt_check() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: lockdep_hardirqs_on()+0xb8: call to __this_cpu_preempt_check() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: lockdep_hardirqs_off()+0xb6: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: debug_lockdep_rcu_enabled()+0x26: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_inc()+0x27: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_exit()+0x16f: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter()+0x4: call to rcu_dynticks_task_trace_enter() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_enter()+0x34: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit()+0x12: call to rcu_dynticks_task_trace_exit() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode()+0x19: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x22: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x19: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exit_to_user_mode()+0x13: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_exit_to_user_mode()+0x1c6: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x19: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit_to_user_mode()+0x1a: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter()+0x16: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit()+0x3e: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter()+0x1d: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: irqentry_nmi_exit()+0x3d: call to __this_cpu_preempt_check() leaves .noinstr.text section

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30440 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [tip:objtool/core 25/26] vmlinux.o: warning: objtool: fixup_bad_iret()+0x22: call to __this_cpu_preempt_check() leaves .noinstr.text section
Date: Thu, 14 Oct 2021 11:13:05 +0800	[thread overview]
Message-ID: <202110141100.FaebWe3T-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 5113 bytes --]

CC: linux-kernel(a)vger.kernel.org
CC: x86(a)kernel.org
TO: Peter Zijlstra <peterz@infradead.org>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool/core
head:   b08cadbd3b8721db738d9a00ef3ce3ed667e6d9c
commit: db2b0c5d7b6f19b3c2cab08c531b65342eb5252b [25/26] objtool: Support pv_opsindirect calls for noinstr
config: x86_64-randconfig-r004-20211013 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a8c695542b2987eb9a203d5663a0740cb4725f)
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/tip/tip.git/commit/?id=db2b0c5d7b6f19b3c2cab08c531b65342eb5252b
        git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
        git fetch --no-tags tip objtool/core
        git checkout db2b0c5d7b6f19b3c2cab08c531b65342eb5252b
        # save the attached .config to linux build tree
        mkdir build_dir
        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 as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   vmlinux.o: warning: objtool: do_syscall_64()+0x18: call to static_key_count() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_int80_syscall_32()+0x23: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_fast_syscall_32()+0x1d: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __do_fast_syscall_32()+0x29: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: fixup_bad_iret()+0x22: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: in_task_stack()+0x17: call to task_stack_page() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: in_entry_stack()+0xd: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi()+0xc: 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: kvm_read_and_reset_apf_flags()+0x5: call to __this_cpu_preempt_check() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: lockdep_hardirqs_on()+0xb8: call to __this_cpu_preempt_check() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: lockdep_hardirqs_off()+0xb6: call to __this_cpu_preempt_check() leaves .noinstr.text section
   vmlinux.o: warning: objtool: debug_lockdep_rcu_enabled()+0x26: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_inc()+0x27: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_exit()+0x16f: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_enter()+0x4: call to rcu_dynticks_task_trace_enter() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_nmi_enter()+0x34: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: rcu_dynticks_eqs_exit()+0x12: call to rcu_dynticks_task_trace_exit() leaves .noinstr.text section
   vmlinux.o: warning: objtool: enter_from_user_mode()+0x19: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x22: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x19: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exit_to_user_mode()+0x13: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: syscall_exit_to_user_mode()+0x1c6: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x19: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit_to_user_mode()+0x1a: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_enter()+0x16: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_exit()+0x3e: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
   vmlinux.o: warning: objtool: irqentry_nmi_enter()+0x1d: call to __tsan_atomic64_fetch_add() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: irqentry_nmi_exit()+0x3d: call to __this_cpu_preempt_check() leaves .noinstr.text section

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 30440 bytes --]

             reply	other threads:[~2021-10-14  3:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14  3:13 kernel test robot [this message]
2021-10-14  3:13 ` [tip:objtool/core 25/26] vmlinux.o: warning: objtool: fixup_bad_iret()+0x22: call to __this_cpu_preempt_check() 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=202110141100.FaebWe3T-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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.