lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204071610.T6fPhCnP-lkp@intel.com>
Date:   Thu, 7 Apr 2022 16:54:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [kas:lam 10/10] arch/x86/kernel/proc.c:35:24: error:
 'X86_THREAD_LAM_U48' undeclared; did you mean 'X86_CR3_LAM_U48'?

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git lam
head:   73447e771c55e18598a6fbf6adee1002aee18ea0
commit: 73447e771c55e18598a6fbf6adee1002aee18ea0 [10/10] x86: Expose thread features status in /proc/$PID/arch_status
config: i386-randconfig-a001 (https://download.01.org/0day-ci/archive/20220407/202204071610.T6fPhCnP-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-19) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git/commit/?id=73447e771c55e18598a6fbf6adee1002aee18ea0
        git remote add kas https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git
        git fetch --no-tags kas lam
        git checkout 73447e771c55e18598a6fbf6adee1002aee18ea0
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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/proc.c: In function 'dump_features':
>> arch/x86/kernel/proc.c:35:24: error: 'X86_THREAD_LAM_U48' undeclared (first use in this function); did you mean 'X86_CR3_LAM_U48'?
      35 |         if (features & X86_THREAD_LAM_U48)
         |                        ^~~~~~~~~~~~~~~~~~
         |                        X86_CR3_LAM_U48
   arch/x86/kernel/proc.c:35:24: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/kernel/proc.c:37:24: error: 'X86_THREAD_LAM_U57' undeclared (first use in this function); did you mean 'X86_CR3_LAM_U57'?
      37 |         if (features & X86_THREAD_LAM_U57)
         |                        ^~~~~~~~~~~~~~~~~~
         |                        X86_CR3_LAM_U57


vim +35 arch/x86/kernel/proc.c

    32	
    33	static void dump_features(struct seq_file *m, unsigned long features)
    34	{
  > 35		if (features & X86_THREAD_LAM_U48)
    36			seq_puts(m, "lam_u48 ");
  > 37		if (features & X86_THREAD_LAM_U57)
    38			seq_puts(m, "lam_u57 ");
    39	}
    40	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ