tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: fb57b1fabcb28f358901b2df90abd2b48abc1ca8
commit: 9ed24f4b712b855dcf7be3025b75b051cb73a2b7 [9554/10701] KVM: arm64: Move
virt/kvm/arm to arch/arm64
config: arm64-randconfig-r031-20200519 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 9ed24f4b712b855dcf7be3025b75b051cb73a2b7
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
arch/arm64/kvm/mmu.c: In function 'unmap_hyp_pmds':
> arch/arm64/kvm/mmu.c:497:15: warning: variable
'start_pmd' set but not used [-Wunused-but-set-variable]
497 | pmd_t *pmd,
*start_pmd;
| ^~~~~~~~~
arch/arm64/kvm/mmu.c: In function 'unmap_hyp_puds':
arch/arm64/kvm/mmu.c:514:15: warning: variable 'start_pud' set but not used
[-Wunused-but-set-variable]
514 | pud_t *pud, *start_pud;
| ^~~~~~~~~
vim +/start_pmd +497 arch/arm64/kvm/mmu.c
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 493
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 494 static void
unmap_hyp_pmds(pud_t *pud, phys_addr_t addr, phys_addr_t end)
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 495 {
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 496 phys_addr_t next;
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 @497 pmd_t *pmd,
*start_pmd;
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 498
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 499 start_pmd = pmd =
pmd_offset(pud, addr);
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 500 do {
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 501 next =
pmd_addr_end(addr, end);
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 502 /* Hyp doesn't
use huge pmds */
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 503 if
(!pmd_none(*pmd))
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 504 unmap_hyp_ptes(pmd,
addr, next);
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 505 } while (pmd++, addr
= next, addr != end);
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 506
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 507 if
(hyp_pmd_table_empty(start_pmd))
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 508
clear_hyp_pud_entry(pud);
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 509 }
64f324979210d4 arch/arm/kvm/mmu.c Suzuki K Poulose 2016-03-22 510
:::::: The code at line 497 was first introduced by commit
:::::: 64f324979210d4064adf64f19da40c125c9dd137 kvm-arm: Add explicit hyp page table
modifiers
:::::: TO: Suzuki K Poulose <suzuki.poulose(a)arm.com>
:::::: CC: Christoffer Dall <christoffer.dall(a)linaro.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org