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: vmlinux.o: warning: objtool: __sev_get_ghcb()+0x6b: call to memcpy() leaves .noinstr.text section
Date: Fri, 3 Dec 2021 05:27:43 +0800	[thread overview]
Message-ID: <202112030508.pWtpHhpm-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   58e1100fdc5990b0cc0d4beaf2562a92e621ac7d
commit: d187f217335dba2b49fc9002aab2004e04acddee x86/sev: Make sure IRQs are disabled while GHCB is active
date:   5 months ago
config: x86_64-buildonly-randconfig-r001-20211202 (https://download.01.org/0day-ci/archive/20211203/202112030508.pWtpHhpm-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b553297ef3ee4dc2119d5429adf3072e90fac38)
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: do_syscall_64()+0x91: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_int80_syscall_32()+0x9f: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __do_fast_syscall_32()+0xfc: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: sync_regs()+0x1f: call to memcpy() leaves .noinstr.text section
   vmlinux.o: warning: objtool: vc_switch_off_ist()+0x2d: call to ip_within_syscall_gap() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret()+0x1e: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi()+0x14: call to __kasan_check_read() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_setup()+0x95: call to cpuid_eax() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check()+0xde: call to mce_gather_info() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x33: call to __memset() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: __sev_get_ghcb()+0x6b: call to memcpy() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __sev_put_ghcb()+0x64: call to __memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: safe_stack_exc_vmm_communication()+0x29: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: match_held_lock()+0xcd: call to rcu_read_lock_any_held() leaves .noinstr.text section
   vmlinux.o: warning: objtool: debug_locks_off()+0x15: call to __kasan_check_write() leaves .noinstr.text section
   kallsyms failure: relative symbol value 0xffffffff0626b000 out of range in relative mode

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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: vmlinux.o: warning: objtool: __sev_get_ghcb()+0x6b: call to memcpy() leaves .noinstr.text section
Date: Fri, 03 Dec 2021 05:27:43 +0800	[thread overview]
Message-ID: <202112030508.pWtpHhpm-lkp@intel.com> (raw)

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

CC: linux-kernel(a)vger.kernel.org
TO: Joerg Roedel <jroedel@suse.de>
CC: Borislav Petkov <bp@suse.de>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   58e1100fdc5990b0cc0d4beaf2562a92e621ac7d
commit: d187f217335dba2b49fc9002aab2004e04acddee x86/sev: Make sure IRQs are disabled while GHCB is active
date:   5 months ago
config: x86_64-buildonly-randconfig-r001-20211202 (https://download.01.org/0day-ci/archive/20211203/202112030508.pWtpHhpm-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b553297ef3ee4dc2119d5429adf3072e90fac38)
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: do_syscall_64()+0x91: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_int80_syscall_32()+0x9f: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __do_fast_syscall_32()+0xfc: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: sync_regs()+0x1f: call to memcpy() leaves .noinstr.text section
   vmlinux.o: warning: objtool: vc_switch_off_ist()+0x2d: call to ip_within_syscall_gap() leaves .noinstr.text section
   vmlinux.o: warning: objtool: fixup_bad_iret()+0x1e: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: exc_nmi()+0x14: call to __kasan_check_read() leaves .noinstr.text section
   vmlinux.o: warning: objtool: mce_setup()+0x95: call to cpuid_eax() leaves .noinstr.text section
   vmlinux.o: warning: objtool: do_machine_check()+0xde: call to mce_gather_info() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x33: call to __memset() leaves .noinstr.text section
>> vmlinux.o: warning: objtool: __sev_get_ghcb()+0x6b: call to memcpy() leaves .noinstr.text section
   vmlinux.o: warning: objtool: __sev_put_ghcb()+0x64: call to __memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: safe_stack_exc_vmm_communication()+0x29: call to memset() leaves .noinstr.text section
   vmlinux.o: warning: objtool: match_held_lock()+0xcd: call to rcu_read_lock_any_held() leaves .noinstr.text section
   vmlinux.o: warning: objtool: debug_locks_off()+0x15: call to __kasan_check_write() leaves .noinstr.text section
   kallsyms failure: relative symbol value 0xffffffff0626b000 out of range in relative mode

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

             reply	other threads:[~2021-12-02 21:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-02 21:27 kernel test robot [this message]
2021-12-02 21:27 ` vmlinux.o: warning: objtool: __sev_get_ghcb()+0x6b: call to memcpy() 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=202112030508.pWtpHhpm-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.