projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3f8a74
)
xen: resume interrupts before system devices.
author
Ian Campbell
<Ian.Campbell@citrix.com>
Wed, 25 Mar 2009 17:46:42 +0000
(17:46 +0000)
committer
Jeremy Fitzhardinge
<jeremy.fitzhardinge@citrix.com>
Wed, 8 Apr 2009 21:25:47 +0000
(14:25 -0700)
Impact: bugfix Xen domain restore
Otherwise the first timer interrupt after resume is missed and we never
get another.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
drivers/xen/manage.c
patch
|
blob
|
history
diff --git
a/drivers/xen/manage.c
b/drivers/xen/manage.c
index 0d61db1e7b49bc5f5fd095795e74001dadda1bc3..4b5b84837ee13c85fab14a73c7ab213f74af90e2 100644
(file)
--- a/
drivers/xen/manage.c
+++ b/
drivers/xen/manage.c
@@
-62,14
+62,15
@@
static int xen_suspend(void *data)
gnttab_resume();
xen_mm_unpin_all();
- sysdev_resume();
-
if (!*cancelled) {
xen_irq_resume();
xen_console_resume();
xen_timer_resume();
}
+ sysdev_resume();
+ device_power_up(PMSG_RESUME);
+
return 0;
}