mbox series

[v4,0/2] ibmvtpm: Avoid error message when process gets signal while waiting

Message ID 20210809192159.2176580-1-stefanb@linux.vnet.ibm.com (mailing list archive)
Headers show
Series ibmvtpm: Avoid error message when process gets signal while waiting | expand

Message

Stefan Berger Aug. 9, 2021, 7:21 p.m. UTC
From: Stefan Berger <stefanb@linux.ibm.com>

This series of patches fixes an issue related to the ibmvtpm driver causing
unnecessary kernel log messages when a process is interrupted while waiting
for the TPM to respond. The aborted wait causes the core TPM driver to emit
the log message. The solution is to convert the driver to use the normal
polling loop to wait for TPM responses.

   Stefan

v4:
 - Reverted order of patches

v3:
 - Split into two patches

Stefan Berger (2):
  tpm: ibmvtpm: Avoid error message when process gets signal while
    waiting
  tpm: ibmvtpm: Rename tpm_process_cmd to tpm_status and define flag

 drivers/char/tpm/tpm_ibmvtpm.c | 31 ++++++++++++++++++-------------
 drivers/char/tpm/tpm_ibmvtpm.h |  3 ++-
 2 files changed, 20 insertions(+), 14 deletions(-)