Re: [PATCH 7/8] tpm: add sysfs attributes for tpm2

From: Jarkko Sakkinen
Date: Fri Jun 14 2019 - 11:36:30 EST


On Thu, Jun 13, 2019 at 11:09:30AM -0700, Stephen Boyd wrote:
> From: Andrey Pronin <apronin@xxxxxxxxxxxx>
>
> Add sysfs attributes in TPM2.0 case for:
> - TPM_PT_PERMANENT flags
> - TPM_PT_STARTUP_CLEAR flags
> - lockout-related properties
>
> Signed-off-by: Andrey Pronin <apronin@xxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
> ---

You can use /dev/tpm0 for this from user space.

/Jarkko