From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 821C2B6FBB for ; Tue, 24 Apr 2012 21:22:55 +1000 (EST) Message-ID: <1335266570.15830.11.camel@pasglop> Subject: Re: [PATCH v2 1/2] powerpc/8xx: Fix NR_IRQ bugs and refactor 8xx interrupt controller From: Benjamin Herrenschmidt To: Joakim Tjernlund Date: Tue, 24 Apr 2012 21:22:50 +1000 In-Reply-To: References: <1335220202-32533-1-git-send-email-grant.likely@secretlab.ca> <1335220202-32533-2-git-send-email-grant.likely@secretlab.ca> <1335237195.24897.0.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2012-04-24 at 09:41 +0200, Joakim Tjernlund wrote: > Benjamin Herrenschmidt wrote on 2012/04/24 05:13:15: > > > > On Mon, 2012-04-23 at 16:30 -0600, Grant Likely wrote: > > > The mpc8xx driver uses a reference to NR_IRQS that is buggy. It uses > > > NR_IRQs for the array size of the ppc_cached_irq_mask bitmap, but > > > NR_IRQs could be smaller than the number of hardware irqs that > > > ppc_cached_irq_mask tracks. > > > > Joakim, any chance you can test this ASAP ? :-) > > Sorry, but no. We have not moved our 8xx boards to 3.x as it in maintenance > and takes too much space. Ah ok... Anybody else on the list who still has some 8xx gear ? Cheers, Ben.