diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-05-24 17:39:40 -0400 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2017-06-13 22:02:09 +0300 |
commit | be4c9acfe2976b6e024d15656254d2eb207b83a8 (patch) | |
tree | f06d321362ee2abdecb88530b5fb652fb67d3524 /drivers/scsi/qla4xxx/ql4_83xx.h | |
parent | 85ab3bf305b96e5f4c83b23a0b7e11d90144eb18 (diff) | |
download | lwn-be4c9acfe2976b6e024d15656254d2eb207b83a8.tar.gz lwn-be4c9acfe2976b6e024d15656254d2eb207b83a8.zip |
tpm: vtpm_proxy: Implement request_locality function.
Implement the request_locality function. To set the locality on the
backend we define vendor-specific TPM 1.2 and TPM 2 ordinals and send
a command to the backend to set the locality for the next commands.
To avoid recursing into requesting the locality, we set the
TPM_TRANSMIT_RAW flag when calling tpm_transmit_cmd. To avoid recursing
into TPM 2 space related commands, we set the space parameter to NULL.
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 'drivers/scsi/qla4xxx/ql4_83xx.h')
0 files changed, 0 insertions, 0 deletions