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(-) -- 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 _______________________________________________ tpmdd-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
