[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109300301.YkiLs3my-lkp@intel.com>
Date: Thu, 30 Sep 2021 03:47:08 +0800
From: kernel test robot <lkp@...el.com>
To: Andy Lutomirski <luto@...nel.org>
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
linux-kernel@...r.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'
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@...el.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
Download attachment ".config.gz" of type "application/gzip" (32360 bytes)
Powered by blists - more mailing lists