• Marc-André Lureau's avatar
    tpm: add CRB device · 4ab6cb4c
    Marc-André Lureau authored
    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: 's avatarMarc-André Lureau <marcandre.lureau@redhat.com>
    Reviewed-by: 's avatarStefan Berger <stefanb@linux.vnet.ibm.com>
    Signed-off-by: 's avatarStefan Berger <stefanb@linux.vnet.ibm.com>
    4ab6cb4c
Name
Last commit
Last update
..
acpi-test-data Loading commit data...
data Loading commit data...
docker Loading commit data...
guest-debug Loading commit data...
image-fuzzer Loading commit data...
keys Loading commit data...
libqos Loading commit data...
migration Loading commit data...
multiboot Loading commit data...
qapi-schema Loading commit data...
qemu-iotests Loading commit data...
rocker Loading commit data...
tcg Loading commit data...
vm Loading commit data...
vmstate-static-checker-data Loading commit data...
.gitignore Loading commit data...
Makefile.include Loading commit data...
ac97-test.c Loading commit data...
acpi-utils.c Loading commit data...
acpi-utils.h Loading commit data...
ahci-test.c Loading commit data...
atomic_add-bench.c Loading commit data...
benchmark-crypto-cipher.c Loading commit data...
benchmark-crypto-hash.c Loading commit data...
benchmark-crypto-hmac.c Loading commit data...
bios-tables-test.c Loading commit data...
boot-order-test.c Loading commit data...
boot-sector.c Loading commit data...
boot-sector.h Loading commit data...
boot-serial-test.c Loading commit data...
check-block.sh Loading commit data...
check-qdict.c Loading commit data...
check-qjson.c Loading commit data...
check-qlist.c Loading commit data...
check-qlit.c Loading commit data...
check-qnull.c Loading commit data...
check-qnum.c Loading commit data...
check-qobject.c Loading commit data...
check-qom-interface.c Loading commit data...
check-qom-proplist.c Loading commit data...
check-qstring.c Loading commit data...
cpu-plug-test.c Loading commit data...
crypto-tls-x509-helpers.c Loading commit data...
crypto-tls-x509-helpers.h Loading commit data...
device-introspect-test.c Loading commit data...
display-vga-test.c Loading commit data...
drive_del-test.c Loading commit data...
ds1338-test.c Loading commit data...
e1000-test.c Loading commit data...
e1000e-test.c Loading commit data...
eepro100-test.c Loading commit data...
endianness-test.c Loading commit data...
es1370-test.c Loading commit data...
fdc-test.c Loading commit data...
fw_cfg-test.c Loading commit data...
hd-geo-test.c Loading commit data...
i440fx-test.c Loading commit data...
i82801b11-test.c Loading commit data...
ide-test.c Loading commit data...
intel-hda-test.c Loading commit data...
io-channel-helpers.c Loading commit data...
io-channel-helpers.h Loading commit data...
ioh3420-test.c Loading commit data...
iothread.c Loading commit data...
iothread.h Loading commit data...
ipmi-bt-test.c Loading commit data...
ipmi-kcs-test.c Loading commit data...
ipoctal232-test.c Loading commit data...
ivshmem-test.c Loading commit data...
libqtest.c Loading commit data...
libqtest.h Loading commit data...
m25p80-test.c Loading commit data...
m48t59-test.c Loading commit data...
megasas-test.c Loading commit data...
migration-test.c Loading commit data...
ne2000-test.c Loading commit data...
numa-test.c Loading commit data...
nvme-test.c Loading commit data...
pcnet-test.c Loading commit data...
pkix_asn1_tab.c Loading commit data...
pnv-xscom-test.c Loading commit data...
prom-env-test.c Loading commit data...
ptimer-test-stubs.c Loading commit data...
ptimer-test.c Loading commit data...
ptimer-test.h Loading commit data...
pvpanic-test.c Loading commit data...
pxe-test.c Loading commit data...
q35-test.c Loading commit data...
qemu-iotests-quick.sh Loading commit data...
qht-bench.c Loading commit data...
qmp-test.c Loading commit data...
qom-test.c Loading commit data...
rcutorture.c Loading commit data...
rtas-test.c Loading commit data...
rtc-test.c Loading commit data...
rtl8139-test.c Loading commit data...
spapr-phb-test.c Loading commit data...
tco-test.c Loading commit data...
test-aio-multithread.c Loading commit data...
test-aio.c Loading commit data...
test-arm-mptimer.c Loading commit data...
test-base64.c Loading commit data...
test-bdrv-drain.c Loading commit data...
test-bitcnt.c Loading commit data...
test-bitops.c Loading commit data...
test-blockjob-txn.c Loading commit data...
test-blockjob.c Loading commit data...
test-bufferiszero.c Loading commit data...
test-char.c Loading commit data...
test-clone-visitor.c Loading commit data...
test-coroutine.c Loading commit data...
test-crypto-afsplit.c Loading commit data...
test-crypto-block.c Loading commit data...
test-crypto-cipher.c Loading commit data...
test-crypto-hash.c Loading commit data...
test-crypto-hmac.c Loading commit data...
test-crypto-ivgen.c Loading commit data...
test-crypto-pbkdf.c Loading commit data...
test-crypto-secret.c Loading commit data...
test-crypto-tlscredsx509.c Loading commit data...
test-crypto-tlssession.c Loading commit data...
test-crypto-xts.c Loading commit data...
test-cutils.c Loading commit data...
test-filter-mirror.c Loading commit data...
test-filter-redirector.c Loading commit data...
test-hbitmap.c Loading commit data...
test-hmp.c Loading commit data...
test-int128.c Loading commit data...
test-io-channel-buffer.c Loading commit data...
test-io-channel-command.c Loading commit data...
test-io-channel-file.c Loading commit data...
test-io-channel-socket.c Loading commit data...
test-io-channel-tls.c Loading commit data...
test-io-task.c Loading commit data...
test-iov.c Loading commit data...
test-keyval.c Loading commit data...
test-logging.c Loading commit data...
test-mul64.c Loading commit data...
test-netfilter.c Loading commit data...
test-opts-visitor.c Loading commit data...
test-qapi-util.c Loading commit data...
test-qdev-global-props.c Loading commit data...
test-qdist.c Loading commit data...
test-qemu-opts.c Loading commit data...
test-qga.c Loading commit data...
test-qht-par.c Loading commit data...
test-qht.c Loading commit data...
test-qmp-commands.c Loading commit data...
test-qmp-event.c Loading commit data...
test-qobject-input-visitor.c Loading commit data...
test-qobject-output-visitor.c Loading commit data...
test-rcu-list.c Loading commit data...
test-replication.c Loading commit data...
test-shift128.c Loading commit data...
test-string-input-visitor.c Loading commit data...
test-string-output-visitor.c Loading commit data...
test-thread-pool.c Loading commit data...
test-throttle.c Loading commit data...
test-timed-average.c Loading commit data...
test-uuid.c Loading commit data...
test-visitor-serialization.c Loading commit data...
test-vmstate.c Loading commit data...
test-write-threshold.c Loading commit data...
test-x86-cpuid-compat.c Loading commit data...
test-x86-cpuid.c Loading commit data...
test-xbzrle.c Loading commit data...
tmp105-test.c Loading commit data...
tpci200-test.c Loading commit data...
tpm-crb-test.c Loading commit data...
usb-hcd-ehci-test.c Loading commit data...
usb-hcd-ohci-test.c Loading commit data...
usb-hcd-uhci-test.c Loading commit data...
usb-hcd-xhci-test.c Loading commit data...
vhost-user-bridge.c Loading commit data...
vhost-user-test.c Loading commit data...
virtio-9p-test.c Loading commit data...
virtio-balloon-test.c Loading commit data...
virtio-blk-test.c Loading commit data...
virtio-console-test.c Loading commit data...
virtio-net-test.c Loading commit data...
virtio-rng-test.c Loading commit data...
virtio-scsi-test.c Loading commit data...
virtio-serial-test.c Loading commit data...
vmgenid-test.c Loading commit data...
vmxnet3-test.c Loading commit data...
wdt_ib700-test.c Loading commit data...