Re: [PATCH] tpm: ibmvtpm: Avoid -EINTR error when IMA talks to TPM

2021-02-12 Thread Stefan Berger
On 2/12/21 4:05 AM, Jarkko Sakkinen wrote: On Tue, Feb 09, 2021 at 05:13:39PM -0500, Stefan Berger wrote: When IMA is taking measurements during compilation for example and a user presses ctrl-c to abort the compilation, lots of these types of messages will appear in the kernel log: [ 7406.2751

Re: [PATCH] tpm: ibmvtpm: Avoid -EINTR error when IMA talks to TPM

2021-02-12 Thread Jarkko Sakkinen
On Tue, Feb 09, 2021 at 05:13:39PM -0500, Stefan Berger wrote: > When IMA is taking measurements during compilation for example and a > user presses ctrl-c to abort the compilation, lots of these types of > messages will appear in the kernel log: > > [ 7406.275163] tpm tpm0: tpm_transmit: tpm_recv

[PATCH] tpm: ibmvtpm: Avoid -EINTR error when IMA talks to TPM

2021-02-09 Thread Stefan Berger
When IMA is taking measurements during compilation for example and a user presses ctrl-c to abort the compilation, lots of these types of messages will appear in the kernel log: [ 7406.275163] tpm tpm0: tpm_transmit: tpm_recv: error -4 [ 7406.275242] ima: Error Communicating to TPM chip, result: -