From: Ian Campbell Subject: Re: [PATCH V2 1/2] xen/arm: gic_disable_cpu must be called with interrupts disabled Date: Fri, 10 May 2013 15:22:03 +0100 Message-ID: <1368195723.27857.140.camel@zakaz.uk.xensource.com> References: <1366119508-9227-1-git-send-email-julien.grall@citrix.com> <1366119508-9227-2-git-send-email-julien.grall@citrix.com> <1367409334.3142.718.camel@zakaz.uk.xensource.com> <518109D6.3070801@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <518109D6.3070801@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Stefano Stabellini , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2013-05-01 at 13:25 +0100, Julien Grall wrote: > On 05/01/2013 12:55 PM, Ian Campbell wrote: > > > On Tue, 2013-04-16 at 14:38 +0100, Julien Grall wrote: > >> gic_disable_cpu is only called with interrupt disabled. > >> Use spin_lock instead of spin_lock_irq and check the function is > >> called with interrupts disabled. > > > > Is this patch still relevant after this change which is now in master? > > > Yes. gic_disable is only called by __cpu_disable, and the irq is disabled. > > local_irq_disable(); > gic_disable_cpu(); Thanks, I somehow dropped this from my queue without applying, thanks to your kick IRL I have now applied.