mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Andy Lutomirski <luto@kernel.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org
Subject: [luto:x86/no_sce 1/2] arch/x86/kernel/cpu/common.c:1753:35: error: use of undeclared identifier 'entry_SYSCALL_compat'
Date: Thu, 30 Sep 2021 03:47:08 +0800	[thread overview]
Message-ID: <202109300301.YkiLs3my-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/no_sce
head:   bfaecaf0dad8f61e80285125f4895c9737e3d6d8
commit: bf85057ed696c8996a5f5b924a3fd58698450511 [1/2] x86/syscall: Remove the IA32_EMULATION=n compat syscall code
config: x86_64-randconfig-a011-20210929 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project dc6e8dfdfe7efecfda318d43a06fae18b40eb498)
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/luto/linux.git/commit/?id=bf85057ed696c8996a5f5b924a3fd58698450511
        git remote add luto https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git
        git fetch --no-tags luto x86/no_sce
        git checkout bf85057ed696c8996a5f5b924a3fd58698450511
        # 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 arch/x86/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> arch/x86/kernel/cpu/common.c:1753:35: error: use of undeclared identifier 'entry_SYSCALL_compat'
           wrmsrl(MSR_CSTAR, (unsigned long)entry_SYSCALL_compat);
                                            ^
   1 error generated.


vim +/entry_SYSCALL_compat +1753 arch/x86/kernel/cpu/common.c

  1747	
  1748	/* May not be marked __init: used by software suspend */
  1749	void syscall_init(void)
  1750	{
  1751		wrmsr(MSR_STAR, 0, (__USER32_CS << 16) | __KERNEL_CS);
  1752		wrmsrl(MSR_LSTAR, (unsigned long)entry_SYSCALL_64);
> 1753		wrmsrl(MSR_CSTAR, (unsigned long)entry_SYSCALL_compat);
  1754	

---
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: 32360 bytes --]

                 reply	other threads:[~2021-09-29 19:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202109300301.YkiLs3my-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=luto@kernel.org \
    /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

all inboxes | Powered by JetHome®