From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH v3 5/6] xen/arm: Only enable physical IRQs when the guest asks Date: Tue, 10 Dec 2013 21:11:42 +0000 Message-ID: <52A7838E.3090107@linaro.org> References: <1386701456-20307-5-git-send-email-stefano.stabellini@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1386701456-20307-5-git-send-email-stefano.stabellini@eu.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: Stefano Stabellini , xen-devel@lists.xensource.com Cc: julien.grall@citrix.com, Ian.Campbell@citrix.com List-Id: xen-devel@lists.xenproject.org On 12/10/2013 06:50 PM, Stefano Stabellini wrote: > From: Julien Grall > > Set/Unset IRQ_DISABLED from gic_irq_enable and gic_irq_disable. > Enable IRQs when the guest requests it, not unconditionally at boot time. > > Signed-off-by: Stefano Stabellini > Signed-off-by: Julien Grall > Acked-by: Ian Campbell > > Changes in v2: > - protect startup and shutdown with gic and desc locks. I think this change can move in patch #4 where you have implemented gic_irq_enable/gic_irq_disable. -- Julien Grall