tpm: add a "ppi" boolean property
commitb6148757f9baa2de11304c09aaf9f9a276c825cd
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 14 Jan 2019 22:27:49 +0000 (15 02:27 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 18 Jan 2019 02:10:57 +0000 (17 21:10 -0500)
treede6e54bff2ccff80596eb21e9c0dc14dc16d5921
parent812e710a9624a3bf3c8bb126ac546b683edb60d5
tpm: add a "ppi" boolean property

The following patches implement the TPM Physical Presence Interface,
make use of a new memory region and a fw_cfg entry. Enable PPI by
default with >=4.0 machine type, to avoid migration issues.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/core/machine.c
hw/tpm/tpm_crb.c
hw/tpm/tpm_tis.c