[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171120221323.252ki4nmmrymnty6@linux.intel.com>
Date: Tue, 21 Nov 2017 00:13:23 +0200
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Guenter Roeck <linux@...ck-us.net>
Cc: Peter Huewe <peterhuewe@....de>,
Andrey Pronin <apronin@...omium.org>,
Jason Gunthorpe <jgunthorpe@...idianresearch.com>,
linux-integrity@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tpm: Add explicit chip->ops locking for sysfs attributes.
On Thu, Nov 16, 2017 at 01:25:01PM -0800, Guenter Roeck wrote:
> Add explicit chip->ops locking for all sysfs attributes.
> This lets us support those attributes on tpm2 devices.
>
> Signed-off-by: Guenter Roeck <linux@...ck-us.net>
> ---
> drivers/char/tpm/tpm-chip.c | 4 --
> drivers/char/tpm/tpm-sysfs.c | 125 ++++++++++++++++++++++++++++++++-----------
> 2 files changed, 93 insertions(+), 36 deletions(-)
I think the patch looks ok (with a quick skim) as code change. We need
it. It should have been already done. Thanks for doing this.
I don't digest the commit message.
You should just to explain why this change needs to be done in order to
support sysfs attributes with TPM 2.0 devices and not speculate how it
will be used in future commits.
/Jarkko
Powered by blists - more mailing lists