On 06.06.2025 12:11, Mykola Kvach wrote:
> From: Mykyta Poturai <mykyta_potu...@epam.com>
> 
> This option enables the system suspend support. This is the mechanism that
> allows the system to be suspended to RAM and later resumed.
> 
> The patch introduces three options:
> - HAS_SYSTEM_SUSPEND: indicates suspend support is available on the platform.
> - SYSTEM_SUSPEND_ALWAYS_ON: used for architectures where suspend must always
>   be enabled.
> - SYSTEM_SUSPEND: user-facing option to enable/disable suspend if supported.
>   Defaults to enabled if SYSTEM_SUSPEND_ALWAYS_ON is set and depends on
>   HAS_SYSTEM_SUSPEND.
> 
> On x86, both HAS_SYSTEM_SUSPEND and SYSTEM_SUSPEND_ALWAYS_ON are selected by
> default, making suspend support always enabled. The options are designed to
> be easily extensible to other architectures (e.g., PPC, RISC-V) as future
> support is added.
> 
> Signed-off-by: Mykyta Poturai <mykyta_potu...@epam.com>
> Signed-off-by: Mykola Kvach <mykola_kv...@epam.com>

Acked-by: Jan Beulich <jbeul...@suse.com>


Reply via email to