Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753240AbbKZSWg (ORCPT ); Thu, 26 Nov 2015 13:22:36 -0500 Received: from smtp.citrix.com ([66.165.176.89]:11959 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752722AbbKZSWe (ORCPT ); Thu, 26 Nov 2015 13:22:34 -0500 X-IronPort-AV: E=Sophos;i="5.20,347,1444694400"; d="scan'208";a="314905502" Message-ID: <56574DE3.2040808@citrix.com> Date: Thu, 26 Nov 2015 18:22:27 +0000 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.8.0 MIME-Version: 1.0 To: Boris Ostrovsky , , , CC: , , , , , , Subject: Re: [Xen-devel] [PATCH] xen/events: Always allocate legacy interrupts on PV guests References: <1448036704-18630-1-git-send-email-boris.ostrovsky@oracle.com> In-Reply-To: <1448036704-18630-1-git-send-email-boris.ostrovsky@oracle.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 898 Lines: 26 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/