Re: [PATCH v3] Add "shutdown" to "struct class".

From: Josh Zimmerman
Date: Thu May 25 2017 - 11:40:56 EST


Thanks, Greg.

Greg, Jarkko: Do either of you you have any objections to me
backporting these changes to 4.4 and 4.9? I'd like to make sure that
at least the couple most recent LTS kernels have this patch. (I don't
care so much about 4.1 as it'll be EOL'd this September, according to
https://www.kernel.org/category/releases.html, but I can backport it
to there as well if desired.)

Thanks,

Josh

On Thu, May 25, 2017 at 6:09 AM, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, May 15, 2017 at 10:34:38AM -0700, Josh Zimmerman wrote:
> > The TPM class has some common shutdown code that must be executed for
> > all drivers. This adds some needed functionality for that.
> >
> > Usage example: 'tpm: Issue a TPM2_Shutdown for TPM2 devices.'
> > (see https://patchwork.kernel.org/patch/9724919/ for v2).
> >
> > Signed-off-by: Josh Zimmerman <joshz@xxxxxxxxxx>
>
> Given that the tpm code is going to need this, I recommend someone take
> it through that tree:
>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
>
> Otherwise, if you want me to take it, I can, but I doubt you want it in
> my driver-core tree as that will not get merged to Linus until 4.13-rc1.
>
> thanks,
>
> greg k-h