Re: [RFC PATCH v2 10/23] KVM: TDX: Enable huge page splitting under write kvm->mmu_lock
From: Sagi Shahar
Date: Tue Dec 09 2025 - 19:29:24 EST
On Tue, Dec 9, 2025 at 5:54 PM Edgecombe, Rick P
<rick.p.edgecombe@xxxxxxxxx> wrote:
>
> On Tue, 2025-12-09 at 17:49 -0600, Sagi Shahar wrote:
> > I was trying to test this code locally (without the DPAMT patches and
> > with DPAMT disabled) and saw that sometimes tdh_mem_page_demote
> > returns TDX_INTERRUPTED_RESTARTABLE. Looking at the TDX module code
> > (version 1.5.16 from [1]) I see that demote and promote are the only
> > seamcalls that return TDX_INTERRUPTED_RESTARTABLE so it wasn't handled
> > by KVM until now.
>
> Did you see "Open 3" in the coverletter?
I tested the code using TDX module 1.5.24 which is the latest one we
got. Is there a newer TDX module that supports this new functionality?