[Intel-gfx] [drm-tip:drm-tip 9/9] drivers/acpi/processor_driver.c:69:7: error: 'INTEL_FAM6_ICELAKE_MOBILE' undeclared here (not in a function); did you mean 'CONFIG_PINCTRL_ICELAKE_MODULE'?

kbuild test robot lkp at intel.com
Sat Apr 20 15:58:03 UTC 2019


tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   c5fdcd8bd5c596bfc70b6be93e6f04d910c51308
commit: c5fdcd8bd5c596bfc70b6be93e6f04d910c51308 [9/9] drm-tip: 2019y-04m-19d-20h-56m-16s UTC integration manifest
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout c5fdcd8bd5c596bfc70b6be93e6f04d910c51308
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=ia64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>


All errors (new ones prefixed by >>):

   drivers/acpi/processor_driver.c:67:23: error: 'X86_VENDOR_INTEL' undeclared here (not in a function); did you mean 'X86_VENDOR_ANY'?
    #define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
                          ^~~~~~~~~~~~~~~~
   drivers/acpi/processor_driver.c:69:2: note: in expansion of macro 'ICPU'
     ICPU(INTEL_FAM6_ICELAKE_MOBILE), /* ICL */
     ^~~~
>> drivers/acpi/processor_driver.c:69:7: error: 'INTEL_FAM6_ICELAKE_MOBILE' undeclared here (not in a function); did you mean 'CONFIG_PINCTRL_ICELAKE_MODULE'?
     ICPU(INTEL_FAM6_ICELAKE_MOBILE), /* ICL */
          ^~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/acpi/processor_driver.c:67:44: note: in definition of macro 'ICPU'
    #define ICPU(model) { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
                                               ^~~~~
   drivers/acpi/processor_driver.c: In function '__acpi_processor_start':
   drivers/acpi/processor_driver.c:256:7: error: implicit declaration of function 'x86_match_cpu'; did you mean 'on_each_cpu'? [-Werror=implicit-function-declaration]
     id = x86_match_cpu(intel_cpu_ids);
          ^~~~~~~~~~~~~
          on_each_cpu
   drivers/acpi/processor_driver.c:256:5: warning: assignment to 'const struct x86_cpu_id *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
     id = x86_match_cpu(intel_cpu_ids);
        ^
   cc1: some warnings being treated as errors

vim +69 drivers/acpi/processor_driver.c

1ba90e3a drivers/acpi/processor_core.c   Thomas Renninger 2007-07-23  66  
b573fba5 drivers/acpi/processor_driver.c Anshuman Gupta   2019-04-09 @67  #define ICPU(model)	{ X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
b573fba5 drivers/acpi/processor_driver.c Anshuman Gupta   2019-04-09  68  static const struct x86_cpu_id intel_cpu_ids[] = {
b573fba5 drivers/acpi/processor_driver.c Anshuman Gupta   2019-04-09 @69  	ICPU(INTEL_FAM6_ICELAKE_MOBILE),	/* ICL */
b573fba5 drivers/acpi/processor_driver.c Anshuman Gupta   2019-04-09  70  	{}
b573fba5 drivers/acpi/processor_driver.c Anshuman Gupta   2019-04-09  71  };
b573fba5 drivers/acpi/processor_driver.c Anshuman Gupta   2019-04-09  72  MODULE_DEVICE_TABLE(x86cpu, intel_cpu_ids);
b573fba5 drivers/acpi/processor_driver.c Anshuman Gupta   2019-04-09  73  

:::::: The code at line 69 was first introduced by commit
:::::: b573fba52f339dc4fadef7282af4a9413fd6173d ICL HACK: Disable ACPI idle driver

:::::: TO: Anshuman Gupta <anshuman.gupta at intel.com>
:::::: CC: Chris Wilson <chris at chris-wilson.co.uk>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 52279 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20190420/6daa993f/attachment-0001.gz>


More information about the Intel-gfx mailing list