mirror_qemu/hw/tpm
Liam Merwick 37b55d67c0 tpm_tis: fix loop that cancels any seizure by a lower locality
In tpm_tis_mmio_write() if the requesting locality is seizing
access, any seizure by a lower locality is cancelled.  However the
loop doing the seizure had an off-by-one error and the locality
immediately preceding the requesting locality was not being cleared.
This is fixed by adjusting the test in the for loop to check the
localities up to the requesting locality.

Signed-off-by: Liam Merwick <Liam.Merwick@oracle.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-02-24 14:46:14 -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_tis: fix loop that cancels any seizure by a lower locality 2019-02-24 14:46:14 -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