tpm: CRB: reset locAssigned upon relinquishing locality
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
e1880ed80a
commit
de4a22d0fa
@ -137,6 +137,8 @@ static void tpm_crb_mmio_write(void *opaque, hwaddr addr,
|
||||
/* not loc 3 or 4 */
|
||||
break;
|
||||
case CRB_LOC_CTRL_RELINQUISH:
|
||||
ARRAY_FIELD_DP32(s->regs, CRB_LOC_STATE,
|
||||
locAssigned, 0);
|
||||
break;
|
||||
case CRB_LOC_CTRL_REQUEST_ACCESS:
|
||||
ARRAY_FIELD_DP32(s->regs, CRB_LOC_STS,
|
||||
|
Loading…
Reference in New Issue
Block a user