Re: [PATCH v11 1/2] crypto: qce - Only register algos if the user really wants it

From: Konrad Dybcio

Date: Thu Oct 22 2026 - 05:09:59 EST


On 10/22/26 10:57 AM, Bartosz Golaszewski wrote:
> This driver's crypto algorithms still have a few issues that need
> addressing which don't currently trigger any self-test failures. For
> that reason: don't register the algorithms unless the user really wants
> it.
>
> Add a module parameter to the QCE driver that by default causes the
> driver to *not* register the crypto algorithms. It will only be one if
> the user explicitly passes the do_register_algos argument as true.
>
> The power-management part of the driver is kept as is to allow scaling
> down of interconnects gating of clocks by runtime PM.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Tested-by: Kuldeep Singh <kuldeep.singh@xxxxxxxxxxxxxxxx>
> Tested-by: Pankaj Patil <pankaj.patil@xxxxxxxxxxxxxxxx>
> Tested-by: Birk Skyum <birk.skyum@xxxxx> # X1E80100, Lenovo Yoga Slim 7x
> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxxxxxxxx>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Konrad