Re: [PATCH v6 21/21] Documentation/x86: Add documentation for TDX host support
From: Huang, Kai
Date: Thu Oct 27 2022 - 22:31:28 EST
On Thu, 2022-10-27 at 05:38 -0700, Andi Kleen wrote:
> > +The current implementation doesn't explicitly prevent adding any non-TDX
> > +memory to system-wide memory pool, but depends on the machine owner to
> > +make sure such operation won't happen. For example, the machine owner
> > +should never plug any NVDIMM or CXL memory to the machine, or use kmem
> > +driver to hot-add any to the core-mm.
>
>
> I assume that will be fixed in some form, so doesn't need to be in the
> documentation.
Based on we need to handle this in some way so yes this will go away.
>
>
> > +
> > +To keep things simple, this series doesn't handle memory hotplug at all,
> > +but depends on the machine owner to not do any memory hotplug operation.
> > +For example, the machine owner should not plug any NVDIMM or CXL memory
> > +into the machine, or use kmem driver to plug NVDIMM or CXL memory to the
> > +core-mm.
>
>
> Dito. Documentation/* shouldn't contain temporary things like a commit log.
Oops. I just copied from some commit log. Thanks for catching!