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]>