Re: [PATCH v6 04/11] x86/tdx: Add protected guest support for TDX guest

From: Borislav Petkov
Date: Tue Sep 28 2021 - 09:18:56 EST


On Tue, Sep 28, 2021 at 03:04:36PM +0200, Joerg Roedel wrote:
> Yes, but distributions will enable this in their default configs, so the
> function call will happen on every Intel machine, even on bare-metal.

The result of whether the guest is a TDX needs to be cached and queried
instead anyway:

https://lkml.kernel.org/r/YVL4ZUGhfsh1QfRX@xxxxxxx

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette