mbox series

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

Message ID 20181103040820.23360-1-jarkko.sakkinen@linux.intel.com (mailing list archive)
Headers show
Series Detach TPM space code from tpm_transmit() flow | expand

Message

Jarkko Sakkinen Nov. 3, 2018, 4:08 a.m. UTC
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(-)