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

From: Jason Gunthorpe
Date: Thu Jun 13 2019 - 19:49:01 EST


On Thu, Jun 13, 2019 at 11:09:31AM -0700, Stephen Boyd wrote:
> From: Andrey Pronin <apronin@xxxxxxxxxxxx>
>
> Userland scripts and tests rely on certain sysfs attributes
> present in the familiar location:
> /sys/class/tpm/tpm0/device/enabled
> /sys/class/tpm/tpm0/device/owned

no, we are expecting TPM2 userspace to use the new names and
locations. TPM2 is already not compatible with TPM1

Jason