qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Berger <stefanb@linux.vnet.ibm.com>
To: Marc Jones <marcj303@gmail.com>
Cc: seabios@seabios.org, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [SeaBIOS] [PATCH V6 1/9] Add an implementation of a TPM TIS driver
Date: Fri, 19 Aug 2011 15:13:42 -0400	[thread overview]
Message-ID: <4E4EB5E6.1070402@linux.vnet.ibm.com> (raw)
In-Reply-To: <CALrs_3ieuVhcGkD17o5MtYD0aU9eonQ6gAF=+qFC1vGAMUyUVQ@mail.gmail.com>

On 08/19/2011 01:33 PM, Marc Jones wrote:
> On Wed, Aug 10, 2011 at 10:51 AM, Stefan Berger
> <stefanb@linux.vnet.ibm.com>  wrote:
>> This patch adds an implementation of a TPM TIS driver for the TPM TIS
>> emulation supported by Qemu (patches posted, not in git yet). Usage of the
>> driver is broken up into several functions. The driver is cleanly separated
>> from the rest of the code through an interface holding pointers to the driver's
>> functions. A client using this driver first probes whether the TPM TIS
>> interface is available (probe function) and then invokes the interface
>> function to initialze the interface and send requests and receive responses.
>>
>> Possible future extensions *could* include a virtio interface for the TPM
>> with a corresponding driver here.
>>
>> v6:
>>   - reworked timeouts; not hardcoded anymore
>>
>> v5:
>>   - introducing a configurable threashold as part of the driver interface
>>     structure below which the TPM is used for calculating the sha1
>>
>> v2:
>>   - adapted tpm_drivers.c to be under LGPLv3
>>
>> Signed-off-by: Stefan Berger<stefanb@linux.vnet.ibm.com>
> Hi Stefan,
>
> Please excuse my TPM ignorance, but is the emulation of a specific
> hardware device or has the TCG defined the registers etc for TPM
> hardware?
>
Qemu patches provide the emulation of the specific hardware device that 
TCG (trusted comp. group) has defined the registers for. SeaBIOS 
implements a driver for it.

    Stefan

  reply	other threads:[~2011-08-19 19:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=4E4EB5E6.1070402@linux.vnet.ibm.com \
    --to=stefanb@linux.vnet.ibm.com \
    --cc=marcj303@gmail.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 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).