Re: [PATCH 1/2] tpm: add sysfs attributes for tpm2

From: Jason Gunthorpe
Date: Thu Jul 14 2016 - 23:34:49 EST


On Thu, Jul 14, 2016 at 08:32:01PM -0700, Andrey Pronin wrote:

> tpm2 shares some of the attributes with tpm1 (e.g. timeouts). Do I still
> just add those separately for tpm2 to groups[1] and keep groups[0] empty?

I think so. Since the file never exists for tpm2, nothing coded for
tpm2 will ever look in the old location.

Jason