From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Subject: Re: [patch 00/47] Sparse irq rework Date: Sat, 9 Oct 2010 14:08:24 +0200 (CEST) Message-ID: References: <20100930221351.682772535@linutronix.de> <20101003112312.GB9844@angua.secretlab.ca> <20101003112920.GB32736@n2100.arm.linux.org.uk> <4CACFC23.4080504@kernel.org> <4CAD082B.40908@kernel.org> <4CAD1154.3080403@kernel.org> <4CAD4EC3.5060809@kernel.org> <4CAFEEFA.1070000@kernel.org> <4CB00122.3030301@kernel.org> <4CB014F5.5080209@kernel.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from www.tglx.de ([62.245.132.106]:57231 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755285Ab0JIMJ4 (ORCPT ); Sat, 9 Oct 2010 08:09:56 -0400 In-Reply-To: <4CB014F5.5080209@kernel.org> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Yinghai Lu Cc: Grant Likely , Russell King - ARM Linux , LKML , linux-arch@vger.kernel.org, Linus Torvalds , Andrew Morton , x86@kernel.org, Peter Zijlstra , Benjamin Herrenschmidt , Paul Mundt , David Woodhouse , Jesse Barnes , "Eric W. Biederman" On Sat, 9 Oct 2010, Yinghai Lu wrote: > On 10/08/2010 11:34 PM, Thomas Gleixner wrote: > >> irq = pin_2_irq(idx, apic_id, pin); > >> > >> + /* only handle fall out from setup_IO_APIC_irqs() */ > > > > What's the fallout ? And why are we coming here in the first place > > when the irq is < 16 ? > > setup_IO_APIC_irqs only handle apic_id == 0 or apic_id > 0 but irq < 16 via acpi override. > > it seems IBM's system have apic_id == 1, and sci irq is using 30. > > so at that time add that setup_IO_APIC_irq_extra() to workaround it. > but it seems we set that two time when irq < 16. Hmm. Ok. Thanks for figuring it out. Thanks, tglx