From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. J. Lu" Date: Mon, 04 Aug 2003 19:53:26 +0000 Subject: Re: milstone reached: ia64 linux builds out of Linus' tree Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org This code is taken from 2.4 kernel, which is enabled for all ia64 machines. The only difference is if (has_8259 && irq < 16) return isa_irq_to_vector(irq); return gsi_to_vector(irq); instead of just return gsi_to_vector(irq); I think bigsur is one of those uses 8259 and ISA. I don't believe any new ia64 machines do that. H.J. --- On Mon, Aug 04, 2003 at 12:07:19PM -0700, David Mosberger wrote: > Can someone look into/explain why this patch is needed for Big Sur? > Either the old code is wrong for other machines, too, or the old code > is broken and we just don't exercise it on the other ia64 machines? > > --david > > >>>>> On Mon, 4 Aug 2003 11:10:33 -0700, "H. J. Lu" said: > > >> I just tried the latest on my big sur, and though I think modules work > >> (at least they build for other machines), big sur is broken because > >> non-ACPI based PCI enumeration has been removed from the tree. > > HJ> Can you try this patch for bigsur? > > > HJ> H.J. > HJ> --- > HJ> --- linux/drivers/acpi/osl.c.acpi Mon Jul 28 11:41:53 2003 > HJ> +++ linux/drivers/acpi/osl.c Mon Jul 28 15:12:44 2003 > HJ> @@ -250,7 +250,12 @@ acpi_os_install_interrupt_handler(u32 ir > HJ> irq = acpi_fadt.sci_int; > > HJ> #ifdef CONFIG_IA64 > HJ> - irq = gsi_to_vector(irq); > HJ> + irq = acpi_irq_to_vector (irq); > HJ> + if (irq < 0) { > HJ> + printk(KERN_ERR PREFIX "SCI (IRQ%d/%d) not registerd\n", > HJ> + irq, acpi_fadt.sci_int); > HJ> + return AE_OK; > HJ> + } > HJ> #endif > HJ> acpi_irq_irq = irq; > HJ> acpi_irq_handler = handler;