From: "Jan Beulich" Subject: Re: NR_PIRQS vs. NR_IRQS Date: Wed, 19 Nov 2008 15:55:16 +0000 Message-ID: <492444F4.76E4.0078.0@novell.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org >>> Keir Fraser 14.11.08 09:00 >>> >On 14/11/08 07:54, "Keir Fraser" wrote: > >>>> I agree with keeping this naming distinction of course, although I = think >>>> allowing NR_IRQS > NR_VECTORS right now is not very useful. But maybe = you >>>> have a box in mind that needs it? >>>=20 >>> I had sent a mail a few days ago on this, where IBM was testing 96 CPU >>> support (4-node system), and it crashing because of a PIRQ ending up = in >>> DYNIRQ space (kernel perspective), because there being 300+ IO-APIC >>> pins. While the crash ought to be fixed with the subsequent patch, = it's >>> clear that none of the devices with an accumulated pin number greater >>> than 255 will actually work on that system. >>=20 >> Oh dear. :-D > >Is fixing this actually any harder than just bumping NR_IRQS/NR_PIRQS in = Xen >and NR_PIRQS in Linux? Have IRQS and VECTORS got somehow accidentally = tied >together in Xen? Unfortunately there was some mix-up. But I think I got this fixed (running a NR_IRQS=3D1024 hypervisor at the moment). I'd prefer to submit these patches only after your NR_PIRQS -> NR_IRQS change comes out of the staging tree though, to make sure it applies (and works) correctly on top of it. >These parameters should probably be build-time configurable. This too. Jan