tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 86ed57fd8c93fdfaabb4f58e78455180fa7d8a84 commit: 0b957702769ec28fc54afbba8f08e12cd94904f4 [8854/9522] KVM: x86/mmu: Support shadowing NPT when 5-level paging is enabled in host config: i386-randconfig-r026-20210820 (attached as .config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d9c5613e856cf2addfbf892fc4c1ce9ef9feceaa) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0b957702769ec28fc54afbba8f08e12cd94904f4 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 0b957702769ec28fc54afbba8f08e12cd94904f4 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> arch/x86/kvm/mmu/mmu.c:3641:1: warning: unused label 'err_pml5' [-Wunused-label] err_pml5: ^~~~~~~~~ >> arch/x86/kvm/mmu/mmu.c:3643:1: warning: unused label 'err_pml4' [-Wunused-label] err_pml4: ^~~~~~~~~ arch/x86/kvm/mmu/mmu.c:240:1: warning: unused function 'is_cr4_la57' [-Wunused-function] BUILD_MMU_ROLE_ACCESSOR(ext, cr4, la57); ^ arch/x86/kvm/mmu/mmu.c:229:20: note: expanded from macro 'BUILD_MMU_ROLE_ACCESSOR' static inline bool is_##reg##_##name(struct kvm_mmu *mmu) \ ^ <scratch space>:90:1: note: expanded from here is_cr4_la57 ^ 3 warnings generated. vim +/err_pml5 +3641 arch/x86/kvm/mmu/mmu.c 3635 3636 mmu->pae_root = pae_root; 3637 mmu->pml4_root = pml4_root; 3638 mmu->pml5_root = pml5_root; 3639 3640 return 0; > 3641 err_pml5: 3642 free_page((unsigned long)pml4_root); > 3643 err_pml4: 3644 free_page((unsigned long)pae_root); 3645 return -ENOMEM; 3646 } 3647 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip