summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm/tpm.h
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2017-05-24 23:39:39 +0200
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2017-06-13 21:02:09 +0200
commit85ab3bf305b96e5f4c83b23a0b7e11d90144eb18 (patch)
treef5cf55bfe1773613f11aa3dabdba5beb334f01ca /drivers/char/tpm/tpm.h
parenttpm: vtpm_proxy: Suppress error logging when in closed state (diff)
downloadlinux-85ab3bf305b96e5f4c83b23a0b7e11d90144eb18.tar.xz
linux-85ab3bf305b96e5f4c83b23a0b7e11d90144eb18.zip
tpm: Introduce flag TPM_TRANSMIT_RAW
Introduce the flag TPM_TRANSMIT_RAW that allows us to transmit a command without recursing into the requesting of locality. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to '')
-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 af05c1403c6e..1df0521138d3 100644
--- a/drivers/char/tpm/tpm.h
+++ b/drivers/char/tpm/tpm.h
@@ -506,6 +506,7 @@ extern struct idr dev_nums_idr;
enum tpm_transmit_flags {
TPM_TRANSMIT_UNLOCKED = BIT(0),
+ TPM_TRANSMIT_RAW = BIT(1),
};
ssize_t tpm_transmit(struct tpm_chip *chip, struct tpm_space *space,