[PATCH v5 10/11] KVM: arm64: CCA: Support runtime faulting of memory
Fuad Tabba
tabba at google.com
Tue Dec 1 11:55:44 PST 2026
Hi Steven,
On Mon, 30 Nov 2026 14:25:31 +0000, Steven Price <steven.price at arm.com> 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
More information about the linux-arm-kernel
mailing list