mirror_qemu/include/hw/acpi
Marc-André Lureau 4ab6cb4c62 tpm: add CRB device
tpm_crb is a device for TPM 2.0 Command Response Buffer (CRB)
Interface as defined in TCG PC Client Platform TPM Profile (PTP)
Specification Family “2.0” Level 00 Revision 01.03 v22.

The PTP allows device implementation to switch between TIS and CRB
model at run time, but given that CRB is a simpler device to
implement, I chose to implement it as a different device.

The device doesn't implement other locality than 0 for now (my laptop
TPM doesn't either, so I assume this isn't so bad)

Tested with some success with Linux upstream and Windows 10, seabios &
modified ovmf. The device is recognized and correctly transmit
command/response with passthrough & emu. However, we are missing PPI
ACPI part atm.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2018-01-29 14:22:50 -05:00
..
acpi-defs.h acpi: Update TPM2 ACPI table to more recent specs 2017-12-22 11:03:21 -05:00
acpi.h hw/acpi: ACPI_PM_* defines are not restricted to i386 arch 2017-12-18 17:07:02 +03:00
acpi_dev_interface.h ACPI: Add Virtual Machine Generation ID support 2017-03-02 07:14:27 +02:00
aml-build.h pci, virtio, vhost: fixes 2017-05-18 10:01:08 +01:00
bios-linker-loader.h vmgenid: replace x-write-pointer-available hack 2017-09-08 16:15:17 +03:00
cpu.h pc: use new CPU hotplug interface since 2.7 machine type 2016-06-24 05:21:38 +03:00
cpu_hotplug.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
ich9.h hw/acpi/ich9: extract ACPI_PM_PROP_TCO_ENABLED from i386/pc 2017-12-18 17:07:02 +03:00
ipmi.h hw: remove "qemu/osdep.h" from header files 2017-12-18 17:07:02 +03:00
memory_hotplug.h migration: Remove unneeded includes of migration/vmstate.h 2017-06-01 18:49:22 +02:00
pc-hotplug.h memhp: don't generate memory hotplug AML if it's not enabled/supported 2017-01-10 07:03:24 +02:00
pcihp.h migration: Remove unneeded includes of migration/vmstate.h 2017-06-01 18:49:22 +02:00
piix4.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
tco.h Use scripts/clean-includes to drop redundant qemu/typedefs.h 2016-03-22 22:20:16 +01:00
tpm.h tpm: add CRB device 2018-01-29 14:22:50 -05:00
vmgenid.h vmgenid: replace x-write-pointer-available hack 2017-09-08 16:15:17 +03:00