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; 19+ 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] 19+ messages in thread
* [PATCH v3 0/3] Locality support for tpm_crb
@ 2017-02-08 11:11 Jarkko Sakkinen
  2017-03-04  1:27 ` Jerry Snitselaar
  0 siblings, 1 reply; 19+ 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] 19+ messages in thread

end of thread, other threads:[~2017-03-07 18:31 UTC | newest]

Thread overview: 19+ 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
2017-03-04  1:27 ` Jerry Snitselaar
2017-03-06 15:35   ` Jarkko Sakkinen
     [not found]     ` <20170306153515.7hxoylfqfvy5rito-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-03-07 16:41       ` Wei, Gang
     [not found]         ` <D0B11485C64D4B47B66902F8A4E901BE3B9AF0F7-E2R4CRU6q/6iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2017-03-07 18:31           ` Jarkko Sakkinen
     [not found]   ` <87efydvnk8.fsf-RR6//3E8fTwgb5+hjvvj3w@public.gmane.org>
2017-03-07 10:41     ` 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).