Re: [PATCH v8 04/11] x86/tdx: Add Intel ARCH support to cc_platform_has()

From: Kuppuswamy, Sathyanarayanan
Date: Tue Oct 05 2021 - 08:30:05 EST




On 10/4/21 9:47 PM, Randy Dunlap wrote:
On 10/4/21 7:51 PM, Kuppuswamy Sathyanarayanan wrote:
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c42dd8a2d1f4..abb249dc829d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -871,6 +871,7 @@ config INTEL_TDX_GUEST
      depends on SECURITY
      select X86_X2APIC
      select SECURITY_LOCKDOWN_LSM
+    select ARCH_HAS_CC_PLATFORM

Where is ARCH_HAS_CC_PLATFORM defined, please?
I can't seem to find it.

It is merged to tip tree.

https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=46b49b12f3fc5e1347dba37d4639e2165f447871


      help
        Provide support for running in a trusted domain on Intel processors
        equipped with Trusted Domain eXtensions. TDX is a Intel technology


thanks.

--
Sathyanarayanan Kuppuswamy
Linux Kernel Developer