[PATCH v5] rng: Add Turris Mox rTWM RNG driver

2024-02-15 Thread Max Resch
A RNG driver for Armada 3720 boards running the Turris Mox rWTM firmware from CZ.NIC in the secure processor. Signed-off-by: Max Resch --- Changes in v5: - check return code turris_rwtm_rng_fill_entropy - remove empty line Changes in v4: - wrongful/missing git rebase Changes in v3: - More

[PATCH v4] rng: Add Turris Mox rTWM RNG driver

2024-02-11 Thread Max Resch
A RNG driver for Armada 3720 boards running the Turris Mox rWTM firmware from CZ.NIC in the secure processor. Signed-off-by: Max Resch --- Changes in v4: - wrongful/missing git rebase Changes in v3: - More meaningful variable names in accordance with review Changes in v2: - Removed ring

[PATCH v3] rng: Add Turris Mox rTWM RNG driver

2024-02-07 Thread Max Resch
A RNG driver for Armada 3720 boards running the Turris Mox rWTM firmware from CZ.NIC in the secure processor. Signed-off-by: Max Resch --- Changes in v3: - More meaningful variable names in accordance with review Changes in v2: - Removed ring buffer implementation drivers/rng

Re: [PATCH v2] rng: Add Turris Mox rWTM RNG driver

2024-02-06 Thread Max Resch
, I'm not sure if this should be part of the patch, this could be enabled on some default configurations for the Armada 3700. -- Max Below are a few more things to change and then you I'll give my Reviewed-by tag. On Sun, 21 Jan 2024 21:17:16 +0100 Max Resch wrote: A RNG driver for Armada

[PATCH v2] rng: Add Turris Mox rWTM RNG driver

2024-01-21 Thread Max Resch
A RNG driver for Armada 3720 boards running the Turris Mox rWTM firmware from CZ.NIC in the secure processor. Signed-off-by: Max Resch --- Changes in v2: - Removed ring buffer implementation drivers/rng/Kconfig | 8 +++ drivers/rng/Makefile | 1 + drivers/rng

[PATCH 1/1] add turris-rwtm-rng from CZ.NIC rWTM Firmware

2024-01-20 Thread Max Resch
usable on all armada3700 devices with CZ.NIC firmware compatible with devices with default firmware (does nothing) based on Linux turris-mox-rwtm module Signed-off-by: Max Resch --- drivers/rng/Kconfig | 8 ++ drivers/rng/Makefile | 1 + drivers/rng/turris_rwtm_rng.c

[PATCH 0/1] This patch adds support for the entropy generator present in

2024-01-20 Thread Max Resch
chose to cache 4k of enthropy in a ringbuffer. Max Resch (1): add turris-rwtm-rng from CZ.NIC rWTM Firmware drivers/rng/Kconfig | 8 ++ drivers/rng/Makefile | 1 + drivers/rng/turris_rwtm_rng.c | 143 ++ 3 files changed, 152 insertions