SLOF/board-qemu/slof
Stefan Berger ae2e38c3ad tcgbios: Add TPM 2.0 support and firmware API
This patch adds TPM 2.0 support along with the firmware API that Linux
uses to transfer the firmware log.

The firmware API follows the "PFW Virtual TPM Driver" specification.
The API has callers in existing Linux code (prom_init.c) from TPM 1.2
times but the API also works for TPM 2.0 without modifications.

The TPM 2.0 support logs PCR extensions of measurements of code and data.
For this part we follow the TCG specification "TCG PC Client
Platform Firmware Profile Specification" (section "Event Logging").

Other relevant specs for the construction of TPM commands are:
- Trusted Platform Module Library; Part 2 Structures
- Trusted Platform Module Library; Part 3 Commands

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
[aik: removed new blank lines at EOF]
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
2020-02-21 14:03:07 +11:00
..
.gitignore Update .gitignore files 2012-10-17 16:30:58 +11:00
Makefile tcgbios: Add TPM 2.0 support and firmware API 2020-02-21 14:03:07 +11:00
OF.fs dma: Define default dma methods for using by client/package instances 2019-12-05 14:41:07 +11:00
archsupport.fs fdt: Fix updating the tree at H_CAS 2019-12-05 15:18:54 +11:00
copyright-oss.fs logo: Update the logo 2017-04-26 14:29:25 +10:00
dev-null.fs dev-null: The "read" function has to return 0 if nothing has been read 2016-02-24 11:38:02 +11:00
e1k.fs e1000: fix usage of multiple nics 2014-04-08 17:45:09 +05:30
fdt-fl.fs fdt: Pass the resulting device tree to QEMU 2017-11-06 13:28:49 +11:00
fdt.fs fdt: Delete nodes of devices removed between boot and CAS 2020-02-21 14:03:07 +11:00
header.fs Remove unused SLOF code 2014-04-25 15:40:12 +05:30
helper.fs board-qemu: Fix slof-build-id length 2017-11-06 13:28:49 +11:00
hvterm.fs Output banner and initial display output in VNC window 2013-12-16 11:56:42 +05:30
pci-aliases.fs Set up PCI nodes on board-qemu 2011-10-12 16:21:48 +02:00
pci-capabilities.fs Added ibm,req#msi and ibm,req#msi-x to device nodes 2012-07-31 16:24:30 +10:00
pci-device_1af4_1000.fs Support for virtio-net PCI devices 2011-11-24 11:56:03 +01:00
pci-device_1af4_1001.fs virtio: introduce helper for initializing virt queue 2016-02-08 16:40:38 +11:00
pci-device_1af4_1003.fs Add virtio-serial device support 2016-10-13 10:47:05 +11:00
pci-device_1af4_1004.fs SLOF: virtio-scsi block driver code 2013-06-05 16:12:39 +10:00
pci-device_1af4_1009.fs virtio: Set a proper name for virtio-9p device tree nodes 2016-05-02 14:04:05 +10:00
pci-device_1af4_1041.fs virtio-net: enable virtio 1.0 2016-02-08 16:40:39 +11:00
pci-device_1af4_1042.fs virtio-blk: enable virtio 1.0 2016-02-08 16:40:39 +11:00
pci-device_1af4_1043.fs Add virtio-serial device support 2016-10-13 10:47:05 +11:00
pci-device_1af4_1048.fs virtio-scsi: enable virtio 1.0 2016-02-11 12:44:27 +11:00
pci-device_1af4_1049.fs virtio: Add modern version 1.0 support to 9p driver 2016-05-02 14:04:27 +10:00
pci-device_1af4_1050.fs Do not try to use virtio-gpu in VGA mode 2016-11-14 19:13:31 +11:00
pci-device_1013_00b8.fs Set default palette according to "16-color Text Extension" document 2015-03-12 18:25:35 +11:00
pci-device_1234_1111.fs vga: Add support for virtio-vga 2015-09-30 15:10:54 +10:00
pci-device_8086_100e.fs Add e1000 network driver in libe1k 2013-10-04 12:00:18 +05:30
pci-interrupts.fs Source code beautification of board-qemu/slof/pci-interrupts.fs 2016-09-14 16:39:45 +10:00
pci-phb.fs pci-phb: Reimplement dma-map-in/out 2019-12-05 14:40:52 +11:00
qemu-bootlist.fs Increase MAX-ALIAS to 10 2017-06-07 14:22:09 +10:00
qemu-vga.fs vga: Add support for virtio-vga 2015-09-30 15:10:54 +10:00
rtas-nvram.fs SLOF: Support PAPR NVRAM RTAS calls 2012-10-17 16:30:58 +11:00
rtas.fs rtas: Integrate RTAS blob 2019-07-18 16:36:03 +10:00
tree.fs tcgbios: Add TPM 2.0 support and firmware API 2020-02-21 14:03:07 +11:00
version.S Output banner and initial display output in VNC window 2013-12-16 11:56:42 +05:30
vio-hvterm.fs hvterm: Update hvterm routines to take the termno as an argument 2011-12-20 17:56:48 +01:00
vio-veth.fs Find next available alias name 2013-12-06 16:16:49 +05:30
vio-vscsi.fs vio-vscsi: Support multiple channels / buses 2019-01-10 18:21:05 +11:00
vio-vtpm-cdriver.fs tcgbios: Add TPM 2.0 support and firmware API 2020-02-21 14:03:07 +11:00
virtio-block.fs virtio: Implement block write support 2016-11-24 23:24:23 +11:00
virtio-fs.fs virtio: add and enable 1.0 device setup 2016-02-08 16:40:39 +11:00
virtio-net.fs virtio-net: rework the driver to support multiple open 2017-08-07 18:24:58 +10:00
virtio-scsi.fs virtio-scsi: Allow LUNs bigger than 255 2017-07-19 13:25:33 +10:00
virtio-serial.fs Add virtio-serial device support 2016-10-13 10:47:05 +11:00
vtpm-sml.fs tcgbios: Add TPM 2.0 support and firmware API 2020-02-21 14:03:07 +11:00