Re: [PATCH v2 0/3] Locality support for tpm_crb

From: Jarkko Sakkinen
Date: Sat Dec 03 2016 - 13:40:51 EST


CC linux-security-module

On Sat, Dec 03, 2016 at 07:52:10PM +0200, Jarkko Sakkinen wrote:
> The tpm_crb driver should follow the policy of reserving and
> relinquishing the locality it uses when multiple localities are used,
> like when TXT is another locality.
>
> Jarkko Sakkinen (3):
> tpm_crb: map locality registers
> tpm_crb: encapsulate crb_wait_for_reg_32
> tpm_crb: request and relinquish locality 0
>
> drivers/char/tpm/tpm_crb.c | 159 ++++++++++++++++++++++++++++++---------------
> 1 file changed, 106 insertions(+), 53 deletions(-)
>
> --
> v2: added sanity check for start address of the control area
> 2.9.3
>