[PATCH v5 10/11] KVM: arm64: CCA: Support runtime faulting of memory
Steven Price
steven.price at arm.com
Thu Dec 3 01:49:19 PST 2026
On 01/12/2026 19:55, Fuad Tabba wrote:
> 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.
Good idea, yes that looks much nicer.
Thanks,
Steve
More information about the linux-arm-kernel
mailing list