From: Julien Grall Date: Wed, 1 Apr 2015 16:21:45 +0000 (+0100) Subject: xen/arm: gic_route_irq_to_guest: Honor the priority given in parameter X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3469 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7f88bfeeea81f60c591b98af430f1bc24512d48b;p=xen.git xen/arm: gic_route_irq_to_guest: Honor the priority given in parameter The priority is already hardcoded in route_irq_to_guest and therefore can't be controlled by the guest. Signed-off-by: Julien Grall Acked-by: Stefano Stabellini Acked-by: Ian Campbell --- diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c index 2709415c9b..5f349977a6 100644 --- a/xen/arch/arm/gic.c +++ b/xen/arch/arm/gic.c @@ -152,7 +152,7 @@ int gic_route_irq_to_guest(struct domain *d, unsigned int virq, desc->handler = gic_hw_ops->gic_guest_irq_type; set_bit(_IRQ_GUEST, &desc->status); - gic_set_irq_properties(desc, cpumask_of(v_target->processor), GIC_PRI_IRQ); + gic_set_irq_properties(desc, cpumask_of(v_target->processor), priority); p->desc = desc; res = 0;