qemu/tests
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-test-data ACPI/unit-test: Add a testcase for RAM allocation in numa node 2018-01-18 21:52:38 +02:00
data
docker tests/docker: add test-debug 2018-01-12 13:22:02 +01:00
guest-debug
image-fuzzer
keys
libqos
migration
multiboot
qapi-schema
qemu-iotests iotest 205: new test for qmp nbd-server-remove 2018-01-26 09:37:21 -06:00
rocker
tcg maint: Fix macros with broken 'do/while(0); ' usage 2018-01-16 14:54:52 +01:00
vm
vmstate-static-checker-data
.gitignore tests/.gitignore: Add test-bdrv-drain 2018-01-23 12:33:07 +01:00
ac97-test.c
acpi-utils.c
acpi-utils.h maint: Fix macros with broken 'do/while(0); ' usage 2018-01-16 14:54:52 +01:00
ahci-test.c blockdev: Mark BD-{remove,insert}-medium stable 2018-01-23 12:34:42 +01:00
atomic_add-bench.c
benchmark-crypto-cipher.c
benchmark-crypto-hash.c
benchmark-crypto-hmac.c
bios-tables-test.c tests: acpi: add comments to fetch_rsdt_referenced_tables/data->tables usage 2018-01-18 21:52:39 +02:00
boot-order-test.c
boot-sector.c
boot-sector.h
boot-serial-test.c tests/boot-serial-test: fix powernv support 2018-01-17 09:35:24 +11:00
check-block.sh
check-qdict.c
check-qjson.c
check-qlist.c
check-qlit.c
check-qnull.c
check-qnum.c
check-qobject.c tests: fix check-qobject leak 2018-01-16 14:54:49 +01:00
check-qom-interface.c
check-qom-proplist.c
check-qstring.c
cpu-plug-test.c tests/cpu-plug-test: Test CPU hot-plugging on s390x 2018-01-22 08:39:05 +01:00
crypto-tls-x509-helpers.c
crypto-tls-x509-helpers.h
device-introspect-test.c
display-vga-test.c
drive_del-test.c
ds1338-test.c
e1000-test.c
e1000e-test.c
eepro100-test.c
endianness-test.c
es1370-test.c
fdc-test.c
fw_cfg-test.c
hd-geo-test.c
i440fx-test.c
i82801b11-test.c
ide-test.c
intel-hda-test.c
io-channel-helpers.c
io-channel-helpers.h
ioh3420-test.c
iothread.c
iothread.h
ipmi-bt-test.c
ipmi-kcs-test.c
ipoctal232-test.c
ivshmem-test.c
libqtest.c
libqtest.h
m25p80-test.c
m48t59-test.c
Makefile.include tpm: add CRB device 2018-01-29 14:22:50 -05:00
megasas-test.c
migration-test.c migration: Revert postcopy-blocktime commit set 2018-01-23 10:08:05 +00:00
ne2000-test.c
numa-test.c
nvme-test.c
pcnet-test.c
pkix_asn1_tab.c
pnv-xscom-test.c ppc/pnv: fix XSCOM core addressing on POWER9 2018-01-17 09:35:24 +11:00
prom-env-test.c
ptimer-test-stubs.c
ptimer-test.c
ptimer-test.h
pvpanic-test.c
pxe-test.c tests/pxe-test: Add some extra tests 2017-12-21 02:16:48 +02:00
q35-test.c
qemu-iotests-quick.sh
qht-bench.c
qmp-test.c tests: fix qmp-test leak 2018-01-16 14:54:50 +01:00
qom-test.c
rcutorture.c
rtas-test.c
rtc-test.c
rtl8139-test.c
spapr-phb-test.c
tco-test.c
test-aio-multithread.c
test-aio.c
test-arm-mptimer.c
test-base64.c
test-bdrv-drain.c test-bdrv-drain: Test graph changes in drained section 2017-12-22 15:05:32 +01:00
test-bitcnt.c
test-bitops.c
test-blockjob-txn.c
test-blockjob.c
test-bufferiszero.c
test-char.c test: add some chardev mux event tests 2017-12-21 09:30:32 +01:00
test-clone-visitor.c
test-coroutine.c tests: fix coroutine leak in /basic/entered 2018-01-16 14:54:50 +01:00
test-crypto-afsplit.c
test-crypto-block.c
test-crypto-cipher.c
test-crypto-hash.c
test-crypto-hmac.c
test-crypto-ivgen.c
test-crypto-pbkdf.c
test-crypto-secret.c
test-crypto-tlscredsx509.c
test-crypto-tlssession.c
test-crypto-xts.c
test-cutils.c
test-filter-mirror.c
test-filter-redirector.c
test-hbitmap.c
test-hmp.c
test-int128.c
test-io-channel-buffer.c
test-io-channel-command.c
test-io-channel-file.c
test-io-channel-socket.c
test-io-channel-tls.c
test-io-task.c
test-iov.c
test-keyval.c
test-logging.c
test-mul64.c
test-netfilter.c
test-opts-visitor.c
test-qapi-util.c
test-qdev-global-props.c
test-qdist.c
test-qemu-opts.c
test-qga.c
test-qht-par.c
test-qht.c
test-qmp-commands.c
test-qmp-event.c
test-qobject-input-visitor.c
test-qobject-output-visitor.c
test-rcu-list.c
test-replication.c
test-shift128.c
test-string-input-visitor.c
test-string-output-visitor.c
test-thread-pool.c
test-throttle.c
test-timed-average.c
test-uuid.c
test-visitor-serialization.c
test-vmstate.c
test-write-threshold.c
test-x86-cpuid-compat.c
test-x86-cpuid.c
test-xbzrle.c
tmp105-test.c
tpci200-test.c
tpm-crb-test.c tpm: add CRB device 2018-01-29 14:22:50 -05:00
usb-hcd-ehci-test.c
usb-hcd-ohci-test.c
usb-hcd-uhci-test.c
usb-hcd-xhci-test.c
vhost-user-bridge.c tests: Avoid 'do/while(false); ' in vhost-user-bridge 2018-01-16 14:54:52 +01:00
vhost-user-test.c vhost-user-test: use init_virtio_dev in multiqueue test 2018-01-18 21:52:38 +02:00
virtio-9p-test.c tests: virtio-9p: set DRIVER_OK before using the device 2018-01-08 11:18:23 +01:00
virtio-balloon-test.c
virtio-blk-test.c
virtio-console-test.c
virtio-net-test.c
virtio-rng-test.c
virtio-scsi-test.c
virtio-serial-test.c
vmgenid-test.c
vmxnet3-test.c
wdt_ib700-test.c