Re: [PATCH] acpi: Issue _OSC call for native thermal interrupt handling

From: kbuild test robot
Date: Wed Mar 16 2016 - 19:53:24 EST


Hi Srinivas,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.5 next-20160316]
[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/Srinivas-Pandruvada/acpi-Issue-_OSC-call-for-native-thermal-interrupt-handling/20160317-063443
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
config: ia64-allnoconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=ia64

All errors (new ones prefixed by >>):

drivers/acpi/acpi_processor.c: In function 'acpi_set_hwp_native_thermal_lvt_osc':
>> drivers/acpi/acpi_processor.c:510:2: error: implicit declaration of function 'static_cpu_has' [-Werror=implicit-function-declaration]
if (!static_cpu_has(X86_FEATURE_HWP))
^
>> drivers/acpi/acpi_processor.c:510:22: error: 'X86_FEATURE_HWP' undeclared (first use in this function)
if (!static_cpu_has(X86_FEATURE_HWP))
^
drivers/acpi/acpi_processor.c:510:22: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors

vim +/static_cpu_has +510 drivers/acpi/acpi_processor.c

504 .cap.pointer = capbuf,
505 };
506
507 if (acpi_hwp_native_thermal_lvt_set)
508 return AE_OK;
509
> 510 if (!static_cpu_has(X86_FEATURE_HWP))
511 return AE_OK;
512
513 capbuf[0] = 0x0000;

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

Attachment: .config.gz
Description: Binary data