2023-09-16 08:17:20

by Edgecombe, Rick P

[permalink] [raw]
Subject: Re: [PATCH v13 18/22] x86/virt/tdx: Keep TDMRs when module initialization is successful

On Sat, 2023-08-26 at 00:14 +1200, Kai Huang wrote:
> On the platforms with the "partial write machine check" erratum, the
> kexec() needs to convert all TDX private pages back to normal before
> booting to the new kernel.  Otherwise, the new kernel may get
> unexpected
> machine check.
>
> There's no existing infrastructure to track TDX private pages. 
> Change
> to keep TDMRs when module initialization is successful so that they
> can
> be used to find PAMTs.
>
> Signed-off-by: Kai Huang <[email protected]>

Reviewed-by: Rick Edgecombe <[email protected]>