]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: Handle PIR{,E0}_EL2 traps
authorMarc Zyngier <maz@kernel.org>
Wed, 23 Oct 2024 14:53:24 +0000 (15:53 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 02:42:31 +0000 (02:42 +0000)
commit874ae1d48e607d41ae08fa72a9ed76cb62651085
treefeedf925fed7938fd19ff5568b27abd63ddb310e
parentb3ad940a088761fd183dccd65c6ee20b360e8c4b
KVM: arm64: Handle PIR{,E0}_EL2 traps

Add the FEAT_S1PIE EL2 registers the sysreg descriptor array so that
they can be handled as a trap.

Access to these registers is conditional based on ID_AA64MMFR3_EL1.S1PIE
being advertised.

Similarly to other other changes, PIRE0_EL2 is guaranteed to trap
thanks to the D22677 update to the architecture.

Reviewed-by: Joey Gouly <joey.gouly@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241023145345.1613824-17-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c