arm64: Add missing APTable and TCR_ELx.HPD masks
authorMarc Zyngier <maz@kernel.org>
Tue, 18 Jun 2024 09:09:18 +0000 (10:09 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 30 Aug 2024 11:04:19 +0000 (12:04 +0100)
commit4abc783e4741cd33216e7796e9b2f4973b4bca61
tree687af41073311f94dd492503ce7cd9215482296c
parent69231a6fcb638b7929e9fc88c4fa73a04e6d4e0c
arm64: Add missing APTable and TCR_ELx.HPD masks

Although Linux doesn't make use of hierarchical permissions (TFFT!),
KVM needs to know where the various bits related to this feature
live in the TCR_ELx registers as well as in the page tables.

Add the missing bits.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_arm.h
arch/arm64/include/asm/pgtable-hwdef.h