[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4][PART 2 01/10] xen/x86: Move freeze/thaw_domains to common code



On Mon, Jun 2, 2025 at 12:20 PM Jan Beulich <jbeulich@xxxxxxxx> wrote:
>
> On 02.06.2025 11:04, Mykola Kvach wrote:
> > From: Mirela Simonovic <mirela.simonovic@xxxxxxxxxx>
> >
> > 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.simonovic@xxxxxxxxxx>
> > Signed-off-by: Saeed Nowshadi <saeed.nowshadi@xxxxxxxxxx>
> > Signed-off-by: Mykyta Poturai <mykyta_poturai@xxxxxxxx>
> > Signed-off-by: Mykola Kvach <mykola_kvach@xxxxxxxx>
>
> On the assumption that the transient Misra violation is okay:

Perhaps wrapping it with CONFIG_SYSTEM_SUSPEND would be sufficient.

> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
>
> Jan

Mykola



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.