[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190613232613.GH22901@ziepe.ca>
Date: Thu, 13 Jun 2019 20:26:13 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Stephen Boyd <swboyd@...omium.org>
Cc: Peter Huewe <peterhuewe@....de>,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>,
Andrey Pronin <apronin@...omium.org>,
linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-integrity@...r.kernel.org, devicetree@...r.kernel.org,
Duncan Laurie <dlaurie@...omium.org>,
Guenter Roeck <groeck@...omium.org>
Subject: Re: [PATCH 1/8] tpm: block messages while suspended
On Thu, Jun 13, 2019 at 11:09:24AM -0700, Stephen Boyd wrote:
> From: Andrey Pronin <apronin@...omium.org>
>
> Other drivers or userspace may initiate sending a message to the tpm
> while the device itself and the controller of the bus it is on are
> suspended. That may break the bus driver logic.
> Block sending messages while the device is suspended.
>
> Signed-off-by: Andrey Pronin <apronin@...omium.org>
> Signed-off-by: Stephen Boyd <swboyd@...omium.org>
>
> I don't think this was ever posted before.
Use a real lock.
Jason
Powered by blists - more mailing lists