Re: milstone reached: ia64 linux builds out of Linus' tree

From: H. J. Lu <hjl_at_lucon.org>
Date: 2003-08-05 05:53:26
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" <hjl@lucon.org> 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;
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Mon Aug 4 15:56:07 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST