Skip to content

Add session isolation and context saving to the space manager

James Bottomley lkml tpmdd-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tpm2: add session handle isolation to tpm spacesdrivers/char/tpm/tpm.h drivers/char/tpm/tpm2-space.c drivers/char/tpm/tpms-dev.c+173 -87 replies
2/2tpm2: context save and restore space managed sessionsdrivers/char/tpm/tpm-chip.c drivers/char/tpm/tpm.h drivers/char/tpm/tpm2-space.c +1 more+164 -732 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Add session isolation and context saving to the space manager

As requested, the first patch adds isolation and the second does context switching. I've also removed the flush emulation which changed transient object accounting from lazy to strict. Note that session tracking has to be strict because the TPM needs to manage these closely to avoid running out of global session numbers.

James

---

James Bottomley (2):
tpm2: add session handle isolation to tpm spaces
tpm2: context save and restore space managed sessions

 drivers/char/tpm/tpm-chip.c   |   6 +
 drivers/char/tpm/tpm.h        |   3 +
 drivers/char/tpm/tpm2-space.c | 377 ++++++++++++++++++++++++++++++++++--------
 drivers/char/tpm/tpms-dev.c   |   8 +
 4 files changed, 325 insertions(+), 69 deletions(-)
Signature · 6 lines
2.6.6


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