tpm: CRB: Enforce locality is requested before processing buffer
commit384cf1fc6494b590bb4fe8060d6271717bfb3f4b
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Wed, 28 Mar 2018 19:39:17 +0000 (28 15:39 -0400)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 29 Mar 2018 21:41:02 +0000 (29 17:41 -0400)
treedcad3f11791e550b10be9bd263601135be9ab135
parent025bc9361960ba8a7ce8204a6128d716af0910fa
tpm: CRB: Enforce locality is requested before processing buffer

Section 5.5.3.2.2 of the CRB specs states that use of the TPM
through the localty control method must first be requested,
otherwise the command will be dropped.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
hw/tpm/tpm_crb.c