summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2014-08-07 17:06:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-05 16:36:36 -0700
commitd752dc49bdf17acf7e075091a6a8c97612a673a1 (patch)
tree5d6b87a903c9e40f99c87e6d4e24c7f753d5a823 /mm
parent434d59e0718f5fdf91ff9a9bb6c98887e42ba912 (diff)
x86/xen: resume timer irqs early
commit 8d5999df35314607c38fbd6bdd709e25c3a4eeab upstream. If the timer irqs are resumed during device resume it is possible in certain circumstances for the resume to hang early on, before device interrupts are resumed. For an Ubuntu 14.04 PVHVM guest this would occur in ~0.5% of resume attempts. It is not entirely clear what is occuring the point of the hang but I think a task necessary for the resume calls schedule_timeout(), waiting for a timer interrupt (which never arrives). This failure may require specific tasks to be running on the other VCPUs to trigger (processes are not frozen during a suspend/resume if PREEMPT is disabled). Add IRQF_EARLY_RESUME to the timer interrupts so they are resumed in syscore_resume(). Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions