archive mirror
 help / color / mirror / Atom feed
From: "Winkler, Tomas" <>
To: Jason Gunthorpe
Cc: Greg Kroah-Hartman
	"Rafael J. Wysocki" <>,
Subject: Re: [PATCH] Add "shutdown" to "struct class".
Date: Mon, 15 May 2017 16:17:36 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20170515155110.GC3433-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/>

> On Sat, May 13, 2017 at 12:43:11PM +0000, Winkler, Tomas wrote:
> > > The TPM class has some common shutdown code that must be executed
> > > for all drivers. This adds some needed functionality for that
> >
> > The issue with this is, that on some platforms the only storage can be
> > eMMC and TPM is using it,. It has to be ensured that the storage
> > device won't go down before TPM2_shutdown is called.  And there is no
> > direct device hierarchy to ensure an orderly shutdown.
> Something will have to use the new device links stuff to define that
> dependency, but that seems unrelated to this patch?

Yep, it's not directly related to this specific patch, this is more relevant particularly to TPM2_shutdown. 

> Can the kernel really shut down the eMMC while the hidden platform stuff is
> still possibly using it? Goofy..

eMMC is single headed, so yes that can happen.


Check out the vibrant tech community on one of the world's most
engaging tech sites,!

      parent reply	other threads:[~2017-05-15 16:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-12 23:32 [PATCH] Add "shutdown" to "struct class" Josh Zimmerman
     [not found] ` <>
2017-05-13 12:43   ` Winkler, Tomas
2017-05-15 15:51     ` [tpmdd-devel] " Jason Gunthorpe
     [not found]       ` <20170515155110.GC3433-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/>
2017-05-15 16:17         ` Winkler, Tomas [this message]

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:

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

  git send-email \ \ \ \
    --cc=jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/ \ \ \ \

* 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).