diff options
author | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2011-03-30 18:13:30 +0200 |
---|---|---|
committer | Rajiv Andrade <srajiv@linux.vnet.ibm.com> | 2011-07-12 23:53:08 +0200 |
commit | 45baa1d1fa3926510ead93c96e6b0baa5ad79bd3 (patch) | |
tree | aa90dcb72b808efc5392aba368ad60a07f58d587 /arch/h8300/include/asm/ptrace.h | |
parent | tpm: Fix display of data in pubek sysfs entry (diff) | |
download | linux-45baa1d1fa3926510ead93c96e6b0baa5ad79bd3.tar.xz linux-45baa1d1fa3926510ead93c96e6b0baa5ad79bd3.zip |
tpm_tis: Re-enable interrupts upon (S3) resume
This patch makes sure that if the TPM TIS interface is run in interrupt mode
(rather than polling mode) that all interrupts are enabled in the TPM's
interrupt enable register after a resume from ACPI S3 suspend. The registers
may either have been cleared by the TPM loosing its state during device sleep
or by the BIOS leaving the TPM in polling mode (after sending a command to
the TPM for starting it up again)
You may want to check if your TPM runs with interrupts by doing
cat /proc/interrupts | grep -i tpm
and see whether there is an entry or otherwise for it to use interrupts:
modprobe tpm_tis interrupts=1 [add 'itpm=1' for Intel TPM ]
v2:
- the patch was adapted to work with the pnp and platform driver
implementations in tpm_tis.c
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Diffstat (limited to 'arch/h8300/include/asm/ptrace.h')
0 files changed, 0 insertions, 0 deletions