From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH] xen/events: Always allocate legacy interrupts on PV guests Date: Thu, 26 Nov 2015 18:22:27 +0000 Message-ID: <56574DE3.2040808__17513.030608143$1448562248$gmane$org@citrix.com> References: <1448036704-18630-1-git-send-email-boris.ostrovsky@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1448036704-18630-1-git-send-email-boris.ostrovsky@oracle.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: Boris Ostrovsky , konrad.wilk@oracle.com, david.vrabel@citrix.com, linux@arm.linux.org.uk Cc: jgross@suse.com, linux-kernel@vger.kernel.org, xen-devel@lists.xen.org, stefano.stabellini@citrix.com, vkuznets@redhat.com, tglx@linutronix.de, linux-arm-kernel@lists.infradead.org List-Id: xen-devel@lists.xenproject.org On 20/11/15 16:25, Boris Ostrovsky wrote: > After commit 8c058b0b9c34 ("x86/irq: Probe for PIC presence before > allocating descs for legacy IRQs") early_irq_init() will no longer > preallocate descriptors for legacy interrupts if PIC does not > exist, which is the case for Xen PV guests. > > Therefore we may need to allocate those descriptors ourselves. Applied to for-linus-4.4, thanks. > --- a/arch/arm64/include/asm/irq.h > +++ b/arch/arm64/include/asm/irq.h > @@ -7,4 +7,10 @@ struct pt_regs; > > extern void set_handle_irq(void (*handle_irq)(struct pt_regs *)); > > +#define NR_IRQS_LEGACY 0 I dropped this unnecessary #define. David