qemu/default-configs
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
..
aarch64_be-linux-user.mak configure: Add aarch64_be-linux-user target 2018-01-11 13:25:32 +00:00
aarch64-linux-user.mak default-configs/aarch64-linux-user.mak: Remove unused define 2015-11-24 14:12:15 +00:00
aarch64-softmmu.mak aarch64-softmmu.mak: Use an ARM specific config 2018-01-26 11:09:09 +01:00
alpha-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
alpha-softmmu.mak Split serial-isa into its own config option 2017-02-06 12:33:21 +11:00
arm-linux-user.mak default-configs/: CONFIG_GDBSTUB_XML removed 2013-10-16 18:21:01 +02:00
arm-softmmu.mak xilinx_spips: Add support for the ZynqMP Generic QSPI 2017-12-13 17:59:22 +00:00
armeb-linux-user.mak default-configs/: CONFIG_GDBSTUB_XML removed 2013-10-16 18:21:01 +02:00
cris-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
cris-softmmu.mak hw: move NICs to hw/net/, configure via default-configs/ 2013-04-08 18:13:13 +02:00
hppa-linux-user.mak target-hppa: Add framework and enable compilation 2017-01-23 09:52:40 -08:00
i386-bsd-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
i386-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
i386-softmmu.mak tpm: add CRB device 2018-01-29 14:22:50 -05:00
lm32-softmmu.mak configure: opengl overhaul 2015-03-12 15:49:57 +01:00
m68k-linux-user.mak default-configs/: CONFIG_GDBSTUB_XML removed 2013-10-16 18:21:01 +02:00
m68k-softmmu.mak m68k: Remove PCI and USB from config file 2017-01-14 10:06:21 +01:00
microblaze-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
microblaze-softmmu.mak xlnx-pmu-iomod-intc: Add the PMU Interrupt controller 2018-01-26 11:09:09 +01:00
microblazeel-linux-user.mak microblaze: Correct copy+paste:o in defconfigs 2011-03-01 22:17:52 +01:00
microblazeel-softmmu.mak defconfigs: Piggyback microblazeel on microblaze 2015-04-30 16:05:48 +03:00
mips64-linux-user.mak linux-user: Add default configs for mips64[el] 2012-02-02 17:51:20 +02:00
mips64-softmmu.mak default-configs: add mips-softmmu-common.mak 2016-03-23 13:36:56 +00:00
mips64el-linux-user.mak linux-user: Add default configs for mips64[el] 2012-02-02 17:51:20 +02:00
mips64el-softmmu.mak hw/mips: MIPS Boston board support 2017-02-24 10:37:21 +00:00
mips-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
mips-softmmu-common.mak Split serial-isa into its own config option 2017-02-06 12:33:21 +11:00
mips-softmmu.mak default-configs: add mips-softmmu-common.mak 2016-03-23 13:36:56 +00:00
mipsel-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
mipsel-softmmu.mak default-configs: add mips-softmmu-common.mak 2016-03-23 13:36:56 +00:00
mipsn32-linux-user.mak linux-user: Add default-configs for mipsn32[el] 2012-02-02 17:51:20 +02:00
mipsn32el-linux-user.mak linux-user: Add default-configs for mipsn32[el] 2012-02-02 17:51:20 +02:00
moxie-softmmu.mak Allow ISA bus to be configured out 2017-02-06 12:33:21 +11:00
nios2-linux-user.mak nios2: Add support for Nios-II R1 2017-01-24 13:10:36 -08:00
nios2-softmmu.mak nios2: Add support for Nios-II R1 2017-01-24 13:10:36 -08:00
or1k-linux-user.mak target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
or1k-softmmu.mak openrisc/ompic: Add OpenRISC Multicore PIC (OMPIC) 2017-10-21 06:35:47 +09:00
pci.mak vhost-user-blk: introduce a new vhost-user-blk host device 2018-01-18 21:52:37 +02:00
ppc64-linux-user.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc64-softmmu.mak default-configs/ppc64-softmmu: Include 32-bit configs instead of copying them 2018-01-20 17:09:39 +11:00
ppc64abi32-linux-user.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc64le-linux-user.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc-linux-user.mak build: remove CONFIG_LIBDECNUMBER 2017-10-16 18:03:52 +02:00
ppc-softmmu.mak default-configs/ppc-softmmu: Restructure the switches according to the machines 2018-01-20 17:09:39 +11:00
ppcemb-softmmu.mak hw/ide: Emulate SiI3112 SATA controller 2018-01-10 12:53:00 +11:00
s390x-linux-user.mak s390x: build s390x by default 2011-05-20 17:35:12 +02:00
s390x-softmmu.mak vhost-user-blk: introduce a new vhost-user-blk host device 2018-01-18 21:52:37 +02:00
sh4-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sh4-softmmu.mak Split serial-isa into its own config option 2017-02-06 12:33:21 +11:00
sh4eb-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sh4eb-softmmu.mak Split serial-isa into its own config option 2017-02-06 12:33:21 +11:00
sound.mak audio: Enable all cards 2013-05-03 12:04:49 -05:00
sparc32plus-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc64-bsd-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc64-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc64-softmmu.mak apb: rename apb.c to sabre.c 2018-01-24 19:19:51 +00:00
sparc-bsd-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
sparc-softmmu.mak Allow ISA bus to be configured out 2017-02-06 12:33:21 +11:00
tilegx-linux-user.mak target-tilegx: Add TILE-Gx building files 2015-09-15 07:45:32 -07:00
tricore-softmmu.mak target-tricore: Add initialization for translation and activate target 2014-09-01 14:49:20 +01:00
unicore32-softmmu.mak Allow ISA bus to be configured out 2017-02-06 12:33:21 +11:00
usb.mak hw/usb: Include USB files only if necessary 2015-03-18 11:50:47 +01:00
x86_64-bsd-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
x86_64-linux-user.mak Add new config-devices.mak for each target 2009-10-08 21:17:10 -05:00
x86_64-softmmu.mak tpm: add CRB device 2018-01-29 14:22:50 -05:00
xtensa-softmmu.mak xtensa_lx60: add FLASH support 2011-11-02 05:05:52 +04:00
xtensaeb-softmmu.mak xtensa_lx60: add FLASH support 2011-11-02 05:05:52 +04:00