Re: [PATCH v7 06/20] x86/virt/tdx: Shut down TDX module in case of error

From: Huang, Kai
Date: Tue Nov 22 2022 - 20:24:27 EST


On Tue, 2022-11-22 at 20:14 +0100, Peter Zijlstra wrote:
> On Tue, Nov 22, 2022 at 10:57:52AM -0800, Dave Hansen wrote:
>
> > To me, this starts to veer way too far into internal implementation details.
> >
> > Issue the TDH.SYS.LP.SHUTDOWN SEAMCALL on all BIOS-enabled CPUs
> > to shut down the TDX module.
>
> We really need to let go of the whole 'all BIOS-enabled CPUs' thing.

As replied in another email I'll follow up with TDX module guys to see whether
we can remove/ease such limitation.

Thanks!