vmlinux.o: warning: objtool: __sev_put_ghcb.isra.0()+0x56: call to __memset() leaves .noinstr.text section

From: kernel test robot
Date: Sat Jul 10 2021 - 12:48:57 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 50be9417e23af5a8ac860d998e1e3f06b8fd79d7
commit: d187f217335dba2b49fc9002aab2004e04acddee x86/sev: Make sure IRQs are disabled while GHCB is active
date: 3 weeks ago
config: x86_64-buildonly-randconfig-r006-20210710 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d187f217335dba2b49fc9002aab2004e04acddee
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d187f217335dba2b49fc9002aab2004e04acddee
# save the attached .config to linux build tree
mkdir build_dir
make 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@xxxxxxxxx>

All warnings (new ones prefixed by >>):

vmlinux.o: warning: objtool: vc_switch_off_ist()+0x15: call to ip_within_syscall_gap.isra.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: exc_nmi()+0x13: call to static_key_count() leaves .noinstr.text section
vmlinux.o: warning: objtool: mce_setup()+0xf: call to memset() leaves .noinstr.text section
vmlinux.o: warning: objtool: do_machine_check()+0x49: call to mce_gather_info() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: __sev_put_ghcb.isra.0()+0x56: call to __memset() leaves .noinstr.text section
vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x2c: call to __memset() leaves .noinstr.text section
vmlinux.o: warning: objtool: enter_from_user_mode()+0x3b: call to on_thread_stack() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x46: call to on_thread_stack() leaves .noinstr.text section
vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x3b: call to on_thread_stack() leaves .noinstr.text section
vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x3b: call to on_thread_stack() leaves .noinstr.text section
vmlinux.o: warning: objtool: debug_locks_off()+0x19: call to __kasan_check_write() leaves .noinstr.text section

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

Attachment: .config.gz
Description: application/gzip