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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 11 Mar 2016 04:38:40 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Piotr Henryk Dabrowski <ultr@...r.pl>
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	Piotr Henryk Dabrowski <ultr@...r.pl>
Subject: Re: [PATCH] cpu-= command line parmeter, SYS_cpuid sys call,
 kernel-adjusted CPUID

Hi Piotr,

[auto build test ERROR on next-20160310]
[cannot apply to tip/x86/core v4.5-rc7 v4.5-rc6 v4.5-rc5 v4.5-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Piotr-Henryk-Dabrowski/cpu-command-line-parmeter-SYS_cpuid-sys-call-kernel-adjusted-CPUID/20160311-043022
config: i386-tinyconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/cpufeature.h:4:0,
                    from arch/x86/include/asm/thread_info.h:52,
                    from include/linux/thread_info.h:54,
                    from arch/x86/include/asm/preempt.h:6,
                    from include/linux/preempt.h:59,
                    from include/linux/spinlock.h:50,
                    from include/linux/mmzone.h:7,
                    from include/linux/gfp.h:5,
                    from include/linux/slab.h:14,
                    from include/linux/crypto.h:24,
                    from arch/x86/kernel/asm-offsets.c:8:
>> arch/x86/include/asm/processor.h:162:33: error: 'CPUID_LEAFS_COUNT' undeclared here (not in a function)
    extern __u32   *cpuid_overrides[CPUID_LEAFS_COUNT];
                                    ^
   arch/x86/include/asm/processor.h: In function '__kernel_cpuid':
>> arch/x86/include/asm/processor.h:499:26: error: 'CPUID_00000001_0_ECX' undeclared (first use in this function)
      oecx = cpuid_overrides[CPUID_00000001_0_ECX];
                             ^
   arch/x86/include/asm/processor.h:499:26: note: each undeclared identifier is reported only once for each function it appears in
>> arch/x86/include/asm/processor.h:500:26: error: 'CPUID_00000001_0_EDX' undeclared (first use in this function)
      oedx = cpuid_overrides[CPUID_00000001_0_EDX];
                             ^
>> arch/x86/include/asm/processor.h:502:26: error: 'CPUID_00000006_0_EAX' undeclared (first use in this function)
      oeax = cpuid_overrides[CPUID_00000006_0_EAX];
                             ^
>> arch/x86/include/asm/processor.h:504:26: error: 'CPUID_00000007_0_EBX' undeclared (first use in this function)
      oebx = cpuid_overrides[CPUID_00000007_0_EBX];
                             ^
>> arch/x86/include/asm/processor.h:506:26: error: 'CPUID_0000000D_1_EAX' undeclared (first use in this function)
      oeax = cpuid_overrides[CPUID_0000000D_1_EAX];
                             ^
>> arch/x86/include/asm/processor.h:508:26: error: 'CPUID_0000000F_0_EDX' undeclared (first use in this function)
      oedx = cpuid_overrides[CPUID_0000000F_0_EDX];
                             ^
>> arch/x86/include/asm/processor.h:510:26: error: 'CPUID_0000000F_1_EDX' undeclared (first use in this function)
      oedx = cpuid_overrides[CPUID_0000000F_1_EDX];
                             ^
>> arch/x86/include/asm/processor.h:512:26: error: 'CPUID_80000001_0_ECX' undeclared (first use in this function)
      oecx = cpuid_overrides[CPUID_80000001_0_ECX];
                             ^
>> arch/x86/include/asm/processor.h:513:26: error: 'CPUID_80000001_0_EDX' undeclared (first use in this function)
      oedx = cpuid_overrides[CPUID_80000001_0_EDX];
                             ^
>> arch/x86/include/asm/processor.h:515:26: error: 'CPUID_80000008_0_EBX' undeclared (first use in this function)
      oebx = cpuid_overrides[CPUID_80000008_0_EBX];
                             ^
>> arch/x86/include/asm/processor.h:517:26: error: 'CPUID_8000000A_0_EDX' undeclared (first use in this function)
      oedx = cpuid_overrides[CPUID_8000000A_0_EDX];
                             ^
>> arch/x86/include/asm/processor.h:519:26: error: 'CPUID_80860001_0_EDX' undeclared (first use in this function)
      oedx = cpuid_overrides[CPUID_80860001_0_EDX];
                             ^
>> arch/x86/include/asm/processor.h:521:26: error: 'CPUID_C0000001_0_EDX' undeclared (first use in this function)
      oedx = cpuid_overrides[CPUID_C0000001_0_EDX];
                             ^
   make[2]: *** [arch/x86/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +/CPUID_LEAFS_COUNT +162 arch/x86/include/asm/processor.h

   156	extern struct cpuinfo_x86	boot_cpu_data;
   157	extern struct cpuinfo_x86	new_cpu_data;
   158	
   159	extern struct tss_struct	doublefault_tss;
   160	extern __u32			cpu_caps_cleared[NCAPINTS];
   161	extern __u32			cpu_caps_set[NCAPINTS];
 > 162	extern __u32			*cpuid_overrides[CPUID_LEAFS_COUNT];
   163	
   164	#ifdef CONFIG_SMP
   165	DECLARE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (6269 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ