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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Maciej W. Rozycki <macro@...>
Cc: Ingo Molnar <mingo@...>, Matthew Garrett <mjg59@...>, Len Brown <lenb@...>, Thomas Gleixner <tglx@...>, <linux-next@...>, <linux-acpi@...>, <linux-kernel@...>, Andi Kleen <andi@...>
Date: Monday, July 7, 2008 - 8:28 am

On Monday, 7 of July 2008, Maciej W. Rozycki wrote:

BTW, did you even to look at the code _as_ _is_ in linux-next?

In fact, it is _impossible_ that either apic1 or pin1 are equal to -1 at this
point, because of this part:

	/*
	 * Some BIOS writers are clueless and report the ExtINTA
	 * I/O APIC input from the cascaded 8259A as the timer
	 * interrupt input.  So just in case, if only one pin
	 * was found above, try it both directly and through the
	 * 8259A.
	 */
	if (pin1 == -1) {
		pin1 = pin2;
		apic1 = apic2;
		no_pin1 = 1;
	} else if (pin2 == -1) {
		pin2 = pin1;
		apic2 = apic1;
	}

that originates from your patch.

End even without this part apic1 and pin1 are _not_ equal to -1 on this box
(apic2 and pin2 are, but that's a different matter).

Thanks,
Rafael
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for some HP..., Maciej W. Rozycki, (Mon Jun 30, 8:12 pm)
Re: [PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for som..., Rafael J. Wysocki, (Tue Jul 8, 11:27 am)
Re: [PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for som..., Maciej W. Rozycki, (Tue Jul 8, 12:25 pm)
Re: [PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for som..., Rafael J. Wysocki, (Tue Jul 8, 12:54 pm)
Re: [PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for som..., Maciej W. Rozycki, (Tue Jul 8, 10:39 am)
Re: [PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for som..., Rafael J. Wysocki, (Mon Jul 7, 8:28 am)
Re: [PATCH 2/2] acpi: Disable IRQ 0 through I/O APIC for som..., Maciej W. Rozycki, (Mon Jul 7, 10:01 am)