Re: [PATCH v6 4/7] xen/pvh: Move Xen specific PVH VM initialization out of common file

From: kbuild test robot
Date: Thu Apr 05 2018 - 06:00:09 EST


Hi Maran,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on next-20180404]
[cannot apply to tip/x86/core xen-tip/linux-next v4.16]
[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/Maran-Wilson/KVM-x86-Allow-Qemu-KVM-to-use-PVH-entry-point/20180405-165048
config: i386-randconfig-x019-201813 (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=i386

All errors (new ones prefixed by >>):

arch/x86/xen/enlighten_pvh.c: In function 'xen_pvh_init':
>> arch/x86/xen/enlighten_pvh.c:23:18: error: implicit declaration of function 'xen_cpuid_base'; did you mean 'get_pid_task'? [-Werror=implicit-function-declaration]
msr = cpuid_ebx(xen_cpuid_base() + 2);
^~~~~~~~~~~~~~
get_pid_task
cc1: some warnings being treated as errors

vim +23 arch/x86/xen/enlighten_pvh.c

15
16 void __init xen_pvh_init(void)
17 {
18 u32 msr;
19 u64 pfn;
20
21 xen_pvh = 1;
22
> 23 msr = cpuid_ebx(xen_cpuid_base() + 2);

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

Attachment: .config.gz
Description: application/gzip