Re: [PATCH 0/3] MSM8917/MSM8937/MSM8953 fix prng
From: Konrad Dybcio
Date: Thu Oct 01 2026 - 05:33:17 EST
On 10/1/26 7:51 AM, Barnabás Czémán wrote:
> On MSM8917/MSM8937/MSM8953 HW QRNG is configured by TZ.
> qcom-rng driver will not have access to the configuration registers.
> Change the compatible to qcom,prng-ee for skip the initialization sequence.
>
> Compatbile changes are fixing this issue:
> Call trace:
> qcom_rng_init+0x6c/0xe8 [qcom_rng] (P)
> crypto_create_tfm_node+0x154/0x198
> crypto_alloc_tfm_node+0xa4/0x1b4
> crypto_alloc_rng+0x34/0x48
> rng_bind+0x60/0xa8 [algif_rng]
> alg_bind+0x15c/0x1f4 [af_alg]
> __arm64_sys_bind+0xb8/0x120
> invoke_syscall+0x6c/0x11c
> el0_svc_common+0x98/0xe8
> do_el0_svc+0x2c/0x3c
> el0_svc+0x40/0x9c
> el0t_64_sync_handler+0x88/0x134
> el0t_64_sync+0x1a0/0x1a4
>
> Signed-off-by: Barnabás Czémán <barnabas.czeman@xxxxxxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad