All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4 V2] tpm/tpm_crb: implement power management.
@ 2016-09-12  8:54 Tomas Winkler
       [not found] ` <1473670501-29281-1-git-send-email-tomas.winkler-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 20+ messages in thread
From: Tomas Winkler @ 2016-09-12  8:54 UTC (permalink / raw)
  To: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Jason Gunthorpe,
	Jarkko Sakkinen

Te overall platform ability to enter a low power state is also
conditioned on the ability of a tpm device to go to idle state.
This series should provide this feature.

Unfortunately, there is a HW bug on Intel PTT devices on Skylake,
Kabylake, and Broxton devices, where certain registers lost retention
during TPM idle state. Hence this implementation takes this into
consideration and implement the feature based only on access to
registers that retain their state. This still conforms to the spec
and should be correct also on non Intle devices.

V2: Utilize runtime_pm for driving tpm crb idle states.


Tomas Winkler (4):
  tpm/tpm_crb: implement tpm crb idle state
  tmp/tpm_crb: fix Intel PTT hw bug during idle state
  tpm/tpm_crb: open code the crb_init into acpi_add
  tmp/tpm_crb: implment runtime pm for tpm_crb

 drivers/char/tpm/tpm-interface.c |   5 ++
 drivers/char/tpm/tpm_crb.c       | 166 +++++++++++++++++++++++++++++++++------
 2 files changed, 147 insertions(+), 24 deletions(-)

-- 
2.7.4


------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-09-14 16:05 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-12  8:54 [PATCH 0/4 V2] tpm/tpm_crb: implement power management Tomas Winkler
     [not found] ` <1473670501-29281-1-git-send-email-tomas.winkler-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-12  8:54   ` [PATCH v2 1/4] tpm/tpm_crb: implement tpm crb idle state Tomas Winkler
     [not found]     ` <1473670501-29281-2-git-send-email-tomas.winkler-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-12 12:01       ` Jarkko Sakkinen
     [not found]         ` <20160912120109.GA957-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-12 12:25           ` Winkler, Tomas
     [not found]             ` <5B8DA87D05A7694D9FA63FD143655C1B542CDCB7-Jy8z56yoSI8MvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-12 17:39               ` Jason Gunthorpe
     [not found]                 ` <20160912173902.GC5843-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-12 20:17                   ` Jarkko Sakkinen
     [not found]                     ` <20160912201703.GC8889-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-12 20:34                       ` Winkler, Tomas
2016-09-14 16:05               ` Jarkko Sakkinen
2016-09-12 13:32           ` Jarkko Sakkinen
     [not found]             ` <20160912133206.GE957-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-12 13:34               ` Winkler, Tomas
2016-09-12 17:37       ` Jason Gunthorpe
     [not found]         ` <20160912173737.GB5843-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-12 20:26           ` Winkler, Tomas
     [not found]             ` <5B8DA87D05A7694D9FA63FD143655C1B542CDF84-Jy8z56yoSI8MvF1YICWikbfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2016-09-12 20:44               ` Jason Gunthorpe
     [not found]                 ` <20160912204449.GA8241-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-12 20:58                   ` Winkler, Tomas
2016-09-12  8:54   ` [PATCH v2 2/4] tmp/tpm_crb: fix Intel PTT hw bug during " Tomas Winkler
2016-09-12  8:55   ` [PATCH v2 3/4] tpm/tpm_crb: open code the crb_init into acpi_add Tomas Winkler
     [not found]     ` <1473670501-29281-4-git-send-email-tomas.winkler-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-12 17:41       ` Jason Gunthorpe
     [not found]         ` <20160912174137.GD5843-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-09-12 20:46           ` Winkler, Tomas
2016-09-12  8:55   ` [PATCH v2 4/4] tmp/tpm_crb: implement runtime pm for tpm_crb Tomas Winkler
     [not found]     ` <1473670501-29281-5-git-send-email-tomas.winkler-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-09-12 13:06       ` Jarkko Sakkinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.