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; 13+ 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] 13+ messages in thread

end of thread, other threads:[~2016-12-12 17:59 UTC | newest]

Thread overview: 13+ 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

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