tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 1e1b28b936aed946122b4e0991e7144fdbbfd77e commit: a095df2c5f48f577c75ef183ad35703667a30ce4 [10989/11651] KVM: x86/pmu: Adjust precise_ip to emulate Ice Lake guest PDIR counter config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220513/202205132242.pju6AukG-lkp@xxxxxxxxx/config) compiler: gcc-11 (Debian 11.2.0-20) 11.2.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 arch/x86/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): In file included from arch/x86/kvm/x86.c:29: >> arch/x86/kvm/pmu.h:20:32: warning: 'vmx_icl_pebs_cpu' defined but not used [-Wunused-const-variable=] 20 | static const struct x86_cpu_id vmx_icl_pebs_cpu[] = { | ^~~~~~~~~~~~~~~~ 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