Skip to content

x86: Initial Trenchboot/SKINIT support

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/smpboot: Re-position the call to tboot_wake_ap()xen/arch/x86/smpboot.c+8 -23 replies
2/3x86/smpboot: Allow making an INIT IPI conditionalxen/arch/x86/smpboot.c+41 -373 replies
3/3x86: Support booting under Secure Startup via SKINITxen/arch/x86/cpu/common.c xen/arch/x86/smpboot.c xen/include/asm-x86/cpufeature.h +2 more+51 -16 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRoger Pau MonnéJan Beulich
SeriesR-b A-b
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] x86: Initial Trenchboot/SKINIT support

The Trenchboot project[0][1] project aims to develop and upstream support for TCG DRTM support into various open source projects in the ecosystem, to improve boot security. Trenchboot has been discussed at previous XenSummits[2], and the work across the ecosystem is extensively blogged about[3].

This series forms the start of the work within Xen, and for now simply covers the ability to boot in the AMD SKINIT/Secure Startup environment.

Full details are available in AMD APM Vol2 15.27 "Secure Startup with SKINIT"

Future work will cover related support for Intel TXT in a non-tboot system, and the common logic to interact with the TPM and extend the hardware measured chain of trust into dom0.

[0] https://trenchboot.org/
[1] https://github.com/TrenchBoot/documentation
[2] https://www.youtube.com/watch?v=SwByVrw7-08&list=PLYyw7IQjL-zFYmEoZEYswoVuXrHvXAWxj&index=13
[3] https://blog.3mdeb.com/tags/trenchboot/

Andrew Cooper (2):
x86/smpboot: Re-position the call to tboot_wake_ap() x86/smpboot: Allow making an INIT IPI conditional

Norbert Kamiński (1):
x86: Support booting under Secure Startup via SKINIT

 xen/arch/x86/cpu/common.c        | 32 +++++++++++++
 xen/arch/x86/smpboot.c           | 98 ++++++++++++++++++++++++----------------
 xen/include/asm-x86/cpufeature.h |  1 +
 xen/include/asm-x86/msr-index.h  |  1 +
 xen/include/asm-x86/processor.h  |  6 +++
 5 files changed, 99 insertions(+), 39 deletions(-)
Signature · 1 line
2.11.0