From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37894) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG7mK-0005DN-BO for qemu-devel@nongnu.org; Mon, 04 Jan 2016 11:14:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aG7mF-0005Xu-9C for qemu-devel@nongnu.org; Mon, 04 Jan 2016 11:14:40 -0500 Received: from e18.ny.us.ibm.com ([129.33.205.208]:58960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aG7mF-0005Xg-3W for qemu-devel@nongnu.org; Mon, 04 Jan 2016 11:14:35 -0500 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 4 Jan 2016 11:14:34 -0500 From: Stefan Berger Date: Mon, 4 Jan 2016 11:14:21 -0500 Message-Id: <1451924064-8625-1-git-send-email-stefanb@us.ibm.com> Subject: [Qemu-devel] [PATCH v2 0/3] Add TPM support to ppc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: thuth@redhat.com, aik@au1.ibm.com, nikunj@linux.vnet.ibm.com, agraf@suse.de, qemu-devel@nongnu.org, jb613w@att.com, Stefan Berger The following series of patches adds TPM support for ppc64. The CUSE TPM backend, which is part of the TPM passthrough backend, should be considered for providing a private vTPM to a VM. The series implementing support for this has been posted here: http://lists.gnu.org/archive/html/qemu-devel/2016-01/msg00086.html Stefan Berger (3): Enable PPC64 with TPM support tpm: remove TPMState usage from backend tpm: Support TPM for ppc64 using CRQ based interface backends/tpm.c | 5 +- configure | 3 +- hw/tpm/Makefile.objs | 2 + hw/tpm/spapr_vtpm.c | 541 +++++++++++++++++++++++++++++++++++++++++++ hw/tpm/spapr_vtpm.h | 65 ++++++ hw/tpm/tpm_passthrough.c | 18 +- hw/tpm/tpm_tis.c | 7 +- include/hw/ppc/spapr_vio.h | 1 + include/sysemu/tpm.h | 1 + include/sysemu/tpm_backend.h | 15 +- qapi-schema.json | 6 +- 11 files changed, 648 insertions(+), 16 deletions(-) create mode 100644 hw/tpm/spapr_vtpm.c create mode 100644 hw/tpm/spapr_vtpm.h -- 2.4.3