Re: [PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for some HPsystems

From: Maciej W. Rozycki
Date: Tue Jul 08 2008 - 12:26:48 EST


On Tue, 8 Jul 2008, Rafael J. Wysocki wrote:

> > (B) The current approach to setup timer as ExtINT.
[...]
> > (B) ??? who tested this, Rafael
>
> Yes, I tested this.

There is some confusion here apparently -- you certainly have not tested
the timer as an ExtINTA interrupt during the course of this discussion,
because the "8259A Virtual Wire" through the local APIC has always worked
for you. ExtINTA would be the next, fourth and final attempt before a
panic().

For a reference, here is the list of configurations of the 8254 timer
interrupt in the order they are tried:

1. Native I/O APIC interrupt.

2. "8259A Virtual Wire" through the I/O APIC.

3. "8259A Virtual Wire" through the local APIC of the bootstrap processor.

4. ExtINTA ("Virtual Wire") through the local APIC of the BSP.

The configurations #1 and #2 are only tried if the firmware has supplied
information about how the IRQ0 or 8259A have been wired. The #4 is only
reached in very rare cases where there is some special glue logic between
the 8259A and the APIC (seen before as a workaround for broken hardware;
unlock_ExtINT_logic() is needed for that) or a given implementation of the
8259A is not a full one (hypothetical).

Maciej
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/