]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: arm64: Add helper computing the state of 52bit PA support
authorMarc Zyngier <maz@kernel.org>
Sat, 26 Jul 2025 10:38:09 +0000 (11:38 +0100)
committerMarc Zyngier <maz@kernel.org>
Sat, 20 Sep 2025 10:05:12 +0000 (11:05 +0100)
commit0090c0a247cd3dc37181be4a9af4750ae3fedbd0
treed111eee3147873dfed8c4ac20fb5b6ba52530ee4
parentb320789d6883cc00ac78ce83bccbfe7ed58afcf0
KVM: arm64: Add helper computing the state of 52bit PA support

Track whether the guest is using 52bit PAs, either LPA or LPA2.
This further simplifies the handling of LVA for 4k and 16k pages,
as LPA2 implies LVA in this case.

Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_nested.h
arch/arm64/kvm/at.c