| From | Thomas Gleixner <> | Subject | Re: [PATCHv2 02/29] x86/tdx: Extend the cc_platform_has() API to support TDX guests | Date | Tue, 01 Feb 2022 20:31:15 +0100 |
| |
On Mon, Jan 24 2022 at 18:01, Kirill A. Shutemov wrote: > Since is_tdx_guest() function (through cc_platform_has() API) is used in > the early boot code, disable the instrumentation flags and function > tracer. This is similar to AMD SEV and cc_platform.c. > > Since intel_cc_platform_has() function only gets called when > is_tdx_guest() is true (valid CONFIG_INTEL_TDX_GUEST case), remove the > redundant #ifdef in intel_cc_platform_has(). > > Signed-off-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
|