The following series of patches implements a multi-instance vTPM driver
that can dynamically create TPM 'server' and client device pairs.

Using an ioctl on the provided /dev/vtpmx, a client-side vTPM device
and a server side file descriptor is created. The file descriptor must
be passed to a TPM emulator. The device driver will initialize the
emulated TPM using TPM 1.2 or TPM 2 startup commands and it will read
the command durations from the device in case of a TPM 1.2. The choice
of emulated TPM device (1.2 or 2) must be provided with a flag in
the ioctl.

   Stefan


Stefan Berger (5):
  Implement tpm_chip_free
  Implement driver for supporting multiple emulated TPMs
  Make tpm_startup() available
  Initialize TPM and get durations and timeouts
  A test program for vTPM device creation

 drivers/char/tpm/Kconfig         |  10 +
 drivers/char/tpm/Makefile        |   1 +
 drivers/char/tpm/tpm-chip.c      |  14 +-
 drivers/char/tpm/tpm-interface.c |   8 +-
 drivers/char/tpm/tpm-vtpm.c      | 664 +++++++++++++++++++++++++++++++++++++++
 drivers/char/tpm/tpm.h           |  10 +
 include/uapi/linux/Kbuild        |   1 +
 include/uapi/linux/vtpm.h        |  38 +++
 vtpmctrl.c                       | 117 +++++++
 9 files changed, 854 insertions(+), 9 deletions(-)
 create mode 100644 drivers/char/tpm/tpm-vtpm.c
 create mode 100644 include/uapi/linux/vtpm.h
 create mode 100644 vtpmctrl.c

-- 
2.4.3


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
tpmdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Reply via email to