All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: stefanb@linux.vnet.ibm.com, seabios@seabios.org
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH V4 0/8] Add TPM support to SeaBIOS
Date: Tue, 12 Apr 2011 09:32:34 -0400	[thread overview]
Message-ID: <20110412133234.861465124@linux.vnet.ibm.com> (raw)

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

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

             reply	other threads:[~2011-04-12 13:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 13:32 Stefan Berger [this message]
2011-04-12 13:32 ` [Qemu-devel] [PATCH V4 1/8] Add an implementation for a TPM TIS driver Stefan Berger
2011-04-12 13:32 ` [Qemu-devel] [PATCH V4 2/8] Provide ACPI SSDT table for TPM device + S3 resume support Stefan Berger
2011-05-18 19:49   ` Stefan Berger
2011-05-18 23:44     ` Kevin O'Connor
2011-05-19  1:18       ` Stefan Berger
2011-04-12 13:32 ` [Qemu-devel] [PATCH V4 3/8] Add public get_rsdp function Stefan Berger
2011-04-12 13:32 ` [Qemu-devel] [PATCH V4 4/8] Implementation of the TCG BIOS extensions Stefan Berger
2011-04-12 13:32 ` [Qemu-devel] [PATCH V4 5/8] Support for BIOS interrupt handler Stefan Berger
2011-04-12 13:32 ` [Qemu-devel] [PATCH V4 6/8] Add measurement code to the BIOS Stefan Berger
2011-04-12 13:32 ` [Qemu-devel] [PATCH V4 7/8] Add a menu for TPM control Stefan Berger
2011-04-12 13:32 ` [Qemu-devel] [PATCH V4 8/8] Optional tests for the TIS interface Stefan Berger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110412133234.861465124@linux.vnet.ibm.com \
    --to=stefanb@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.