On 12/15/25 3:33 PM, Ross Philipson wrote: > Add a Kconfig option for compiling in/out the Secure Launch feature. > Secure Launch is controlled by a singel boolean on/off. > > Signed-off-by: Ross Philipson <[email protected]> > --- > arch/x86/Kconfig | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index fa3b616af03a..9404d207c420 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -1975,6 +1975,20 @@ config EFI_RUNTIME_MAP > > See also Documentation/ABI/testing/sysfs-firmware-efi-runtime-map. > > +config SECURE_LAUNCH > + bool "Secure Launch DRTM support" > + depends on X86_64 && X86_X2APIC && TCG_TIS && TCG_CRB > + select CRYPTO_LIB_SHA1 > + select CRYPTO_LIB_SHA256 > + help > + The Secure Launch feature allows a kernel to be launched directly > + through a vendor neutral DTRM (Dynamic Root of Trust for Measurement) DRTM > + solution, with Intel TXT being one example. The DRTM establishes an > + environment where the CPU measures the kernel image, employing the > TPM, > + before starting it. Secure Launch then continues the measurement chain > + over kernel configuration information and other launch artifacts (e.g. > + any initramfs image). > + > source "kernel/Kconfig.hz" > > config ARCH_SUPPORTS_KEXEC -- ~Randy
- [PATCH v15 02/28] tpm: Move TPM1 specific definitions and f... Ross Philipson
- [PATCH v15 03/28] tpm: Move TPM2 specific definitions and f... Ross Philipson
- [PATCH v15 01/28] tpm: Initial step to reorganize TPM publi... Ross Philipson
- [PATCH v15 04/28] tpm: Move TPM common base definitions to ... Ross Philipson
- [PATCH v15 05/28] tpm: Move platform specific definitions t... Ross Philipson
- [PATCH v15 07/28] tpm: Remove main TPM header from TPM even... Ross Philipson
- [PATCH v15 06/28] tpm: Add TPM buffer support header for st... Ross Philipson
- [PATCH v15 08/28] tpm/tpm_tis: Close all localities Ross Philipson
- [PATCH v15 09/28] tpm/tpm_tis: Address positive localities ... Ross Philipson
- [PATCH v15 13/28] x86: Secure Launch Kconfig Ross Philipson
- Re: [PATCH v15 13/28] x86: Secure Launch Kconfig Randy Dunlap
- [PATCH v15 11/28] tpm/sysfs: Show locality used by kernel Ross Philipson
- [PATCH v15 17/28] x86: Add early SHA-1 support for Secure L... Ross Philipson
- [PATCH v15 14/28] x86: Secure Launch Resource Table header ... Ross Philipson
- [PATCH v15 10/28] tpm/tpm_tis: Allow locality to be set to ... Ross Philipson
- [PATCH v15 16/28] x86/txt: Intel Trusted eXecution Technolo... Ross Philipson
- [PATCH v15 18/28] x86: Add early SHA-256 support for Secure... Ross Philipson
- [PATCH v15 19/28] x86/tpm: Early TPM PCR extending driver Ross Philipson
