LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH v3 0/2] ibmvtpm: Avoid error message when process gets signal while waiting
@ 2021-08-05 21:52 Stefan Berger
  2021-08-05 21:52 ` [PATCH v3 1/2] tpm: ibmvtpm: Rename tpm_process_cmd to tpm_status and define flag Stefan Berger
  2021-08-05 21:52 ` [PATCH v3 2/2] tpm: ibmvtpm: Avoid error message when process gets signal while waiting Stefan Berger
  0 siblings, 2 replies; 6+ messages in thread
From: Stefan Berger @ 2021-08-05 21:52 UTC (permalink / raw)
  To: jarkko
  Cc: peterhuewe, jgg, linux-integrity, linux-security-module,
	linux-kernel, Stefan Berger

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

v3:
 - Split into two patches

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

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

-- 
2.31.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-08-09  4:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-05 21:52 [PATCH v3 0/2] ibmvtpm: Avoid error message when process gets signal while waiting Stefan Berger
2021-08-05 21:52 ` [PATCH v3 1/2] tpm: ibmvtpm: Rename tpm_process_cmd to tpm_status and define flag Stefan Berger
2021-08-06 11:25   ` Jarkko Sakkinen
2021-08-06 12:08     ` Stefan Berger
2021-08-09  4:27       ` Jarkko Sakkinen
2021-08-05 21:52 ` [PATCH v3 2/2] tpm: ibmvtpm: Avoid error message when process gets signal while waiting Stefan Berger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).