All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Locality support for tpm_crb
@ 2017-02-08 11:11 ` Jarkko Sakkinen
  0 siblings, 0 replies; 18+ messages in thread
From: Jarkko Sakkinen @ 2017-02-08 11:11 UTC (permalink / raw)
  To: tpmdd-devel
  Cc: linux-security-module, Jerry Snitselaar, Jarkko Sakkinen,
	Jason Gunthorpe, 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

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [PATCH v3 0/3] Locality support for tpm_crb
@ 2016-12-07 11:49 Jarkko Sakkinen
  2016-12-07 11:49   ` Jarkko Sakkinen
  0 siblings, 1 reply; 18+ 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] 18+ messages in thread

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

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-08 11:11 [PATCH v3 0/3] Locality support for tpm_crb Jarkko Sakkinen
2017-02-08 11:11 ` Jarkko Sakkinen
2017-02-08 11:11 ` [PATCH v3 1/3] tpm_crb: map locality registers Jarkko Sakkinen
2017-02-08 11:11   ` Jarkko Sakkinen
2017-02-08 11:11 ` [PATCH v3 2/3] tpm_crb: encapsulate crb_wait_for_reg_32 Jarkko Sakkinen
2017-02-08 11:11   ` Jarkko Sakkinen
2017-02-08 11:11 ` [PATCH v3 3/3] tpm_crb: request and relinquish locality 0 Jarkko Sakkinen
2017-02-08 11:11   ` Jarkko Sakkinen
2017-03-04  1:27 ` [PATCH v3 0/3] Locality support for tpm_crb Jerry Snitselaar
2017-03-06 15:35   ` Jarkko Sakkinen
2017-03-07 16:41     ` Wei, Gang
2017-03-07 16:41       ` Wei, Gang
2017-03-07 18:31       ` Jarkko Sakkinen
2017-03-07 18:31         ` Jarkko Sakkinen
2017-03-07 10:41   ` Jarkko Sakkinen
2017-03-07 10:41     ` Jarkko Sakkinen
  -- strict thread matches above, loose matches on Subject: below --
2016-12-07 11:49 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:49   ` 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.