From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56125) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuUXL-0001KV-SG for qemu-devel@nongnu.org; Fri, 19 Aug 2011 15:15:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuUXK-00040s-NQ for qemu-devel@nongnu.org; Fri, 19 Aug 2011 15:15:23 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:49174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuUXK-0003t9-I8 for qemu-devel@nongnu.org; Fri, 19 Aug 2011 15:15:22 -0400 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e36.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id p7JJ8oKu002402 for ; Fri, 19 Aug 2011 13:08:50 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p7JJDhsO107268 for ; Fri, 19 Aug 2011 13:13:49 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p7JDDgPB028278 for ; Fri, 19 Aug 2011 07:13:42 -0600 Message-ID: <4E4EB5E6.1070402@linux.vnet.ibm.com> Date: Fri, 19 Aug 2011 15:13:42 -0400 From: Stefan Berger MIME-Version: 1.0 References: <20110810165122.639452836@linux.vnet.ibm.com> <20110810165136.716893022@linux.vnet.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [SeaBIOS] [PATCH V6 1/9] Add an implementation of a TPM TIS driver List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marc Jones Cc: seabios@seabios.org, qemu-devel@nongnu.org On 08/19/2011 01:33 PM, Marc Jones wrote: > On Wed, Aug 10, 2011 at 10:51 AM, Stefan Berger > 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 > 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