CC: [email protected]
CC: [email protected]
CC: Robert Hu <[email protected]>
CC: Farrah Chen <[email protected]>
CC: Danmei Wei <[email protected]>
TO: Wei Huang <[email protected]>
CC: Paolo Bonzini <[email protected]>

tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   47e7414d53fc12407b7a43bba412ecbf54c84f82
commit: 0b957702769ec28fc54afbba8f08e12cd94904f4 [141/160] KVM: x86/mmu: 
Support shadowing NPT when 5-level paging is enabled in host
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago
config: i386-randconfig-s002-20210819 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-348-gf0e6938b-dirty
        # 
https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?id=0b957702769ec28fc54afbba8f08e12cd94904f4
        git remote add kvm https://git.kernel.org/pub/scm/virt/kvm/kvm.git
        git fetch --no-tags kvm queue
        git checkout 0b957702769ec28fc54afbba8f08e12cd94904f4
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir 
ARCH=i386 SHELL=/bin/bash arch/x86/kvm/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>


sparse warnings: (new ones prefixed by >>)
>> arch/x86/kvm/mmu/mmu.c:3641:1: sparse: sparse: unused label 'err_pml5'
>> arch/x86/kvm/mmu/mmu.c:3643:1: sparse: sparse: unused label 'err_pml4'
   arch/x86/kvm/mmu/mmu.c:2616:9: sparse: sparse: context imbalance in 
'mmu_try_to_unsync_pages' - different lock contexts for basic block
   arch/x86/kvm/mmu/mmu.c:4512:57: sparse: sparse: cast truncates bits from 
constant value (ffffff33 becomes 33)
   arch/x86/kvm/mmu/mmu.c:4514:56: sparse: sparse: cast truncates bits from 
constant value (ffffff0f becomes f)
   arch/x86/kvm/mmu/mmu.c:4516:57: sparse: sparse: cast truncates bits from 
constant value (ffffff55 becomes 55)

vim +/err_pml5 +3641 arch/x86/kvm/mmu/mmu.c

81407ca553c0c8 arch/x86/kvm/mmu.c     Joerg Roedel        2010-09-10  3635  
748e52b9b73680 arch/x86/kvm/mmu/mmu.c Sean Christopherson 2021-03-04  3636      
mmu->pae_root = pae_root;
03ca4589fabcc6 arch/x86/kvm/mmu/mmu.c Sean Christopherson 2021-05-05  3637      
mmu->pml4_root = pml4_root;
0b957702769ec2 arch/x86/kvm/mmu/mmu.c Wei Huang           2021-08-18  3638      
mmu->pml5_root = pml5_root;
ad7dc69aeb2313 arch/x86/kvm/mmu.c     Vitaly Kuznetsov    2019-02-22  3639  
8986ecc0ef58c9 arch/x86/kvm/mmu.c     Marcelo Tosatti     2009-05-12  3640      
return 0;
0b957702769ec2 arch/x86/kvm/mmu/mmu.c Wei Huang           2021-08-18 @3641  
err_pml5:
0b957702769ec2 arch/x86/kvm/mmu/mmu.c Wei Huang           2021-08-18  3642      
free_page((unsigned long)pml4_root);
0b957702769ec2 arch/x86/kvm/mmu/mmu.c Wei Huang           2021-08-18 @3643  
err_pml4:
0b957702769ec2 arch/x86/kvm/mmu/mmu.c Wei Huang           2021-08-18  3644      
free_page((unsigned long)pae_root);
0b957702769ec2 arch/x86/kvm/mmu/mmu.c Wei Huang           2021-08-18  3645      
return -ENOMEM;
17ac10ad2bb7d8 drivers/kvm/mmu.c      Avi Kivity          2007-01-05  3646  }
17ac10ad2bb7d8 drivers/kvm/mmu.c      Avi Kivity          2007-01-05  3647  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to