Displaying 2 results from an estimated 2 matches for "dpm_resume_end".
2011 Feb 16
4
[PATCH] xen: use freeze/restore/thaw PM events for suspend/resume/chkpt
...nd_start(PMSG_FREEZE);
dpm_suspend_noirq(PMSG_FREEZE);
sysdev_suspend(PMSG_FREEZE);
cancelled = suspend_hypercall()
sysdev_resume();
dpm_resume_noirq(cancelled ? PMSG_THAW : PMSG_RESTORE);
dpm_resume_end(cancelled ? PMSG_THAW : PMSG_RESTORE);
Signed-off-by: Shriram Rajagopalan <rshriram@cs.ubc.ca>
---
drivers/xen/manage.c | 12 ++++++------
drivers/xen/xenbus/xenbus_probe.c | 2 +-
drivers/xen/xenbus/xenbus_probe_frontend.c | 8 +++++---
3 files change...
2011 Feb 07
26
[PATCH 0/2] Fix hangup after creating checkpoint on Xen.
...ed ''PMSG_CANCEL'' message and ''cancel'' handler in dev_pm_ops
struct in the pm-linux part.
In creating checkpoint mode, the resume handler of xenbus should not
be called. In this case, it is recognized that the suspend was canceled
in drivers/xen/manage.c and call dpm_resume_end() with PMSG_CANCEL.
If the ''cancel'' handler is defined, it is called instead of resume().
[1/2] - Fix hangup after creating checkpoint on Xen -- pm-linux part.
[2/2] - Fix hangup after creating checkpoint on Xen -- Xen part.
Please review.
Thanks,
KAZ
_________________________...