[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <147b254ee819c20f7eaa881127aa2c88e05ce4b3.camel@intel.com>
Date: Wed, 15 May 2024 18:00:13 +0000
From: "Edgecombe, Rick P" <rick.p.edgecombe@...el.com>
To: "Yamahata, Isaku" <isaku.yamahata@...el.com>
CC: "dmatlack@...gle.com" <dmatlack@...gle.com>, "seanjc@...gle.com"
<seanjc@...gle.com>, "sagis@...gle.com" <sagis@...gle.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "Zhao, Yan Y"
<yan.y.zhao@...el.com>, "Aktas, Erdem" <erdemaktas@...gle.com>,
"kvm@...r.kernel.org" <kvm@...r.kernel.org>, "pbonzini@...hat.com"
<pbonzini@...hat.com>, "isaku.yamahata@...il.com" <isaku.yamahata@...il.com>
Subject: Re: [PATCH 10/16] KVM: x86/tdp_mmu: Support TDX private mapping for
TDP MMU
On Wed, 2024-05-15 at 10:35 -0700, Isaku Yamahata wrote:
>
> ...snip...
>
> > @@ -619,6 +776,8 @@ static inline int tdp_mmu_zap_spte_atomic(struct kvm
> > *kvm,
> > */
> > __kvm_tdp_mmu_write_spte(iter->sptep, SHADOW_NONPRESENT_VALUE);
> >
> > +
> > + role = sptep_to_sp(iter->sptep)->role;
> > /*
> > * Process the zapped SPTE after flushing TLBs, and after replacing
> > * REMOVED_SPTE with 0. This minimizes the amount of time vCPUs are
> > @@ -626,7 +785,7 @@ static inline int tdp_mmu_zap_spte_atomic(struct kvm
> > *kvm,
> > * SPTEs.
> > */
> > handle_changed_spte(kvm, iter->as_id, iter->gfn, iter->old_spte,
> > - 0, iter->level, true);
> > + SHADOW_NONPRESENT_VALUE, role, true);
> >
> > return 0;
> > }
>
> This SHADOW_NONPRESENT_VALUE change should go to another patch at [1]
> I replied to [1].
Thanks. This call site got added in an upstream patch recently, so you didn't
miss it.
Powered by blists - more mailing lists