Re: [Patch v9] crypto: qce - Add runtime PM and interconnect bandwidth scaling support

Bartosz Golaszewski <[email protected]> Fri, 31 Jul 2026 08:38:03 +0000
Newsgroups org.kernel.vger.linux-crypto,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-kernel
Message-ID <CAMRc=MfYYCE7XhUWsaQbsFpeWf3HGhRqhb9gmcUJcHz77YUuhA@mail.gmail.com>
On Wed, 29 Jul 2026 13:04:55 +0200, Kuldeep Singh
<[email protected]> said:
> From: Udit Tiwari <[email protected]>
>
> The Qualcomm Crypto Engine (QCE) driver currently lacks support for
> runtime power management (PM) and interconnect bandwidth control.
> As a result, the hardware remains fully powered and clocks stay
> enabled even when the device is idle. Additionally, static
> interconnect bandwidth votes are held indefinitely, preventing the
> system from reclaiming unused bandwidth.
>
> Address this by enabling runtime PM and dynamic interconnect
> bandwidth scaling to allow the system to suspend the device when idle
> and scale interconnect usage based on actual demand. Improve overall
> system efficiency by reducing power usage and optimizing interconnect
> resource allocation.
>
> Signed-off-by: Udit Tiwari <[email protected]>
> Tested-by: Pankaj Patil <[email protected]>
> Signed-off-by: Kuldeep Singh <[email protected]>
> ---

This works and looks correct to me. I'd like to see it applied but I guess we
need to first settle the debate about this driver's fate.

FWIW:

Acked-by: Bartosz Golaszewski <[email protected]>
Tested-by: Bartosz Golaszewski <[email protected]>

Thanks,
Bartosz