tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
From: Josh Zimmerman <joshz@google.com>
To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
	Jason Gunthorpe <jgunthorpe@obsidianresearch.com>,
	tpmdd-devel@lists.sourceforge.net,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org
Subject: Re: [PATCH v1 0/2] Run TPM2_Shutdown on system shutdown
Date: Wed, 12 Jul 2017 19:13:40 -0700	[thread overview]
Message-ID: <CAHSjozAxEnA1xSBi5fNgsVpJpbHMabKaq7GKZQn8x8iEOdAWjg@mail.gmail.com> (raw)
In-Reply-To: <20170713004121.21750-1-joshz@google.com>

On Wed, Jul 12, 2017 at 5:41 PM, Josh Zimmerman <joshz@google.com> wrote:
> This patchset causes all devices in the tpm class to issue TPM2_Shutdown
> when the system is shutting down.
>
> As a prerequisite, it adds a "shutdown" method to "struct class".
>
> Backporting to 4.9 since this bug can lock users out of their TPMs.
>
> Backport of f77af1516584 'Add "shutdown" to "struct class".' and
> d1bd4a792d39 'tpm: Issue a TPM2_Shutdown for TPM2 devices.'
>
>  drivers/base/core.c          |  6 +++++-
>  drivers/char/tpm/tpm-chip.c  | 36 ++++++++++++++++++++++++++++++++++++
>  drivers/char/tpm/tpm-sysfs.c |  5 +++++
>  include/linux/device.h       |  2 ++
>  4 files changed, 48 insertions(+), 1 deletion(-)


In case this wasn't clear, this backport was tested on 4.9. I have not
yet tested on 4.4. I'm intending to test and send another patch for
that later this week (ideally tomorrow).
Josh

  parent reply	other threads:[~2017-07-13  2:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-13  0:41 Josh Zimmerman
2017-07-13  0:41 ` [PATCH v1 1/2] Add "shutdown" to "struct class".' Josh Zimmerman
2017-07-16 10:42   ` Jarkko Sakkinen
2017-07-13  0:41 ` [PATCH v1 2/2] tpm: Issue a TPM2_Shutdown for TPM2 devices Josh Zimmerman
2017-07-16 10:42   ` Jarkko Sakkinen
2017-07-13  2:13 ` Josh Zimmerman [this message]
2017-07-13 12:23   ` [PATCH v1 0/2] Run TPM2_Shutdown on system shutdown Greg Kroah-Hartman
2017-07-14 19:57 Josh Zimmerman
2017-07-18 15:50 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHSjozAxEnA1xSBi5fNgsVpJpbHMabKaq7GKZQn8x8iEOdAWjg@mail.gmail.com \
    --to=joshz@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jarkko.sakkinen@linux.intel.com \
    --cc=jgunthorpe@obsidianresearch.com \
    --cc=stable@vger.kernel.org \
    --cc=tpmdd-devel@lists.sourceforge.net \
    --subject='Re: [PATCH v1 0/2] Run TPM2_Shutdown on system shutdown' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).