Add TPM support to SeaBIOS
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest9 patches 2 repliesIn review
- v69 patches 4 repliesSuperseded
- v59 patches 4 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 8 patches | 3 replies | Superseded | |
| v3 | 8 patches | 1 reply | Superseded | |
| v2 | 8 patches | 2 replies | Superseded | |
| v1 | 8 patches | 8 replies | Superseded |
Changes in v7 from the cover letter
- adapted patches to checkout of 83012de (Aug 31)
- fixed compilation error reported by Andreas Niederl
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Add an implementation of a TPM TIS driversrc/ src/ | +346 | 0 replies | |
| 2/9 | Provide ACPI SSDT table for TPM device + S3 resume supportMakefile src/ src/ +5 more | +249 | 0 replies | |
| 3/9 | Add public get_rsdp functionsrc/ src/ | +11 | 0 replies | |
| 4/9 | Implementation of the TCG BIOS extensionssrc/ src/ src/ +4 more | +824 | 0 replies | |
| 5/9 | Support for BIOS interrupt handlerMakefile src/ src/ +6 more | +745 | 2 replies | |
| 6/9 | Add measurement code to the BIOSsrc/ src/ src/ +5 more | +409 | 0 replies | |
| 7/9 | Add a menu for TPM controlsrc/ src/ src/ | +514 | 0 replies | |
| 8/9 | Support for Qemu-provided measurementssrc/ src/ src/ +2 more | +109 | 0 replies | |
| 9/9 | Optional tests for the TIS interfaceMakefile src/ src/ +2 more | +922 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [Qemu-devel] [PATCH V7 0/9] Add TPM support to SeaBIOS
The following set of patches add TPM and Trusted Computing support to SeaBIOS. In particular the patches add:
- a TPM driver for the Qemu's TPM TIS emulation (not yet in Qemu git)
- ACPI support for the TPM device (SSDT table)
- ACPI support for measurement logging (TCPA table)
- Support for initialzation of the TPM
- Support for the TCG BIOS extensions (1ah handler [ah = 0xbb]) (used by trusted grub; http://trousers.sourceforge.net/grub.html)
- Static Root of Trusted for Measurement (SRTM) support
- Support for S3 resume (sends command to TPM upon resume)
- TPM-specific menu for controlling aspects of the TPM
- [An optional test suite for the TIS interface]
All implementations necessarily follow specifications.
When all patches are applied the following services are available
- SSDT ACPI table for TPM support
- initialization of the TPM upon VM start and S3 resume
- Static root of trust for measurements (SRTM) that measures (some) data of SeaBIOS in TCPA ACPI table
- 1ah interrupt handler offering APIs for measuring and sending commands to the TPM (trusted grub uses them)
- User menu for controlling aspects of the state of the TPM
v7:
- adapted patches to checkout of 83012de (Aug 31)
- fixed compilation error reported by Andreas Niederl
v6:
- adapted patches to checkout of 8e30147 (Aug 9)
- use timeouts/durations for commands as reported by TPM
- following Andreas Niederl's suggestion regarding the ACPI SSDT
v5:
- adapted patches to checkout of 76b5e71 (June 21)
- bugfixes (see individual patches)
- added patch to support the transfer of Qemu-provided measurements via firmware interface
v4:
- if ! has_working_tpm() now returns error code everywhere
- tis_test.c now also under LGPLv3
- in inthandler, pulled set_cf() out of switch and then only call it in the default case where we need to indicate that a function is not implemented
v3:
- some nits here and there
- calling timer_setup now after S3 resume
v2:
- following Kevin's comment
- refactoring code so that every patch compiles
Regards,
Stefan