Skip to content

Locality support for tpm_crb

Jarkko Sakkinen lkml tpmdd-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/23 patches 5 repliesIn review
  2. v3 posting 1/23 patches 9 repliesSuperseded
  3. v23 patches 14 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tpm_crb: map locality registersdrivers/char/tpm/tpm_crb.c+57 -320 replies
2/3tpm_crb: encapsulate crb_wait_for_reg_32drivers/char/tpm/tpm_crb.c+23 -140 replies
3/3tpm_crb: request and relinquish locality 0drivers/char/tpm/tpm_crb.c+64 -90 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJerry Snitselaar
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] Locality support for tpm_crb

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(-)
Signature · 12 lines
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