aboutsummaryrefslogtreecommitdiff
path: root/io/channel-command.c
diff options
context:
space:
mode:
authorLiam Merwick <liam.merwick@oracle.com>2019-02-15 13:35:17 +0000
committerStefan Berger <stefanb@linux.vnet.ibm.com>2019-02-24 14:46:14 -0500
commit37b55d67c0f001b20b7831db3f9f24f1d453e1de (patch)
tree396b6aeb8a2ece8d23cb70a5189604252ad89392 /io/channel-command.c
parent8eb29f1bf5a974dc4c11d2d1f5e7c7f7a62be116 (diff)
downloadqemu-37b55d67c0f001b20b7831db3f9f24f1d453e1de.zip
qemu-37b55d67c0f001b20b7831db3f9f24f1d453e1de.tar.gz
qemu-37b55d67c0f001b20b7831db3f9f24f1d453e1de.tar.bz2
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>
Diffstat (limited to 'io/channel-command.c')
0 files changed, 0 insertions, 0 deletions