[PATCH 0/6] Detach TPM space code from tpm_transmit() flow

Jarkko Sakkinen jarkko.sakkinen at linux.intel.com
Sat Nov 3 04:08:14 UTC 2018


Make the changes that are needed to detach TPM space code from
tpm_transmit() flow so that we do no longer need nested tpm_transmit()
calls.

Jarkko Sakkinen (6):
  tpm: use tpm_buf in tpm_transmit_cmd() as the IO parameter
  tpm: clean up tpm_try_transmit() error handling flow
  tpm: access command header through struct in  tpm_try_transmit()
  tpm: move tpm_validate_commmand() to tpm2-space.c
  tpm: encapsulate tpm_dev_transmit()
  tpm: move TPM space code out of tpm_transmit()

 drivers/char/tpm/tpm-dev-common.c |  50 ++++++-
 drivers/char/tpm/tpm-interface.c  | 231 +++++++++++-------------------
 drivers/char/tpm/tpm-sysfs.c      |   2 +-
 drivers/char/tpm/tpm.h            |  14 +-
 drivers/char/tpm/tpm1-cmd.c       |  26 +---
 drivers/char/tpm/tpm2-cmd.c       |  37 ++---
 drivers/char/tpm/tpm2-space.c     |  58 ++++++--
 drivers/char/tpm/tpm_vtpm_proxy.c |   3 +-
 8 files changed, 206 insertions(+), 215 deletions(-)

-- 
2.19.1



More information about the Linux-security-module-archive mailing list