search for: pmprintk

Displaying 2 results from an estimated 2 matches for "pmprintk".

Did you mean: dprintk
2007 Jun 27
1
[PATCH 7/10] SMP support to Xen PM
...fic suspend/resume */ -int enter_state(u32 state) -{ - struct domain *d, *pd = NULL; - unsigned long flags; - int error; - - if (state <= ACPI_STATE_S0 || state > ACPI_S_STATES_MAX) - return -EINVAL; - - /* Sync lazy state on ths cpu */ - __sync_lazy_execstate(); - pmprintk(XENLOG_INFO, "Flush lazy state\n"); - - if (!spin_trylock(&pm_lock)) - return -EBUSY; - +/* Record the last paused domain at freeze phase */ +static struct domain *pd; +static int freeze_domains(void) +{ + struct domain *d; + + pd = NULL; for_each_domain(d)...
2007 Jun 27
0
[PATCH 1/10] Provide basic Xen PM infrastructure
...do xen specific suspend/resume */ +int enter_state(u32 state) +{ + struct domain *d; + unsigned long flags; + int error; + + if (state <= ACPI_STATE_S0 || state > ACPI_S_STATES_MAX) + return -EINVAL; + + /* Sync lazy state on ths cpu */ + __sync_lazy_execstate(); + pmprintk(XENLOG_INFO, "Flush lazy state\n"); + + if (!spin_trylock(&pm_lock)) + return -EBUSY; + + for_each_domain(d) + if (d->domain_id != 0) + domain_pause(d); + + pmprintk(XENLOG_INFO, "PM: Preparing system for %s sleep\n", + acpi_st...