Skip to content

MSM8917/MSM8937/MSM8953 fix prng

Barnabás Czémán linux-arm-msm linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected] change-id 20261001-prng-fix-5366a05da970

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3arm64: dts: qcom: msm8917: change prng compatiblearch/arm64/boot/dts/qcom/msm8917.dtsi+1 -10 replies
2/3arm64: dts: qcom: msm8937: change prng compatiblearch/arm64/boot/dts/qcom/msm8937.dtsi+1 -10 replies
3/3arm64: dts: qcom: msm8953: change prng compatiblearch/arm64/boot/dts/qcom/msm8953.dtsi+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKonrad Dybcio
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] MSM8917/MSM8937/MSM8953 fix prng

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

---
Barnabás Czémán (3):
arm64: dts: qcom: msm8917: change prng compatible
arm64: dts: qcom: msm8937: change prng compatible
arm64: dts: qcom: msm8953: change prng compatible

 arch/arm64/boot/dts/qcom/msm8917.dtsi | 2 +-
 arch/arm64/boot/dts/qcom/msm8937.dtsi | 2 +-
 arch/arm64/boot/dts/qcom/msm8953.dtsi | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

---
base-commit: 6c2cb8b8b843d216ab549b678a0d8831c43153e0
change-id: 20261001-prng-fix-5366a05da970

Best regards,

Signature · 1 line
Barnabás Czémán <[email protected]>