linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Piotr Henryk Dabrowski <ultr@ultr.pl>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
	Piotr Henryk Dabrowski <ultr@ultr.pl>
Subject: Re: [PATCH] cpu-= command line parmeter, SYS_cpuid sys call, kernel-adjusted CPUID
Date: Fri, 11 Mar 2016 04:38:40 +0800	[thread overview]
Message-ID: <201603110453.mo4tdNG4%fengguang.wu@intel.com> (raw)
In-Reply-To: <20160310212716.3711abfc@ultra.tux-net>

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 6269 bytes --]

  reply	other threads:[~2016-03-10 20:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 20:27 [PATCH] cpu-= command line parmeter, SYS_cpuid sys call, kernel-adjusted CPUID Piotr Henryk Dabrowski
2016-03-10 20:38 ` kbuild test robot [this message]
2016-03-10 21:08 ` kbuild test robot
2016-03-10 22:27 ` kbuild test robot
2016-03-11  0:13 ` [PATCH v2] " Piotr Henryk Dabrowski
2016-03-11  0:25   ` kbuild test robot
2016-03-11  0:52   ` kbuild test robot
2016-03-12  1:12 ` [PATCH v3] " Piotr Henryk Dabrowski
2016-03-12 19:31   ` Henrique de Moraes Holschuh
2016-03-14 16:06     ` Piotr Henryk Dabrowski

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=201603110453.mo4tdNG4%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ultr@ultr.pl \
    /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;
as well as URLs for NNTP newsgroup(s).