KVM: arm64: Expose ID_AA64MMFR4_EL1 to guests
authorMarc Zyngier <maz@kernel.org>
Mon, 22 Jan 2024 18:13:42 +0000 (18:13 +0000)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 8 Feb 2024 15:12:45 +0000 (15:12 +0000)
commitc21df6e43f0ed51903738ee34cdb2ec2f978024d
treef285dbf59f74f014fed3748eadbd79f06acbd7c8
parent3944382fa6f22b54fd399632b1af92c28123979b
KVM: arm64: Expose ID_AA64MMFR4_EL1 to guests

We can now expose ID_AA64MMFR4_EL1 to guests, and let NV guests
understand that they cannot really switch HCR_EL2.E2H to 0 on
some platforms.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240122181344.258974-9-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/nested.c
arch/arm64/kvm/sys_regs.c