From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yo0wA-0002vn-VJ for qemu-devel@nongnu.org; Thu, 30 Apr 2015 22:44:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yo0w6-0004ez-Tx for qemu-devel@nongnu.org; Thu, 30 Apr 2015 22:44:22 -0400 Received: from e7.ny.us.ibm.com ([32.97.182.137]:51124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yo0w6-0004ei-PB for qemu-devel@nongnu.org; Thu, 30 Apr 2015 22:44:18 -0400 Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 30 Apr 2015 22:44:16 -0400 Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 92E5C38C8026 for ; Thu, 30 Apr 2015 22:44:13 -0400 (EDT) Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t412iDDo57475084 for ; Fri, 1 May 2015 02:44:13 GMT Received: from d01av04.pok.ibm.com (localhost [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t412iCqf005343 for ; Thu, 30 Apr 2015 22:44:13 -0400 From: Stefan Berger Date: Thu, 30 Apr 2015 22:44:05 -0400 Message-Id: <1430448248-2974725-1-git-send-email-stefanb@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/3] tpm: Upgrade TPM TIS for support of a TPM 2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mst@redhat.com, qemu-devel@nongnu.org Cc: quan.xu@intel.com, Stefan Berger After the previous upgrade of the TPM TIS to version 1.3, we now upgrade it to support a TPM 2 in the backend. Stefan Berger (3): Extend TPM TIS interface to support TPM 2 tpm: Probe for connected TPM 1.2 or TPM 2 TPM2 ACPI table support backends/tpm.c | 14 +++++ hw/i386/acpi-build.c | 34 ++++++++++-- hw/i386/acpi-defs.h | 18 +++++++ hw/tpm/Makefile.objs | 2 +- hw/tpm/tpm_int.h | 7 +++ hw/tpm/tpm_passthrough.c | 65 ++++++---------------- hw/tpm/tpm_tis.c | 120 +++++++++++++++++++++++++++++++++++++---- hw/tpm/tpm_tis.h | 1 + hw/tpm/tpm_util.c | 126 +++++++++++++++++++++++++++++++++++++++++++ hw/tpm/tpm_util.h | 28 ++++++++++ include/hw/acpi/tpm.h | 5 ++ include/sysemu/tpm.h | 17 +++++- include/sysemu/tpm_backend.h | 23 ++++++++ 13 files changed, 395 insertions(+), 65 deletions(-) create mode 100644 hw/tpm/tpm_util.c create mode 100644 hw/tpm/tpm_util.h -- 1.9.3