diff options
author | Ashley Lai <adlai@linux.vnet.ibm.com> | 2012-08-22 21:17:43 (GMT) |
---|---|---|
committer | Kent Yoder <key@linux.vnet.ibm.com> | 2012-08-22 21:21:45 (GMT) |
commit | 132f7629474424418a5cdd666796ad3cfa4dc0c5 (patch) | |
tree | ba789d04e7bd6c121500895f61d7087b240a1fe4 /drivers/char/tpm/tpm.h | |
parent | 7e72fe73bfc7e4219b8dd212026c7113f4e37f91 (diff) | |
download | linux-132f7629474424418a5cdd666796ad3cfa4dc0c5.tar.xz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index 645136e..870fde7 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -100,6 +100,7 @@ struct tpm_vendor_specific { bool timeout_adjusted; unsigned long duration[3]; /* jiffies */ bool duration_adjusted; + void *data; wait_queue_head_t read_queue; wait_queue_head_t int_queue; |