On Sun, Dec 01, 2019 at 04:52:53AM +0800, kbuild test robot wrote: > Hi Sean, > > I love your patch! Yet something to improve: > > [auto build test ERROR on tip/auto-latest] > [also build test ERROR on next-20191129] > [cannot apply to tip/x86/core kvm/linux-next v5.4] > [if your patch is applied to the wrong git tree, please drop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see https://stackoverflow.com/a/37406982] > > url: https://github.com/0day-ci/linux/commits/Sean-Christopherson/x86-cpu-Clean-up-handling-of-VMX-features/20191128-094556 > base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git e445033e58108a9891abfbc0dea90b066a75e4a9 > config: x86_64-randconfig-s0-20191128 (attached as .config) > compiler: gcc-7 (Debian 7.4.0-14) 7.4.0 > reproduce: > # save the attached .config to linux build tree > make ARCH=x86_64 > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > In file included from arch/x86/include/asm/processor.h:22:0, > from arch/x86/include/asm/cpufeature.h:5, > from arch/x86/include/asm/thread_info.h:53, > from include/linux/thread_info.h:38, > from arch/x86/include/asm/preempt.h:7, > from include/linux/preempt.h:78, > from include/linux/percpu.h:6, > from include/linux/cpuidle.h:14, > from drivers/idle/intel_idle.c:45: > drivers/idle/intel_idle.c: In function 'sklh_idle_state_table_update': > >> drivers/idle/intel_idle.c:1287:10: error: 'MSR_IA32_FEATURE_CONTROL' undeclared (first use in this function); did you mean 'MSR_MISC_FEATURE_CONTROL'? > rdmsrl(MSR_IA32_FEATURE_CONTROL, msr); > ^ Argh, flat out missed this when doing search and replace. > arch/x86/include/asm/msr.h:279:28: note: in definition of macro 'rdmsrl' > ((val) = native_read_msr((msr))) > ^~~ > drivers/idle/intel_idle.c:1287:10: note: each undeclared identifier is reported only once for each function it appears in > rdmsrl(MSR_IA32_FEATURE_CONTROL, msr); > ^ > arch/x86/include/asm/msr.h:279:28: note: in definition of macro 'rdmsrl' > ((val) = native_read_msr((msr))) > ^~~ > > vim +1287 drivers/idle/intel_idle.c