To: Ingo Molnar <mingo@...>, Rafael J. Wysocki <rjw@...>
Cc: Matthew Garrett <mjg59@...>, Len Brown <lenb@...>, Thomas Gleixner <tglx@...>, <linux-next@...>, <linux-acpi@...>, <linux-kernel@...>, Andi Kleen <andi@...>
This is completely broken -- you cannot blindly assume IRQ0 is wired to
the pin #0 of the I/O APIC #0. You have to respect routing information
provided by the system.
Ingo, from the sequence above, I gather this code is currently in the
tree:
- replace_pin_at_irq(0, 0, 0, apic1, pin1);
- apic1 = 0;
- pin1 = 0;
Please revert the change which introduced it. While I recall posting a
patch which added code like this, I clearly stated it was solely for
diagnostics of Rafael's system and not to apply to any tree.
Maciej
--