Skip to content

crypto: Add Qcom PRNG support

Vinod Koul 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. v5 Latest6 patches 6 repliesIn review
  2. v46 patches 8 repliesSuperseded
  3. v36 patches 12 repliesSuperseded

Changes in v5 from the cover letter

- Update ACPI check and use generic driver data API

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6hwrng: remove msm hw_random driverdrivers/char/hw_random/Kconfig drivers/char/hw_random/Makefile drivers/char/hw_random/msm-rng.c+0 -1970 replies
2/6dt-bindings: crypto: Move prng binding to cryptoDocumentation/devicetree/bindings/crypto/qcom,prng.txt+0 -00 replies
3/6crypto: Add Qcom prng driverdrivers/crypto/Kconfig drivers/crypto/Makefile drivers/crypto/qcom-rng.c+220 -03 replies
4/6dt-bindings: crypto: Add new compatible qcom,prng-eeDocumentation/devicetree/bindings/crypto/qcom,prng.txt+3 -10 replies
5/6crypto: qcom: Add support for prng-eedrivers/crypto/qcom-rng.c+9 -20 replies
6/6crypto: qcom: Add ACPI supportdrivers/crypto/qcom-rng.c+18 -43 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJeffrey HugoLinus Walleij
1/6
2/6
3/6R-b
4/6
5/6
6/6T-b

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

Read the v5 thread

Cover letter [PATCH v5 0/6] crypto: Add Qcom PRNG support

This series removes the hwrng qcom driver and replaces it with crypto qcom driver and then adds support for Execution Environment (EE) found in v2 version of the hardware and ACPI support for these

Changes in v5:
- Update ACPI check and use generic driver data API

Changes in v4:
- Use memcpy for data copy
- Fix trailing bytes copy
- Fix ACPI ID table name

Timur Tabi (1):
crypto: qcom: Add ACPI support

Vinod Koul (5):
hwrng: remove msm hw_random driver
dt-bindings: crypto: Move prng binding to crypto
crypto: Add Qcom prng driver
dt-bindings: crypto: Add new compatible qcom,prng-ee
crypto: qcom: Add support for prng-ee

 .../bindings/{rng => crypto}/qcom,prng.txt         |   4 +-
 drivers/char/hw_random/Kconfig                     |  13 --
 drivers/char/hw_random/Makefile                    |   1 -
 drivers/char/hw_random/msm-rng.c                   | 183 ----------------
 drivers/crypto/Kconfig                             |  11 +
 drivers/crypto/Makefile                            |   1 +
 drivers/crypto/qcom-rng.c                          | 229 +++++++++++++++++++++
 7 files changed, 244 insertions(+), 198 deletions(-)
 rename Documentation/devicetree/bindings/{rng => crypto}/qcom,prng.txt (73%)
 delete mode 100644 drivers/char/hw_random/msm-rng.c
 create mode 100644 drivers/crypto/qcom-rng.c
Signature · 1 line
2.14.4