qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH V6 0/9] Add TPM support to SeaBIOS
@ 2011-08-10 16:51 Stefan Berger
  2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 1/9] Add an implementation of a TPM TIS driver Stefan Berger
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Stefan Berger @ 2011-08-10 16:51 UTC (permalink / raw)
  To: stefanb, seabios; +Cc: qemu-devel

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

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-08-19 19:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 16:51 [Qemu-devel] [PATCH V6 0/9] Add TPM support to SeaBIOS Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 1/9] Add an implementation of a TPM TIS driver Stefan Berger
2011-08-12 14:39   ` [Qemu-devel] [SeaBIOS] " Andreas Niederl
2011-08-16 15:33     ` Stefan Berger
2011-08-19 17:33   ` Marc Jones
2011-08-19 19:13     ` Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 2/9] Provide ACPI SSDT table for TPM device + S3 resume support Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 3/9] Add public get_rsdp function Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 4/9] Implementation of the TCG BIOS extensions Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 5/9] Support for BIOS interrupt handler Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 6/9] Add measurement code to the BIOS Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 7/9] Add a menu for TPM control Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 8/9] Support for Qemu-provided measurements Stefan Berger
2011-08-10 16:51 ` [Qemu-devel] [PATCH V6 9/9] Optional tests for the TIS interface Stefan Berger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).