[02/13] kernel: Disable suspending systems to RAM

Message ID 20210917114229.10704-2-michael.tremer@ipfire.org
State New
Headers show
Series [01/13] kernel: Change timer tick to 1000Hz | expand

Commit Message

Michael Tremer Sept. 17, 2021, 11:42 a.m. UTC
We do not make any use of this functionality

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/kernel/kernel.config.aarch64-ipfire | 4 +---
 config/kernel/kernel.config.armv6l-ipfire  | 4 +---
 config/kernel/kernel.config.i586-ipfire    | 5 +----
 config/kernel/kernel.config.x86_64-ipfire  | 5 +----
 4 files changed, 4 insertions(+), 14 deletions(-)

Comments

Peter Müller Sept. 18, 2021, 4:09 p.m. UTC | #1
Acked-by: Peter Müller <peter.mueller@ipfire.org>


> We do not make any use of this functionality
> 
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>   config/kernel/kernel.config.aarch64-ipfire | 4 +---
>   config/kernel/kernel.config.armv6l-ipfire  | 4 +---
>   config/kernel/kernel.config.i586-ipfire    | 5 +----
>   config/kernel/kernel.config.x86_64-ipfire  | 5 +----
>   4 files changed, 4 insertions(+), 14 deletions(-)
> 
> diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire
> index 54cd7c084..589e0440d 100644
> --- a/config/kernel/kernel.config.aarch64-ipfire
> +++ b/config/kernel/kernel.config.aarch64-ipfire
> @@ -480,9 +480,7 @@ CONFIG_SYSVIPC_COMPAT=y
>   #
>   # Power management options
>   #
> -CONFIG_SUSPEND=y
> -CONFIG_SUSPEND_FREEZER=y
> -# CONFIG_SUSPEND_SKIP_SYNC is not set
> +# CONFIG_SUSPEND is not set
>   # CONFIG_HIBERNATION is not set
>   CONFIG_PM_SLEEP=y
>   CONFIG_PM_SLEEP_SMP=y
> diff --git a/config/kernel/kernel.config.armv6l-ipfire b/config/kernel/kernel.config.armv6l-ipfire
> index 6fe17954d..1dc5b1c58 100644
> --- a/config/kernel/kernel.config.armv6l-ipfire
> +++ b/config/kernel/kernel.config.armv6l-ipfire
> @@ -702,9 +702,7 @@ CONFIG_NEON=y
>   #
>   # Power management options
>   #
> -CONFIG_SUSPEND=y
> -CONFIG_SUSPEND_FREEZER=y
> -# CONFIG_SUSPEND_SKIP_SYNC is not set
> +# CONFIG_SUSPEND is not set
>   # CONFIG_HIBERNATION is not set
>   CONFIG_PM_SLEEP=y
>   CONFIG_PM_SLEEP_SMP=y
> diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.config.i586-ipfire
> index a915682e4..b159db581 100644
> --- a/config/kernel/kernel.config.i586-ipfire
> +++ b/config/kernel/kernel.config.i586-ipfire
> @@ -464,9 +464,7 @@ CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
>   #
>   # Power management and ACPI options
>   #
> -CONFIG_SUSPEND=y
> -CONFIG_SUSPEND_FREEZER=y
> -# CONFIG_SUSPEND_SKIP_SYNC is not set
> +# CONFIG_SUSPEND is not set
>   # CONFIG_HIBERNATION is not set
>   CONFIG_PM_SLEEP=y
>   CONFIG_PM_SLEEP_SMP=y
> @@ -484,7 +482,6 @@ CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
>   CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
>   # CONFIG_ACPI_DEBUGGER is not set
>   CONFIG_ACPI_SPCR_TABLE=y
> -CONFIG_ACPI_SLEEP=y
>   CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
>   CONFIG_ACPI_EC_DEBUGFS=m
>   CONFIG_ACPI_AC=y
> diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
> index 730e0791e..bf738bda5 100644
> --- a/config/kernel/kernel.config.x86_64-ipfire
> +++ b/config/kernel/kernel.config.x86_64-ipfire
> @@ -468,9 +468,7 @@ CONFIG_ARCH_ENABLE_THP_MIGRATION=y
>   #
>   # Power management and ACPI options
>   #
> -CONFIG_SUSPEND=y
> -CONFIG_SUSPEND_FREEZER=y
> -# CONFIG_SUSPEND_SKIP_SYNC is not set
> +# CONFIG_SUSPEND is not set
>   CONFIG_HIBERNATE_CALLBACKS=y
>   # CONFIG_HIBERNATION is not set
>   CONFIG_PM_SLEEP=y
> @@ -490,7 +488,6 @@ CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
>   # CONFIG_ACPI_DEBUGGER is not set
>   CONFIG_ACPI_SPCR_TABLE=y
>   CONFIG_ACPI_LPIT=y
> -CONFIG_ACPI_SLEEP=y
>   CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
>   CONFIG_ACPI_EC_DEBUGFS=m
>   CONFIG_ACPI_AC=y
>

Patch

diff --git a/config/kernel/kernel.config.aarch64-ipfire b/config/kernel/kernel.config.aarch64-ipfire
index 54cd7c084..589e0440d 100644
--- a/config/kernel/kernel.config.aarch64-ipfire
+++ b/config/kernel/kernel.config.aarch64-ipfire
@@ -480,9 +480,7 @@  CONFIG_SYSVIPC_COMPAT=y
 #
 # Power management options
 #
-CONFIG_SUSPEND=y
-CONFIG_SUSPEND_FREEZER=y
-# CONFIG_SUSPEND_SKIP_SYNC is not set
+# CONFIG_SUSPEND is not set
 # CONFIG_HIBERNATION is not set
 CONFIG_PM_SLEEP=y
 CONFIG_PM_SLEEP_SMP=y
diff --git a/config/kernel/kernel.config.armv6l-ipfire b/config/kernel/kernel.config.armv6l-ipfire
index 6fe17954d..1dc5b1c58 100644
--- a/config/kernel/kernel.config.armv6l-ipfire
+++ b/config/kernel/kernel.config.armv6l-ipfire
@@ -702,9 +702,7 @@  CONFIG_NEON=y
 #
 # Power management options
 #
-CONFIG_SUSPEND=y
-CONFIG_SUSPEND_FREEZER=y
-# CONFIG_SUSPEND_SKIP_SYNC is not set
+# CONFIG_SUSPEND is not set
 # CONFIG_HIBERNATION is not set
 CONFIG_PM_SLEEP=y
 CONFIG_PM_SLEEP_SMP=y
diff --git a/config/kernel/kernel.config.i586-ipfire b/config/kernel/kernel.config.i586-ipfire
index a915682e4..b159db581 100644
--- a/config/kernel/kernel.config.i586-ipfire
+++ b/config/kernel/kernel.config.i586-ipfire
@@ -464,9 +464,7 @@  CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
 #
 # Power management and ACPI options
 #
-CONFIG_SUSPEND=y
-CONFIG_SUSPEND_FREEZER=y
-# CONFIG_SUSPEND_SKIP_SYNC is not set
+# CONFIG_SUSPEND is not set
 # CONFIG_HIBERNATION is not set
 CONFIG_PM_SLEEP=y
 CONFIG_PM_SLEEP_SMP=y
@@ -484,7 +482,6 @@  CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
 CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
 # CONFIG_ACPI_DEBUGGER is not set
 CONFIG_ACPI_SPCR_TABLE=y
-CONFIG_ACPI_SLEEP=y
 CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
 CONFIG_ACPI_EC_DEBUGFS=m
 CONFIG_ACPI_AC=y
diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire
index 730e0791e..bf738bda5 100644
--- a/config/kernel/kernel.config.x86_64-ipfire
+++ b/config/kernel/kernel.config.x86_64-ipfire
@@ -468,9 +468,7 @@  CONFIG_ARCH_ENABLE_THP_MIGRATION=y
 #
 # Power management and ACPI options
 #
-CONFIG_SUSPEND=y
-CONFIG_SUSPEND_FREEZER=y
-# CONFIG_SUSPEND_SKIP_SYNC is not set
+# CONFIG_SUSPEND is not set
 CONFIG_HIBERNATE_CALLBACKS=y
 # CONFIG_HIBERNATION is not set
 CONFIG_PM_SLEEP=y
@@ -490,7 +488,6 @@  CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
 # CONFIG_ACPI_DEBUGGER is not set
 CONFIG_ACPI_SPCR_TABLE=y
 CONFIG_ACPI_LPIT=y
-CONFIG_ACPI_SLEEP=y
 CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
 CONFIG_ACPI_EC_DEBUGFS=m
 CONFIG_ACPI_AC=y