From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v1 0/2] xen/arm: maintenance_interrupt SMP fix Date: Tue, 04 Feb 2014 15:32:03 +0000 Message-ID: <52F107F3.9080302@linaro.org> References: <1390844023-23123-1-git-send-email-oleksandr.tyshchenko@globallogic.com> <52E69CBC.3090207@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: Oleksandr Tyshchenko , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Hi Stefano, On 01/29/2014 11:46 AM, Stefano Stabellini wrote: > Thinking twice about it, it might be the only acceptable change for 4.4. After thinking, if Ian's patch to prioritize the IPI (http://www.gossamer-threads.com/lists/xen/devel/315342?do=post_view_threaded) is not pushed for Xen 4.4, this patch might be useful for Oleksandr. Can you send it with a commit message and signed-off? > diff --git a/xen/arch/arm/gic.c b/xen/arch/arm/gic.c > index e6257a7..af96a31 100644 > --- a/xen/arch/arm/gic.c > +++ b/xen/arch/arm/gic.c > @@ -776,8 +795,7 @@ int gic_route_irq_to_guest(struct domain *d, const struct dt_irq *irq, > > level = dt_irq_is_level_triggered(irq); > > - gic_set_irq_properties(irq->irq, level, cpumask_of(smp_processor_id()), > - 0xa0); > + gic_set_irq_properties(irq->irq, level, cpumask_of(0), 0xa0); I would add a TODO before the function and perhaps explain why... Cheers, -- Julien Grall