tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 21498d01d045c5b95b93e0a0625ae965b4330ebe commit: a095df2c5f48f577c75ef183ad35703667a30ce4 [10518/12886] KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counter config: i386-randconfig-a012-20220509 (https://download.01.org/0day-ci/archive/20220520/202205202224.5qee2y88-lkp@xxxxxxxxx/config) compiler: gcc-11 (Debian 11.3.0-1) 11.3.0 reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a095df2c5f48f577c75ef183ad35703667a30ce4 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout a095df2c5f48f577c75ef183ad35703667a30ce4 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from arch/x86/kvm/x86.c:29: >> arch/x86/kvm/pmu.h:20:32: error: 'vmx_icl_pebs_cpu' defined but not used [-Werror=unused-const-variable=] 20 | static const struct x86_cpu_id vmx_icl_pebs_cpu[] = { | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/vmx_icl_pebs_cpu +20 arch/x86/kvm/pmu.h 19 > 20 static const struct x86_cpu_id vmx_icl_pebs_cpu[] = { 21 X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D, NULL), 22 X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, NULL), 23 {} 24 }; 25 -- 0-DAY CI Kernel Test Service https://01.org/lkp