Re: [PATCH] tpm: fix potential race condition in suspend/resume

From: Sven van Ashbrook
Date: Thu Aug 11 2022 - 09:10:08 EST


On Thu, Aug 11, 2022 at 1:02 AM Jarkko Sakkinen <jarkko@xxxxxxxxxx> wrote:
>
> What about adding TPM_CHIP_FLAG_SUSPENDED instead?

Thank you for the feedback, Jarkko. After thinking this over, I
believe this patch only moves kernel warnings around. Will re-post
soon with a fresh approach, intended to fix the underlying issue
rather than the symptom.

So please disregard this patch.