summaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2013-09-23 12:52:21 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2014-01-06 10:07:55 -0500
commit8785c67663b6ba023c7c6d61d37d8e08c00d86a8 (patch)
treed10a27ff029ab65915b0f568c3ac4430e6fad8df /arch/x86
parent6ccecb0fbc0494c7221459e6358a016f3281a0ca (diff)
downloadop-kernel-dev-8785c67663b6ba023c7c6d61d37d8e08c00d86a8.zip
op-kernel-dev-8785c67663b6ba023c7c6d61d37d8e08c00d86a8.tar.gz
xen/x86: set VIRQ_TIMER priority to maximum
Commit bee980d9e (xen/events: Handle VIRQ_TIMER before any other hardirq in event loop) effectively made the VIRQ_TIMER the highest priority event when using the 2-level ABI. Set the VIRQ_TIMER priority to the highest so this behaviour is retained when using the FIFO-based ABI. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/xen/time.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c
index 12a1ca7..7b78f88 100644
--- a/arch/x86/xen/time.c
+++ b/arch/x86/xen/time.c
@@ -446,6 +446,7 @@ void xen_setup_timer(int cpu)
IRQF_PERCPU|IRQF_NOBALANCING|IRQF_TIMER|
IRQF_FORCE_RESUME,
name, NULL);
+ (void)xen_set_irq_priority(irq, XEN_IRQ_PRIORITY_MAX);
memcpy(evt, xen_clockevent, sizeof(*evt));
OpenPOWER on IntegriCloud