git: 93b02f69a6f6 - main - random: fenestrasX: Add missing entropy sources
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Oct 2025 16:55:01 UTC
The branch main has been updated by obrien:
URL: https://cgit.FreeBSD.org/src/commit/?id=93b02f69a6f6ffb833227c2fd56d48daac128156
commit 93b02f69a6f6ffb833227c2fd56d48daac128156
Author: David E. O'Brien <obrien@FreeBSD.org>
AuthorDate: 2025-10-23 06:25:59 +0000
Commit: David E. O'Brien <obrien@FreeBSD.org>
CommitDate: 2025-10-23 16:54:03 +0000
random: fenestrasX: Add missing entropy sources
Reviewed by: cem
Fixes: 1492c8c0d qcom_rnd: add initial qualcomm prng driver.
Fixes: 9eecef052 Add an Armv8 rndr random number provider
Fixes: b2f8b2dc8 sys: Add an SMCCC Random Number Generator driver
Differential Revision: https://reviews.freebsd.org/D53292
---
sys/dev/random/fenestrasX/fx_pool.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/sys/dev/random/fenestrasX/fx_pool.c b/sys/dev/random/fenestrasX/fx_pool.c
index 95c2d223e0de..858069035572 100644
--- a/sys/dev/random/fenestrasX/fx_pool.c
+++ b/sys/dev/random/fenestrasX/fx_pool.c
@@ -206,6 +206,15 @@ static const struct fxrng_ent_char {
[RANDOM_PURE_VMGENID] = {
.entc_cls = &fxrng_hi_push,
},
+ [RANDOM_PURE_QUALCOMM] = {
+ .entc_cls = &fxrng_hi_pull,
+ },
+ [RANDOM_PURE_ARMV8] = {
+ .entc_cls = &fxrng_hi_pull,
+ },
+ [RANDOM_PURE_ARM_TRNG] = {
+ .entc_cls = &fxrng_hi_pull,
+ },
};
/* Useful for single-bit-per-source state. */