Re: [PATCH v2 1/4] tpm: Use a threaded interrupt handler

From: Stefan Berger
Date: Mon Apr 26 2021 - 10:37:35 EST



On 4/25/21 7:47 PM, Lino Sanfilippo wrote:
Interrupt handling at least includes reading and writing the interrupt
status register from the interrupt routine. However over SPI those accesses
require a sleepable context, since a mutex is used in the concerning
functions.
For this reason request a threaded interrupt handler which is running in
(sleepable) process context.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@xxxxxx>


Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>