diff mbox series

[3/9] kernel/x86: move Geode HW random from generic to geode

Message ID 888ba3e4666c8bc34dbd0333730e05ac69686d89.1682539911.git.ehem+openwrt@m5p.com
State New
Headers show
Series (mostly) x86 kernel configuration adjustments | expand

Commit Message

Elliott Mitchell April 19, 2023, 9:07 p.m. UTC
Quite reasonable to have support for the Geode HW random number
generator.  On the Geode kernel.

Support for the VIA HWRNG has been enabled in common.  Pull that
from the Geode kernel.

Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
---
 target/linux/x86/config-5.10       | 1 -
 target/linux/x86/config-5.15       | 1 -
 target/linux/x86/geode/config-5.10 | 2 ++
 target/linux/x86/geode/config-5.15 | 2 ++
 4 files changed, 4 insertions(+), 2 deletions(-)

Comments

Philip Prindeville April 28, 2023, 4:30 p.m. UTC | #1
Reviewed-by: Philip Prindeville <philipp#@redfish-solutions.com>


> On Apr 19, 2023, at 3:07 PM, Elliott Mitchell <ehem+openwrt@m5p.com> wrote:
> 
> Quite reasonable to have support for the Geode HW random number
> generator.  On the Geode kernel.
> 
> Support for the VIA HWRNG has been enabled in common.  Pull that
> from the Geode kernel.
> 
> Signed-off-by: Elliott Mitchell <ehem+openwrt@m5p.com>
> ---
> target/linux/x86/config-5.10       | 1 -
> target/linux/x86/config-5.15       | 1 -
> target/linux/x86/geode/config-5.10 | 2 ++
> target/linux/x86/geode/config-5.15 | 2 ++
> 4 files changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/target/linux/x86/config-5.10 b/target/linux/x86/config-5.10
> index 1a2f0d653a..cfd580b282 100644
> --- a/target/linux/x86/config-5.10
> +++ b/target/linux/x86/config-5.10
> @@ -156,7 +156,6 @@ CONFIG_HPET_EMULATE_RTC=y
> CONFIG_HPET_TIMER=y
> # CONFIG_HP_WATCHDOG is not set
> CONFIG_HW_CONSOLE=y
> -CONFIG_HW_RANDOM_GEODE=y
> CONFIG_HW_RANDOM_VIA=y
> # CONFIG_HYPERVISOR_GUEST is not set
> CONFIG_HZ_PERIODIC=y
> diff --git a/target/linux/x86/config-5.15 b/target/linux/x86/config-5.15
> index 715090977b..acfaa0e4b7 100644
> --- a/target/linux/x86/config-5.15
> +++ b/target/linux/x86/config-5.15
> @@ -157,7 +157,6 @@ CONFIG_HPET_EMULATE_RTC=y
> CONFIG_HPET_TIMER=y
> # CONFIG_HP_WATCHDOG is not set
> CONFIG_HW_CONSOLE=y
> -CONFIG_HW_RANDOM_GEODE=y
> CONFIG_HW_RANDOM_VIA=y
> # CONFIG_HYPERVISOR_GUEST is not set
> CONFIG_HZ_PERIODIC=y
> diff --git a/target/linux/x86/geode/config-5.10 b/target/linux/x86/geode/config-5.10
> index 579f316914..dc2ac4454b 100644
> --- a/target/linux/x86/geode/config-5.10
> +++ b/target/linux/x86/geode/config-5.10
> @@ -49,6 +49,8 @@ CONFIG_GPIO_CS5535=y
> # CONFIG_HPET is not set
> # CONFIG_HP_ACCEL is not set
> CONFIG_HWMON=y
> +CONFIG_HW_RANDOM_GEODE=y
> +CONFIG_HW_RANDOM_VIA=n
> CONFIG_I2C=y
> CONFIG_I2C_ALGOBIT=y
> CONFIG_I2C_ALGOPCA=y
> diff --git a/target/linux/x86/geode/config-5.15 b/target/linux/x86/geode/config-5.15
> index 2ede23ea5e..2a8db278b3 100644
> --- a/target/linux/x86/geode/config-5.15
> +++ b/target/linux/x86/geode/config-5.15
> @@ -53,6 +53,8 @@ CONFIG_GPIO_CS5535=y
> # CONFIG_HPET is not set
> # CONFIG_HP_ACCEL is not set
> CONFIG_HWMON=y
> +CONFIG_HW_RANDOM_GEODE=y
> +CONFIG_HW_RANDOM_VIA=n
> CONFIG_I2C=y
> CONFIG_I2C_ALGOBIT=y
> CONFIG_I2C_ALGOPCA=y
> -- 
> (\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
> \BS (    |       ehem+openwrt@m5p.com     PGP 87145445       |    )   /
>  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
> 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
> 
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
diff mbox series

Patch

diff --git a/target/linux/x86/config-5.10 b/target/linux/x86/config-5.10
index 1a2f0d653a..cfd580b282 100644
--- a/target/linux/x86/config-5.10
+++ b/target/linux/x86/config-5.10
@@ -156,7 +156,6 @@  CONFIG_HPET_EMULATE_RTC=y
 CONFIG_HPET_TIMER=y
 # CONFIG_HP_WATCHDOG is not set
 CONFIG_HW_CONSOLE=y
-CONFIG_HW_RANDOM_GEODE=y
 CONFIG_HW_RANDOM_VIA=y
 # CONFIG_HYPERVISOR_GUEST is not set
 CONFIG_HZ_PERIODIC=y
diff --git a/target/linux/x86/config-5.15 b/target/linux/x86/config-5.15
index 715090977b..acfaa0e4b7 100644
--- a/target/linux/x86/config-5.15
+++ b/target/linux/x86/config-5.15
@@ -157,7 +157,6 @@  CONFIG_HPET_EMULATE_RTC=y
 CONFIG_HPET_TIMER=y
 # CONFIG_HP_WATCHDOG is not set
 CONFIG_HW_CONSOLE=y
-CONFIG_HW_RANDOM_GEODE=y
 CONFIG_HW_RANDOM_VIA=y
 # CONFIG_HYPERVISOR_GUEST is not set
 CONFIG_HZ_PERIODIC=y
diff --git a/target/linux/x86/geode/config-5.10 b/target/linux/x86/geode/config-5.10
index 579f316914..dc2ac4454b 100644
--- a/target/linux/x86/geode/config-5.10
+++ b/target/linux/x86/geode/config-5.10
@@ -49,6 +49,8 @@  CONFIG_GPIO_CS5535=y
 # CONFIG_HPET is not set
 # CONFIG_HP_ACCEL is not set
 CONFIG_HWMON=y
+CONFIG_HW_RANDOM_GEODE=y
+CONFIG_HW_RANDOM_VIA=n
 CONFIG_I2C=y
 CONFIG_I2C_ALGOBIT=y
 CONFIG_I2C_ALGOPCA=y
diff --git a/target/linux/x86/geode/config-5.15 b/target/linux/x86/geode/config-5.15
index 2ede23ea5e..2a8db278b3 100644
--- a/target/linux/x86/geode/config-5.15
+++ b/target/linux/x86/geode/config-5.15
@@ -53,6 +53,8 @@  CONFIG_GPIO_CS5535=y
 # CONFIG_HPET is not set
 # CONFIG_HP_ACCEL is not set
 CONFIG_HWMON=y
+CONFIG_HW_RANDOM_GEODE=y
+CONFIG_HW_RANDOM_VIA=n
 CONFIG_I2C=y
 CONFIG_I2C_ALGOBIT=y
 CONFIG_I2C_ALGOPCA=y