aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm.h
diff options
context:
space:
mode:
authorAshley Lai <adlai@linux.vnet.ibm.com>2012-08-22 17:17:43 -0400
committerKent Yoder <key@linux.vnet.ibm.com>2012-08-22 17:21:45 -0400
commit132f7629474424418a5cdd666796ad3cfa4dc0c5 (patch)
treeba789d04e7bd6c121500895f61d7087b240a1fe4 /drivers/char/tpm/tpm.h
parent7e72fe73bfc7e4219b8dd212026c7113f4e37f91 (diff)
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>
Diffstat (limited to 'drivers/char/tpm/tpm.h')
-rw-r--r--drivers/char/tpm/tpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h
index 645136eea890..870fde7459c5 100644
--- a/drivers/char/tpm/tpm.h
+++ b/drivers/char/tpm/tpm.h
@@ -100,6 +100,7 @@ struct tpm_vendor_specific {
100 bool timeout_adjusted; 100 bool timeout_adjusted;
101 unsigned long duration[3]; /* jiffies */ 101 unsigned long duration[3]; /* jiffies */
102 bool duration_adjusted; 102 bool duration_adjusted;
103 void *data;
103 104
104 wait_queue_head_t read_queue; 105 wait_queue_head_t read_queue;
105 wait_queue_head_t int_queue; 106 wait_queue_head_t int_queue;