From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 00/12] hw_random: add 6 more RNG drivers
Date: Wed, 13 Mar 2024 11:56:19 +0100 [thread overview]
Message-ID: <20240313105631.686778-1-a.fatoum@pengutronix.de> (raw)
While stack protector support can be used without HWRNG, it will
print a warning about the fixed canary to alert to the fact that it
requires a random canary to be able to withstand an attacker.
Linux HWRNG drivers are surprisingly easy to port to barebox though,
so let's import 6 for commonly used platforms.
Notably missing is the CAAM for i.MX8M, which will follow separately.
Ahmad Fatoum (12):
hw_random: support ctrlc()
ARM: io: read 32 bits at once for aligned I/O memcpy/memset
driver: implement dev_platform_get_and_ioremap_resource
hw_random: add struct hwrng::priv member
hw_random: remove confusing left-overs from kernel help texts
hw_random: remove reference to undefined CONFIG_HW_RANDOM
hw_random: add Atmel RNG driver
hw_random: add BCM2835 RNG driver
hw_random: add IPROC RNG200 driver for BCM2711
hw_random: add Rockchip RNG support
hw_random: add timeriomem_rng driver
hw_random: add OMAP RNG driver
arch/arm/dts/rk356x.dtsi | 8 +
arch/arm/lib32/io.c | 73 +++--
arch/arm/mach-omap/am33xx_clock.c | 5 +
drivers/base/driver.c | 19 ++
drivers/hw_random/Kconfig | 50 +++-
drivers/hw_random/Makefile | 6 +
drivers/hw_random/atmel-rng.c | 165 +++++++++++
drivers/hw_random/bcm2835-rng.c | 199 +++++++++++++
drivers/hw_random/core.c | 8 +-
drivers/hw_random/iproc-rng200.c | 220 +++++++++++++++
drivers/hw_random/omap-rng.c | 436 +++++++++++++++++++++++++++++
drivers/hw_random/rockchip-rng.c | 259 +++++++++++++++++
drivers/hw_random/timeriomem-rng.c | 145 ++++++++++
include/driver.h | 4 +
include/linux/clk.h | 33 +++
include/linux/hw_random.h | 6 +
include/mach/omap/am33xx-clock.h | 1 +
17 files changed, 1613 insertions(+), 24 deletions(-)
create mode 100644 drivers/hw_random/atmel-rng.c
create mode 100644 drivers/hw_random/bcm2835-rng.c
create mode 100644 drivers/hw_random/iproc-rng200.c
create mode 100644 drivers/hw_random/omap-rng.c
create mode 100644 drivers/hw_random/rockchip-rng.c
create mode 100644 drivers/hw_random/timeriomem-rng.c
--
2.39.2
next reply other threads:[~2024-03-13 10:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-13 10:56 Ahmad Fatoum [this message]
2024-03-13 10:56 ` [PATCH 01/12] hw_random: support ctrlc() Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 02/12] ARM: io: read 32 bits at once for aligned I/O memcpy/memset Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 03/12] driver: implement dev_platform_get_and_ioremap_resource Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 04/12] hw_random: add struct hwrng::priv member Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 05/12] hw_random: remove confusing left-overs from kernel help texts Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 06/12] hw_random: remove reference to undefined CONFIG_HW_RANDOM Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 07/12] hw_random: add Atmel RNG driver Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 08/12] hw_random: add BCM2835 " Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 09/12] hw_random: add IPROC RNG200 driver for BCM2711 Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 10/12] hw_random: add Rockchip RNG support Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 11/12] hw_random: add timeriomem_rng driver Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 12/12] hw_random: add OMAP RNG driver Ahmad Fatoum
2024-03-15 7:07 ` [PATCH 00/12] hw_random: add 6 more RNG drivers Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240313105631.686778-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox