Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xen: resume interrupts before system devices.

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>

authored by

Ian Campbell and committed by
Jeremy Fitzhardinge
1e6fcf84 8de07bbd

+3 -3
+3 -3
drivers/xen/manage.c
··· 68 68 gnttab_resume(); 69 69 xen_mm_unpin_all(); 70 70 71 - sysdev_resume(); 72 - device_power_up(PMSG_RESUME); 73 - 74 71 if (!*cancelled) { 75 72 xen_irq_resume(); 76 73 xen_console_resume(); 77 74 xen_timer_resume(); 78 75 } 76 + 77 + sysdev_resume(); 78 + device_power_up(PMSG_RESUME); 79 79 80 80 return 0; 81 81 }