llvm.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* vmlinux.o: warning: objtool: __sev_get_ghcb()+0x59: call to memcpy() leaves .noinstr.text section
@ 2022-04-10 22:22 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-10 22:22 UTC (permalink / raw)
  Cc: kbuild-all, llvm

BCC: lkp@intel.com
CC: linux-kernel@vger.kernel.org
TO: Joerg Roedel <jroedel@suse.de>
CC: Borislav Petkov <bp@suse.de>

Hi Joerg,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   4ea3c6425269d33da53c79d539ce9554117cf4d4
commit: d187f217335dba2b49fc9002aab2004e04acddee x86/sev: Make sure IRQs are disabled while GHCB is active
date:   10 months ago
config: x86_64-buildonly-randconfig-r001-20220411 (https://download.01.org/0day-ci/archive/20220411/202204110615.0XEmIj1z-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 256c6b0ba14e8a7ab6373b61b7193ea8c0a3651c)
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=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 config file 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: sync_regs()+0x23: call to memcpy() leaves .noinstr.text section
   vmlinux.o: warning: objtool: vc_switch_off_ist()+0xe: call to ip_within_syscall_gap() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi()+0x18: call to __kasan_check_read() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x30: call to __memset() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: __sev_get_ghcb()+0x59: call to memcpy() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __sev_put_ghcb()+0x57: call to __memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: debug_locks_off()+0x30: call to __kasan_check_write() leaves .noinstr.text section

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-04-10 22:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-10 22:22 vmlinux.o: warning: objtool: __sev_get_ghcb()+0x59: call to memcpy() leaves .noinstr.text section kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).