KVM: arm64: Save/restore POE registers
authorJoey Gouly <joey.gouly@arm.com>
Thu, 22 Aug 2024 15:10:50 +0000 (16:10 +0100)
committerWill Deacon <will@kernel.org>
Wed, 4 Sep 2024 11:52:39 +0000 (12:52 +0100)
commitb86c9bea634971565f15dc95c1b8752b14651c25
tree3a38bde8d90f31a71e0880b180cfeb4b22a73d0b
parent160a8e13de6c36270e8c6537b8a944f4e73d2362
KVM: arm64: Save/restore POE registers

Define the new system registers that POE introduces and context switch them.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Oliver Upton <oliver.upton@linux.dev>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240822151113.1479789-8-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/asm/vncr_mapping.h
arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h
arch/arm64/kvm/sys_regs.c