From: "Jan Beulich" Subject: Re: NR_PIRQS vs. NR_IRQS Date: Fri, 14 Nov 2008 08:19:02 +0000 Message-ID: <491D4286.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? Perhaps not, but I only started checking (on the Xen side - the kernel = side has no issues, already bumped the value there). I'll continue as time = permits. >These parameters should probably be build-time configurable. That'd certainly be nice for NR_IRQS (it seems we agreed to get rid of NR_PIRQS). I can't the same being valid for NR_VECTORS, though. Jan