All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v9 0/3] add support for rng-seed
@ 2019-08-22  7:15 ` Hsin-Yi Wang
  0 siblings, 0 replies; 21+ messages in thread
From: Hsin-Yi Wang @ 2019-08-22  7:15 UTC (permalink / raw)
  To: linux-arm-kernel, Theodore Y . Ts'o
  Cc: Russell King, Catalin Marinas, Will Deacon, Thomas Gleixner,
	Ingo Molnar, Borislav Petkov, H . Peter Anvin, Paul E . McKenney,
	Kate Stewart, David S . Miller, Viresh Kumar, Marek Szyprowski,
	Arnd Bergmann, Marc Zyngier, Julien Thierry, Greg Kroah-Hartman,
	Wei Li, Anders Roxell, Rob Herring, Aaro Koskinen,
	Daniel Thompson, Tim Chen, Rik van Riel, Waiman Long,
	Marcelo Tosatti, Peter Zijlstra, Armijn Hemel, Grzegorz Halat,
	Len Brown, Shaokun Zhang, Mike Rapoport, Kees Cook, Stephen Boyd,
	Guenter Roeck, Andrew Morton, Mathieu Desnoyers, Alexey Dobriyan,
	Yury Norov, Josh Poimboeuf, Jiri Kosina, Mukesh Ojha,
	linux-kernel

Introducing a chosen node, rng-seed, which is an entropy that can be
passed to kernel called very early to increase initial device
randomness. This can be used for adding sufficient initial entropy
for stack canary. Especially architectures that lack per-stack canary.

Hsin-Yi Wang (3):
  arm64: map FDT as RW for early_init_dt_scan()
  fdt: add support for rng-seed
  arm64: kexec_file: add rng-seed support

 arch/arm64/include/asm/mmu.h           |  2 +-
 arch/arm64/kernel/kaslr.c              |  5 +----
 arch/arm64/kernel/machine_kexec_file.c | 18 +++++++++++++++++-
 arch/arm64/kernel/setup.c              |  9 ++++++++-
 arch/arm64/mm/mmu.c                    | 15 +--------------
 drivers/char/Kconfig                   | 10 ++++++++++
 drivers/char/random.c                  | 15 +++++++++++++++
 drivers/of/fdt.c                       | 14 ++++++++++++--
 include/linux/random.h                 |  1 +
 9 files changed, 66 insertions(+), 23 deletions(-)

--
Change from v8:
* Add a new interface add_bootloader_randomness
--
2.20.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2019-08-29 16:25 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-22  7:15 [PATCH v9 0/3] add support for rng-seed Hsin-Yi Wang
2019-08-22  7:15 ` Hsin-Yi Wang
2019-08-22  7:15 ` [PATCH v9 1/3] arm64: map FDT as RW for early_init_dt_scan() Hsin-Yi Wang
2019-08-22  7:15   ` Hsin-Yi Wang
2019-08-22  7:15 ` [PATCH v9 2/3] fdt: add support for rng-seed Hsin-Yi Wang
2019-08-22  7:15   ` Hsin-Yi Wang
2019-08-22 16:03   ` Theodore Y. Ts'o
2019-08-22 16:03     ` Theodore Y. Ts'o
2019-08-22 17:39   ` Stephen Boyd
2019-08-22 17:39     ` Stephen Boyd
2019-08-24 19:04     ` Kees Cook
2019-08-24 19:04       ` Kees Cook
2019-08-29 10:03       ` Hsin-Yi Wang
2019-08-29 10:03         ` Hsin-Yi Wang
2019-08-29 15:45         ` Theodore Y. Ts'o
2019-08-29 15:45           ` Theodore Y. Ts'o
2019-08-29 16:25           ` Kees Cook
2019-08-29 16:22         ` Kees Cook
2019-08-29 16:22           ` Kees Cook
2019-08-22  7:15 ` [PATCH v9 3/3] arm64: kexec_file: add rng-seed support Hsin-Yi Wang
2019-08-22  7:15   ` Hsin-Yi Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.