Skip to content

RFC i386: Intel TXT secure launcher

Daniel Kiper grub-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest18 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18i386/msr: Merge rdmsr.h and wrmsr.h into msr.hgrub-core/commands/i386/rdmsr.c grub-core/commands/i386/wrmsr.c include/grub/i386/msr.h +1 more+15 -420 replies
2/18i386/msr: Rename grub_msr_read() and grub_msr_write()grub-core/commands/i386/rdmsr.c grub-core/commands/i386/wrmsr.c include/grub/i386/msr.h+4 -40 replies
3/18i386/msr: Extract and improve MSR support detection codegrub-core/commands/i386/rdmsr.c grub-core/commands/i386/wrmsr.c include/grub/i386/msr.h+39 -320 replies
4/18i386/memory: Rename PAGE_SHIFT to GRUB_PAGE_SHIFTgrub-core/lib/i386/xen/relocator.S grub-core/lib/x86_64/xen/relocator.S grub-core/loader/i386/xen.c +1 more+20 -200 replies
5/18i386/memory: Rename PAGE_SIZE to GRUB_PAGE_SIZE and make it globalgrub-core/loader/i386/xen.c include/grub/i386/memory.h+18 -180 replies
6/18mmap: Add grub_mmap_get_lowest() and grub_mmap_get_highest()grub-core/mmap/mmap.c include/grub/memory.h+67 -00 replies
7/18i386/tpm: Rename tpm module to tpm_verifierdocs/grub.texi grub-core/Makefile.core.def grub-core/commands/tpm_verifier.c+13 -120 replies
8/18i386/tpm: Add TPM TIS and CRB drivergrub-core/commands/i386/tpm.c include/grub/i386/tpm.h+218 -00 replies
9/18efi: Make shim_lock GUID and protocol type publicgrub-core/commands/efi/shim_lock.c include/grub/efi/api.h+15 -160 replies
10/18efi: Return grub_efi_status_t from grub_efi_get_variable()grub-core/commands/efi/efifwsetup.c grub-core/kern/efi/efi.c grub-core/video/efi_gop.c +1 more+18 -150 replies
11/18efi: Add a function to read EFI variables with attributesgrub-core/kern/efi/efi.c include/grub/efi/efi.h+18 -30 replies
12/18i386/efi: Report UEFI Secure Boot status to the Linux kernelgrub-core/loader/i386/linux.c include/grub/i386/linux.h+97 -34 replies
13/18i386/slaunch: Add basic platform support for secure launchinclude/grub/i386/cpuid.h include/grub/i386/crfr.h include/grub/i386/mmio.h +1 more+350 -00 replies
14/18i386/txt: Add Intel TXT definitions header fileinclude/grub/i386/txt.h+690 -00 replies
15/18i386/txt: Add Intel TXT core implementationgrub-core/loader/i386/txt/txt.c include/grub/i386/memory.h+892 -02 replies
16/18i386/txt: Add Intel TXT ACM module supportgrub-core/loader/i386/txt/acmod.c+575 -00 replies
17/18i386/txt: Add Intel TXT verification routinesgrub-core/loader/i386/txt/verify.c+297 -00 replies
18/18i386/slaunch: Add secure launch framework and commandsgrub-core/Makefile.am grub-core/Makefile.core.def grub-core/lib/i386/relocator32.S +8 more+500 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [GRUB PATCH RFC 00/18] i386: Intel TXT secure launcher

Hi,

This is an RFC patchset for the GRUB introducing the Intel TXT secure launcher. This is a part of larger work known as the TrenchBoot. Patchset can be split into two distinct parts:
- 01-12: preparatory patches,
- 13-18: the Intel TXT secure launcher itself.

The initial implementation of the Intel TXT secure launcher works. However, there are still some missing bits and pieces, e.g.:
- SINIT ACM auto loader,
- lack of RMRR support,
- lack of support for MLEs larger than 1 GiB,
- lack of TPM 1.2 support.
- various fixes and cleanups.

Commands introduced by this patchset: tpm_type, slaunch, slaunch_module (not required on server platforms) and slaunch_state (useful for checking platform configuration and state; based on tboot's txt-stat).

Daniel