qemu-e2k/hw/tpm
Marc-André Lureau ffab1be706 tpm: clear RAM when "memory overwrite" requested
Note: the "Platform Reset Attack Mitigation" specification isn't
explicit about NVDIMM, since they could have different usages. It uses
the term "system memory" generally (and also "volatile memory RAM" in
its introduction). For initial support, I propose to consider
non-volatile memory as not being subject to the memory clear. There is
an on-going discussion in the TCG "pcclientwg" working group for
future revisions.

CPU cache clearing is done unconditionally in edk2 since commit
d20ae95a13e851 (edk2-stable201811).

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2019-01-17 21:10:57 -05:00
..
Makefile.objs tpm: allocate/map buffer for TPM Physical Presence interface 2019-01-17 21:10:57 -05:00
tpm_crb.c tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_emulator.c tpm: Zero-init structure to avoid uninitialized variables in valgrind log 2018-10-30 17:34:22 -04:00
tpm_int.h Clean up includes 2018-02-09 05:05:11 +01:00
tpm_ioctl.h Clean up includes 2018-02-09 05:05:11 +01:00
tpm_passthrough.c Merge tpm 2018/03/07 2018-03-08 12:56:39 +00:00
tpm_ppi.c tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_ppi.h tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_tis.c tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00
tpm_util.c tpm: convert tpm_util.c to use trace-events 2018-03-06 13:00:41 -05:00
tpm_util.h tpm: wrap stX_be_p in tpm_cmd_set_XYZ functions 2018-02-03 09:01:55 -05:00
trace-events tpm: clear RAM when "memory overwrite" requested 2019-01-17 21:10:57 -05:00