qemu/docs/specs
Stefan Berger ac6dd31e3f acpi: build TPM Physical Presence interface
The TPM Physical Presence interface consists of an ACPI part, a shared
memory part, and code in the firmware. Users can send messages to the
firmware by writing a code into the shared memory through invoking the
ACPI code. When a reboot happens, the firmware looks for the code and
acts on it by sending sequences of commands to the TPM.

This patch adds the ACPI code. It is similar to the one in EDK2 but doesn't
assume that SMIs are necessary to use. It uses a similar datastructure for
the shared memory as EDK2 does so that EDK2 and SeaBIOS could both make use
of it. I extended the shared memory data structure with an array of 256
bytes, one for each code that could be implemented. The array contains
flags describing the individual codes. This decouples the ACPI implementation
from the firmware implementation.

The underlying TCG specification is accessible from the following page.

https://trustedcomputinggroup.org/tcg-physical-presence-interface-specification/

This patch implements version 1.30.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
[ Marc-André - ACPI code improvements and windows fixes ]
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@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>
2019-01-17 21:10:57 -05:00
..
acpi_cpu_hotplug.txt docs: update ACPI CPU hotplug spec with new protocol 2016-06-24 05:20:22 +03:00
acpi_mem_hotplug.txt pc: memhp: move nvdimm hotplug out of memory hotplug 2016-11-15 17:20:37 +02:00
acpi_nvdimm.txt docs: Grammar and spelling fixes 2018-07-13 10:16:04 +01:00
acpi_pci_hotplug.txt acpi_piix4: Re-define PCI hotplug eject register read 2012-04-15 12:17:23 +03:00
edu.txt hw/misc/edu: support MSI interrupt 2016-10-04 10:00:25 +02:00
fw_cfg.txt fw-cfg: bump "x-file-slots" to 0x20 for 2.9+ machine types 2017-01-18 22:59:53 +02:00
ivshmem-spec.txt hw/misc/ivshmem: Remove deprecated "ivshmem" legacy device 2019-01-14 19:31:04 -05:00
pci-ids.txt allocate pci id for mdpy 2018-05-23 03:14:40 +03:00
pci-serial.txt serial: add pci-serial documentation 2012-10-22 13:26:42 -05:00
pci-testdev.txt pci-testdev: add optional memory bar 2018-11-05 13:24:02 -05:00
ppc-spapr-hcalls.txt docs: Grammar and spelling fixes 2018-07-13 10:16:04 +01:00
ppc-spapr-hotplug.txt spapr: Support ibm,dynamic-memory-v2 property 2018-04-27 18:05:23 +10:00
pvpanic.txt pvpanic: add document of pvpanic 2013-04-30 10:30:01 -05:00
rocker.txt Fix some typos found by codespell 2016-05-18 15:04:27 +03:00
standard-vga.txt display/stdvga: add edid support. 2018-09-27 08:07:51 +02:00
tpm.txt acpi: build TPM Physical Presence interface 2019-01-17 21:10:57 -05:00
vmcoreinfo.txt docs/vmcoreinfo: detail unsupported host format behaviour 2018-03-01 18:17:47 +02:00
vmgenid.txt docs: VM Generation ID device description 2017-03-02 07:14:26 +02:00
vmw_pvscsi-spec.txt scsi: VMWare PVSCSI paravirtual device implementation 2013-04-19 10:44:17 +02:00