From: Ian Campbell Subject: Re: [PATCH] have architectures specify the number of PIRQs a hardware domain gets Date: Fri, 5 Dec 2014 14:51:01 +0000 Message-ID: <1417791061.22808.68.camel@eu.citrix.com> References: <5481C67D020000780004D2D1@mail.emea.novell.com> <1417789634.22808.66.camel@eu.citrix.com> <5481D3D1020000780004D35F@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XwuDu-0006oB-J3 for xen-devel@lists.xenproject.org; Fri, 05 Dec 2014 14:51:10 +0000 In-Reply-To: <5481D3D1020000780004D35F@mail.emea.novell.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: Jan Beulich Cc: Keir Fraser , Stefano Stabellini , Andrew Cooper , IanJackson , Tim Deegan , David Vrabel , xen-devel List-Id: xen-devel@lists.xenproject.org On Fri, 2014-12-05 at 14:48 +0000, Jan Beulich wrote: > >>> On 05.12.14 at 15:27, wrote: > > On Fri, 2014-12-05 at 13:51 +0000, Jan Beulich wrote: > >> #define nr_static_irqs NR_IRQS > >> +#define arch_hwdom_irqs(domid) NR_IRQS > > > > FWIW gic_number_lines() is the ARM equivalent of getting the number of > > GSIs. > > > > *BUT* we don't actually use pirqs on ARM (everything goes via the > > virtualised interrupt controller). So maybe we should be setting > > nr_pirqs to 0 on ARM. I appreciate you likely want such a patch to come > > from an ARM person, so I'm fine with you making this NR_IRQS in the > > meantime. > > Considering Julien also asking for this, I don't mind changing this to > zero for ARM. Just let me know which way I can get this ack-ed. If you are happy to provide a version using zero and Julien wants to provide a tested-by then I'm fine with going that way. I'm not happy taking that change untested though, and I don't expect you to test it. Ian.