Re: [PATCH v5 2/5] KVM: arm64: Add pre_fault_memory implementation
"Thomson, Jack" <[email protected]>
| Newsgroups | org.kernel.vger.kvm,dev.linux.lists.kvmarm,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <[email protected]> |
Hi Aneesh and Alex On 11/08/2026 5:03 pm, Alexandru Elisei wrote: > On Mon, Aug 03, 2026 at 11:36:33AM +0530, Aneesh Kumar K.V wrote: >> But both gmem_abort() and user_mem_abort() handle -EAGAIN internally, don't they? > > I think you're right, please ignore my comment about an existing mapping with > is_protected_kvm_enabled(). Thanks Aneesh, yeah that's the intent. Vincent pointed me to the pgt->pkvm_mappings interval tree that can be used to detect the existing mappings in pKVM, so I'll be updating to use that in v6. -- Thanks, Jack