Re: [PATCH] KVM: arm64: Fix build error in user_mem_abort()

2020-11-06 Thread Marc Zyngier
On Tue, 3 Nov 2020 11:30:09 +1100, Gavin Shan wrote: > The PUD and PMD are folded into PGD when the following options are > enabled. In that case, PUD_SHIFT is equal to PMD_SHIFT and we fail > to build with the indicated errors: > >CONFIG_ARM64_VA_BITS_42=y >CONFIG_ARM64_PAGE_SHIFT=16 >

[PATCH] KVM: arm64: Fix build error in user_mem_abort()

2020-11-02 Thread Gavin Shan
The PUD and PMD are folded into PGD when the following options are enabled. In that case, PUD_SHIFT is equal to PMD_SHIFT and we fail to build with the indicated errors: CONFIG_ARM64_VA_BITS_42=y CONFIG_ARM64_PAGE_SHIFT=16 CONFIG_PGTABLE_LEVELS=3 arch/arm64/kvm/mmu.c: In function