[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8d2292e69a1076604176e6e8573f26c6cd590075.camel@intel.com>
Date: Wed, 11 Dec 2024 04:34:35 +0000
From: "Huang, Kai" <kai.huang@...el.com>
To: "Hansen, Dave" <dave.hansen@...el.com>, "seanjc@...gle.com"
<seanjc@...gle.com>, "bp@...en8.de" <bp@...en8.de>, "peterz@...radead.org"
<peterz@...radead.org>, "hpa@...or.com" <hpa@...or.com>, "mingo@...hat.com"
<mingo@...hat.com>, "kirill.shutemov@...ux.intel.com"
<kirill.shutemov@...ux.intel.com>, "Williams, Dan J"
<dan.j.williams@...el.com>, "pbonzini@...hat.com" <pbonzini@...hat.com>,
"tglx@...utronix.de" <tglx@...utronix.de>
CC: "Edgecombe, Rick P" <rick.p.edgecombe@...el.com>, "nik.borisov@...e.com"
<nik.borisov@...e.com>, "Hunter, Adrian" <adrian.hunter@...el.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "Yamahata,
Isaku" <isaku.yamahata@...el.com>, "x86@...nel.org" <x86@...nel.org>
Subject: Re: [PATCH v8 8.2/9] x86/virt/tdx: Reduce TDMR's reserved areas by
using CMRs to find memory holes
On Tue, 2024-12-10 at 08:58 -0800, Dave Hansen wrote:
> On 12/9/24 20:24, Huang, Kai wrote:
> > OK. I would like to get the solution agreed. IIUC you prefer to just using
> > CMRs to build TDX-usable memory regions when constructing TDMRs. Please let me
> > know if I have misunderstanding.
> >
> > Please let me know if you are OK with this solution?
>
> I honestly don't know.
>
> What I would prefer is that you take another hard look at the code and
> deeply consider whether there's a simpler solution. My gut says that the
> 8.2/9 patch is too much of a band-aid and adds too much complexity. I'm
> yearning for something simpler.
>
> I'm not going to know whether I'm OK with the solution until the patch
> lands in my inbox. What I do know is that I'd really appreciate if you
> could _explore_ a simpler solution.
Yeah that's the plan. I don't have any simpler solution that doesn't use CMRs
in my mind now but will explore more. Thanks.
Powered by blists - more mailing lists