Re: [PATCH v19 14/20] KVM: arm64: CCA: Add bare minimal S2 operations for Realm
From: Gavin Shan
Date: Sun Sep 27 2026 - 21:27:54 EST
On 9/21/26 7:28 AM, Suzuki K Poulose wrote:
Add bare minimal MMU operation hooks for Realms. The mem_abort handling
is chosen as the default KVM variant. However this cannot be reached for
Realms yet and we would need real RMI command support to make it fully
functional.
RMM takes care of the TLB flushing as required, when the Stage2 is
modified. So host doesn't need to do anything explicitly. RMM doesn't
support access flags for the stage2, even for the shared IPA.
Signed-off-by: Suzuki K Poulose <suzuki.poulose@xxxxxxx>
---
arch/arm64/kvm/mmu.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Reviewed-by: Gavin Shan <gshan@xxxxxxxxxx>