drivers/char/tpm: Add new device driver to support IBM vTPM
authorAshley Lai <adlai@linux.vnet.ibm.com>
Wed, 22 Aug 2012 21:17:43 +0000 (16:17 -0500)
committerKent Yoder <key@linux.vnet.ibm.com>
Wed, 22 Aug 2012 21:21:45 +0000 (16:21 -0500)
commit132f7629474424418a5cdd666796ad3cfa4dc0c5
treeba789d04e7bd6c121500895f61d7087b240a1fe4
parent7e72fe73bfc7e4219b8dd212026c7113f4e37f91
drivers/char/tpm: Add new device driver to support IBM vTPM

This patch adds a new device driver to support IBM virtual TPM
(vTPM) for PPC64.  IBM vTPM is supported through the adjunct
partition with firmware release 740 or higher.  With vTPM
support, each lpar is able to have its own vTPM without the
physical TPM hardware.

This driver provides TPM functionalities by communicating with
the vTPM adjunct partition through Hypervisor calls (Hcalls)
and Command/Response Queue (CRQ) commands.

Signed-off-by: Ashley Lai <adlai@us.ibm.com>
Signed-off-by: Kent Yoder <key@linux.vnet.ibm.com>
drivers/char/tpm/Kconfig
drivers/char/tpm/Makefile
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm_ibmvtpm.c [new file with mode: 0644]
drivers/char/tpm/tpm_ibmvtpm.h [new file with mode: 0644]