Re: [PATCH] crypto: caam: jr: Use dedicated shutdown callback

From: Fabio Estevam

Date: Thu Nov 12 2026 - 06:54:47 EST


Hi Sahil,

On Thu, Nov 12, 2026 at 7:41 AM Sahil Malhotra
<sahil.malhotra@xxxxxxxxxxx> wrote:

> Hi Fabio,
>
> Thanks for the patch.
> Can you please tell me how to reproduce this issue ?

I observed the warning during a normal reboot on an i.MX8MP-based
system with CAAM enabled and an encrypted volume:

caam_jr 30903000.jr: Device is busy; consumers might start to crash

It happened in all 'reboot' cycles, so it's 100% deterministic.

The warning occurs when crypto consumers still hold references to the
job ring during shutdown.

The patch allows the shutdown callback to quiesce the hardware without
requiring consumers to release their references first.

Regards,

Fabio Estevam