diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2011-03-30 12:13:33 -0400 |
---|---|---|
committer | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2011-07-12 18:53:09 -0300 |
commit | 9519de3f265f112e992aa7f446d905196bd608e8 (patch) | |
tree | 112d43561d9ffb478ebce085d202d77d85ad3a1a /fs/jffs2 | |
parent | a7b66822b20f67f106690d0acee3d0ba667fd9bb (diff) | |
download | op-kernel-dev-9519de3f265f112e992aa7f446d905196bd608e8.zip op-kernel-dev-9519de3f265f112e992aa7f446d905196bd608e8.tar.gz |
tpm_tis: Probing function for Intel iTPM bug
This patch introduces a function for automatic probing for the Intel iTPM
STS_DATA_EXPECT flaw.
The patch splits the current tpm_tis_send function into 2 parts where the 1st
part is now called tpm_tis_send_data() and merely sends the data to the TPM.
This function is then used for probing. The new tpm_tis_send function now
first calls tpm_tis_send_data and if that succeeds has the TPM process the
command and waits until the response is there.
The probing for the Intel iTPM is only invoked if the user has not passed
itpm=1 as parameter for the module *or* if such a TPM was detected via ACPI.
Previously it was necessary to pass itpm=1 when also passing force=1 to the
module when doing a 'modprobe'. This function is more general than the ACPI
test function and the function relying on ACPI could probably be removed.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions