Skip to content

ARMv8.5-RNG support

Mark Brown linux-arm-kernel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v13 Latest2 patches 2 repliesIn review
  2. v122 patches 2 repliesSuperseded
  3. v112 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v103 patches26 repliesSuperseded
v93 patches2 repliesSuperseded
v83 patches6 repliesSuperseded

Changes in v13 from the cover letter

- Re-add the hwcap code which was accidentally dropped from v12.

Patches in v13 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm64: Implement archrandom.h for ARMv8.5-RNGDocumentation/arm64/cpu-feature-registers.rst Documentation/arm64/elf_hwcaps.rst arch/arm64/Kconfig +6 more+107 -11 reply
2/2arm64: Use v8.5-RNG entropy for KASLR seedarch/arm64/include/asm/archrandom.h arch/arm64/kernel/kaslr.c+19 -00 replies

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.

PatchMark RutlandArd Biesheuvel
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 v13 thread

Cover letter [PATCH v13 0/2] ARMv8.5-RNG support

This series is based on Richard Henderson's previous v7, it addresses review comments from that version by dropping the boot time RNG support and adds a new change that uses the v8.5-RNG extension to seed KASLR when ARCH_RANDOM is enabled. The boot time support will be re-added later, there are awkward potential interactons with CPU feature enumeration which need a bit more thought.

v13:
- Re-add the hwcap code which was accidentally dropped from v12.
v12:
- Move definition of __early_cpu_has_rndr() into KASLR patch.
v11:
- Add a hwcap for v8.5-RNG.
- Drop the addition of data to the pool, it's of questionable value and we need to go back and get the addition of actual entropy working anyway.
v10:
- Spell out that we're adding data not entropy from setup_arch() in the commit message for patch 2.
v9:
- Make another static inline helper for early feature checks.
- Add init annotations.
- Use xor to add RNDR output to seed for KASLR.

Mark Brown (1):
arm64: Use v8.5-RNG entropy for KASLR seed

Richard Henderson (1):
arm64: Implement archrandom.h for ARMv8.5-RNG

 Documentation/arm64/cpu-feature-registers.rst |  2 +
 Documentation/arm64/elf_hwcaps.rst            |  4 +
 arch/arm64/Kconfig                            | 12 +++
 arch/arm64/include/asm/archrandom.h           | 75 +++++++++++++++++++
 arch/arm64/include/asm/cpucaps.h              |  3 +-
 arch/arm64/include/asm/hwcap.h                |  1 +
 arch/arm64/include/asm/sysreg.h               |  4 +
 arch/arm64/include/uapi/asm/hwcap.h           |  1 +
 arch/arm64/kernel/cpufeature.c                | 14 ++++
 arch/arm64/kernel/kaslr.c                     | 11 +++
 10 files changed, 126 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm64/include/asm/archrandom.h
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel