]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: arm64: nv: Add missing EL2->EL1 mappings in get_el2_to_el1_mapping()
authorMarc Zyngier <maz@kernel.org>
Wed, 23 Oct 2024 14:53:13 +0000 (15:53 +0100)
committerOliver Upton <oliver.upton@linux.dev>
Thu, 31 Oct 2024 02:42:29 +0000 (02:42 +0000)
commitdfeb91686992f5a973d09b66ddedf458de1acf08
tree7ab8d4ba7f57cabe27eaba6a2f1d85bb01eee260
parenta5c870d0939b7a878edacb70831b8b32cbfed593
KVM: arm64: nv: Add missing EL2->EL1 mappings in get_el2_to_el1_mapping()

As KVM has grown a bunch of new system register for NV, it appears
that we are missing them in the get_el2_to_el1_mapping() list.

Most of them are not crucial as they don't tend to be accessed via
vcpu_read_sys_reg() and vcpu_write_sys_reg().

Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20241023145345.1613824-6-maz@kernel.org
Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
arch/arm64/kvm/sys_regs.c