All of lore.kernel.org
 help / color / mirror / Atom feed
* [luto:x86/no_sce 1/2] arch/x86/kernel/cpu/common.c:1753:35: error: use of undeclared identifier 'entry_SYSCALL_compat'
@ 2021-09-29 19:47 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-29 19:47 UTC (permalink / raw)
  To: Andy Lutomirski; +Cc: llvm, kbuild-all, linux-kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [luto:x86/no_sce 1/2] arch/x86/kernel/cpu/common.c:1753:35: error: use of undeclared identifier 'entry_SYSCALL_compat'
@ 2021-09-29 19:47 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-09-29 19:47 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2030 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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32360 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-29 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 19:47 [luto:x86/no_sce 1/2] arch/x86/kernel/cpu/common.c:1753:35: error: use of undeclared identifier 'entry_SYSCALL_compat' kernel test robot
2021-09-29 19:47 ` kernel test robot

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.