tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Locality support for tpm_crb
@ 2016-12-07 11:49 Jarkko Sakkinen
       [not found] ` <20161207115001.18332-1-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Jarkko Sakkinen @ 2016-12-07 11:49 UTC (permalink / raw)
  To: Peter Huewe
  Cc: linux-security-module, Jarkko Sakkinen, Jason Gunthorpe,
	open list, moderated list:TPM DEVICE DRIVER

The tpm_crb driver should follow the policy of reserving and
relinquishing the locality it uses when multiple localities are used,
like when TXT is another locality.

Jarkko Sakkinen (3):
  tpm_crb: map locality registers
  tpm_crb: encapsulate crb_wait_for_reg_32
  tpm_crb: request and relinquish locality 0

 drivers/char/tpm/tpm_crb.c | 185 +++++++++++++++++++++++++++++++++------------
 1 file changed, 137 insertions(+), 48 deletions(-)

-- 
v2: 
added sanity check for start address of the control area
v3:
do locality request/relinquish as part of send/recv
check priv->regs_h before using it
just assing the base address to regs_h instead of using crb_map_res
2.9.3


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH v3 0/3] Locality support for tpm_crb
@ 2017-02-08 11:11 Jarkko Sakkinen
       [not found] ` <20170208111137.15153-1-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Jarkko Sakkinen @ 2017-02-08 11:11 UTC (permalink / raw)
  To: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: linux-security-module-u79uwXL29TY76Z2rM5mHXA, Jerry Snitselaar,
	open list

The tpm_crb driver should follow the policy of reserving and
relinquishing the locality it uses when multiple localities are used,
like when TXT is another locality.

[This is a resend of v3 as this has been asked from me for a few times
 now and there wasn't anything obvious to fix.]

Jarkko Sakkinen (3):
  tpm_crb: map locality registers
  tpm_crb: encapsulate crb_wait_for_reg_32
  tpm_crb: request and relinquish locality 0

 drivers/char/tpm/tpm_crb.c | 185 +++++++++++++++++++++++++++++++++------------
 1 file changed, 137 insertions(+), 48 deletions(-)

-- 
v2: 
added sanity check for start address of the control area
v3:
do locality request/relinquish as part of send/recv
check priv->regs_h before using it
just assing the base address to regs_h instead of using crb_map_res
2.9.3


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot

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

end of thread, other threads:[~2017-02-08 11:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-07 11:49 [PATCH v3 0/3] Locality support for tpm_crb Jarkko Sakkinen
     [not found] ` <20161207115001.18332-1-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2016-12-07 11:49   ` [PATCH v3 1/3] tpm_crb: map locality registers Jarkko Sakkinen
2016-12-12 14:25     ` [tpmdd-devel] " Winkler, Tomas
2016-12-12 15:20       ` Jarkko Sakkinen
2016-12-12 15:28         ` Winkler, Tomas
2016-12-12 17:46           ` Jarkko Sakkinen
2016-12-12 15:31         ` Jarkko Sakkinen
2016-12-12 15:32           ` Jarkko Sakkinen
2016-12-12 15:57           ` Winkler, Tomas
2016-12-12 17:53             ` Jarkko Sakkinen
2016-12-12 17:59               ` Jarkko Sakkinen
2016-12-07 11:49   ` [PATCH v3 2/3] tpm_crb: encapsulate crb_wait_for_reg_32 Jarkko Sakkinen
2016-12-07 11:50   ` [PATCH v3 3/3] tpm_crb: request and relinquish locality 0 Jarkko Sakkinen
  -- strict thread matches above, loose matches on Subject: below --
2017-02-08 11:11 [PATCH v3 0/3] Locality support for tpm_crb Jarkko Sakkinen
     [not found] ` <20170208111137.15153-1-jarkko.sakkinen-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
2017-02-08 11:11   ` [PATCH v3 2/3] tpm_crb: encapsulate crb_wait_for_reg_32 Jarkko Sakkinen

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