Re: [PATCH] crypto: inside-secure: initialize EIP93 state before requesting IRQ
From: Herbert Xu
Date: Wed Oct 07 2026 - 02:26:16 EST
Runyu Xiao <runyu.xiao@xxxxxxxxxx> wrote:
> devm_request_threaded_irq() can invoke the handler as soon as
> registration starts. The EIP93 probe currently requests the IRQ
> before allocating the descriptor rings and initializing the tasklet,
> locks, and IDR used by the handler.
>
> Initialize the software and hardware state, and disable the device
> interrupts, before requesting the IRQ. The existing interrupt enable
> remains after successful IRQ registration.
>
> Fixes: 9739f5f93b78 ("crypto: eip93 - Add Inside Secure SafeXcel EIP-93 crypto engine support")
> Cc: stable@xxxxxxxxxxxxxxx
> Assisted-by: LLM
> Signed-off-by: Runyu Xiao <runyu.xiao@xxxxxxxxxx>
> ---
> drivers/crypto/inside-secure/eip93/eip93-main.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
Please check
https://sashiko.dev/#/patchset/20260930092551.2976763-1-runyu.xiao%40seu.edu.cn
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt