Re: [PATCH v8 0/2] mmc: Avoid reprogram all keys to Inline Crypto Engine for MMC runtime suspend resume

From: Ulf Hansson

Date: Thu Sep 10 2026 - 08:10:13 EST


On Wed, Aug 26, 2026 at 11:52 AM Neeraj Soni
<neeraj.soni@xxxxxxxxxxxxxxxx> wrote:
>
> Crypto reprogram all keys is called for each MMC runtime suspend/resume in
> current upstream design. If this is implemented as a non-interruptible
> call to TEE for security, the cpu core is blocked for execution while this
> call executes although the crypto engine already has the keys.
> For example, glitches in audio/video streaming applications have been
> observed due to this.
>
> Fix this by allowing host driver to control when to re-program the
> crypto keys.
>
> ---
> Changes in v8:
> - Update the commit message for [PATCH 2/2] to clarify the expected key
> reprogramming behavior following hibernation image creation failures,
> suspend-to-RAM transitions and CQE recovery events.

[...]

The v8 series applied for next, thanks!

Kind regards
Uffe