Re: [PATCH v5 10/11] KVM: arm64: CCA: Support runtime faulting of memory

From: Fuad Tabba

Date: Tue Dec 01 2026 - 14:56:35 EST


Hi Steven,

On Mon, 30 Nov 2026 14:25:31 +0000, Steven Price <steven.price@xxxxxxx> wrote:
[...]
> diff --git a/arch/arm64/include/asm/kvm_mmu.h b/arch/arm64/include/asm/kvm_mmu.h
[...]
> static inline void kvm_fault_lock(struct kvm *kvm)
> {
> - if (is_protected_kvm_enabled())
> + if (kvm_vm_hyp_is_distrusting(kvm))

Could you move the conversions from is_protected_kvm_enabled() to
kvm_vm_hyp_is_distrusting() into their own patch, with the ptdump one
from patch 11? That would make it easier to see that they don't change
anything for pKVM VMs.

Cheers,
/fuad