Re: [PATCH] Core-for-CI:ICL_only Disable ACPI idle driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Anshuman,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v5.1-rc4 next-20190408]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Anshuman-Gupta/Core-for-CI-ICL_only-Disable-ACPI-idle-driver/20190409-081735
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: x86_64-randconfig-x006-201914 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from drivers//acpi/processor_driver.c:28:0:
>> drivers//acpi/processor_driver.c:69:29: error: 'intel_pmc_core_ids' undeclared here (not in a function); did you mean 'intel_cpu_ids'?
    MODULE_DEVICE_TABLE(x86cpu, intel_pmc_core_ids);
                                ^
   include/linux/module.h:229:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                  ^~~~
>> include/linux/module.h:229:21: error: '__mod_x86cpu__intel_pmc_core_ids_device_table' aliased to undefined symbol 'intel_pmc_core_ids'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                        ^
>> drivers//acpi/processor_driver.c:69:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(x86cpu, intel_pmc_core_ids);
    ^~~~~~~~~~~~~~~~~~~
--
   In file included from drivers/acpi/processor_driver.c:28:0:
   drivers/acpi/processor_driver.c:69:29: error: 'intel_pmc_core_ids' undeclared here (not in a function); did you mean 'intel_cpu_ids'?
    MODULE_DEVICE_TABLE(x86cpu, intel_pmc_core_ids);
                                ^
   include/linux/module.h:229:15: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                  ^~~~
>> include/linux/module.h:229:21: error: '__mod_x86cpu__intel_pmc_core_ids_device_table' aliased to undefined symbol 'intel_pmc_core_ids'
    extern typeof(name) __mod_##type##__##name##_device_table  \
                        ^
   drivers/acpi/processor_driver.c:69:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(x86cpu, intel_pmc_core_ids);
    ^~~~~~~~~~~~~~~~~~~

vim +69 drivers//acpi/processor_driver.c

  > 28	#include <linux/module.h>
    29	#include <linux/init.h>
    30	#include <linux/cpufreq.h>
    31	#include <linux/cpu.h>
    32	#include <linux/cpuidle.h>
    33	#include <linux/slab.h>
    34	#include <linux/acpi.h>
    35	
    36	#include <acpi/processor.h>
    37	
    38	#include <asm/cpu_device_id.h>
    39	#include <asm/intel-family.h>
    40	
    41	#include "internal.h"
    42	
    43	#define ACPI_PROCESSOR_NOTIFY_PERFORMANCE 0x80
    44	#define ACPI_PROCESSOR_NOTIFY_POWER	0x81
    45	#define ACPI_PROCESSOR_NOTIFY_THROTTLING	0x82
    46	
    47	#define _COMPONENT		ACPI_PROCESSOR_COMPONENT
    48	ACPI_MODULE_NAME("processor_driver");
    49	
    50	MODULE_AUTHOR("Paul Diefenbaugh");
    51	MODULE_DESCRIPTION("ACPI Processor Driver");
    52	MODULE_LICENSE("GPL");
    53	
    54	static int acpi_processor_start(struct device *dev);
    55	static int acpi_processor_stop(struct device *dev);
    56	
    57	static const struct acpi_device_id processor_device_ids[] = {
    58		{ACPI_PROCESSOR_OBJECT_HID, 0},
    59		{ACPI_PROCESSOR_DEVICE_HID, 0},
    60		{"", 0},
    61	};
    62	MODULE_DEVICE_TABLE(acpi, processor_device_ids);
    63	
    64	#define ICPU(model)	{ X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, }
    65	static const struct x86_cpu_id intel_cpu_ids[] = {
    66		ICPU(INTEL_FAM6_ICELAKE_MOBILE),	/* ICL */
    67		{}
    68	};
  > 69	MODULE_DEVICE_TABLE(x86cpu, intel_pmc_core_ids);
    70	

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux