Skip to content

crypto: qcom-rng: fix support for ACPI-based systems

Brian Masney linux-arm-msm linux-crypto lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v22 patches 1 replySuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Simplify ACPI fix based on what's done with other drivers (Brian)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto: qcom-rng: fix support for ACPI-based systemsdrivers/crypto/qcom-rng.c+2 -21 reply
2/2crypto: qcom-rng: rename *_of_data to *_match_datadrivers/crypto/qcom-rng.c+12 -121 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDmitry BaryshkovBjorn Andersson
SeriesR-b
1/2R-b
2/2R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] crypto: qcom-rng: fix support for ACPI-based systems

The qcom-rng driver supports both ACPI and device tree based systems. ACPI support was broken when the hw_random interface support was added. This small series gets that working again.

This fix was boot tested on a Qualcomm Amberwing server (ACPI based) and on a Qualcomm SA8775p Automotive Development Board (DT based). I also verified that qcom-rng shows up in /proc/crypto on both systems.

Changes since v2:
- Simplify ACPI fix based on what's done with other drivers (Brian)

Changes since v1:
- Use qcom_prng_ee_match_data instead of qcom_prng_match_data for the true skip_init to match previous behavior (Ernesto)
- Reordered patches so fix is first (Dmitry)

Brian Masney (2):
crypto: qcom-rng: fix support for ACPI-based systems
crypto: qcom-rng: rename *_of_data to *_match_data

 drivers/crypto/qcom-rng.c | 24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)
Signature · 1 line
2.46.0