KVM: arm64: nv: Add basic emulation of AT S1E2{R,W}
authorMarc Zyngier <maz@kernel.org>
Wed, 19 Jun 2024 07:43:35 +0000 (08:43 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 30 Aug 2024 11:04:20 +0000 (12:04 +0100)
commite794049b9acbd6500b77b9ce92a95101091b52d3
tree0d287f1b3b428a7bb926a49716ec8e99db02fb5b
parentbe0135bde1df5e80cffacd2ed6f952e6d38d6f71
KVM: arm64: nv: Add basic emulation of AT S1E2{R,W}

Similar to our AT S1E{0,1} emulation, we implement the AT S1E2
handling.

This emulation of course suffers from the same problems, but is
somehow simpler due to the lack of PAN2 and the fact that we are
guaranteed to execute it from the correct context.

Co-developed-by: Jintack Lim <jintack.lim@linaro.org>
Signed-off-by: Jintack Lim <jintack.lim@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/kvm/at.c