On 11.06.2025 07:55, Mykola Kvach wrote: > On Mon, Jun 2, 2025 at 12:20 PM Jan Beulich <jbeul...@suse.com> wrote: >> >> On 02.06.2025 11:04, Mykola Kvach wrote: >>> From: Mirela Simonovic <mirela.simono...@aggios.com> >>> >>> The freeze_domains and thaw_domains functions are currently defined >>> in x86-specific suspend code. These functions are also useful on other >>> architectures, such as ARM, for implementing system-wide suspend and >>> resume functionality. >>> >>> This patch moves these functions to common code so they can be reused >>> across architectures. >>> >>> Signed-off-by: Mirela Simonovic <mirela.simono...@aggios.com> >>> Signed-off-by: Saeed Nowshadi <saeed.nowsh...@xilinx.com> >>> Signed-off-by: Mykyta Poturai <mykyta_potu...@epam.com> >>> Signed-off-by: Mykola Kvach <mykola_kv...@epam.com> >> >> On the assumption that the transient Misra violation is okay: > > Perhaps wrapping it with CONFIG_SYSTEM_SUSPEND would be sufficient.
Quite likely, unless another use case for the functions would appear. Jan