From: Josh Zimmerman <joshz@google.com>
To: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>,
Jason Gunthorpe <jgunthorpe@obsidianresearch.com>,
tpmdd-devel@lists.sourceforge.net, gregkh@linuxfoundation.org,
stable@vger.kernel.org
Subject: [PATCH v1 0/2] Run TPM2_Shutdown on system shutdown
Date: Wed, 12 Jul 2017 17:41:19 -0700 [thread overview]
Message-ID: <20170713004121.21750-1-joshz@google.com> (raw)
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(-)
next reply other threads:[~2017-07-13 0:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 0:41 Josh Zimmerman [this message]
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 ` [PATCH v1 0/2] Run TPM2_Shutdown on system shutdown Josh Zimmerman
2017-07-13 12:23 ` 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=20170713004121.21750-1-joshz@google.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 \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).