* [patch 1/1] Added NO_IOAPIC_CHECK in io_apic_get_unique_id() for ACPI boot
@ 2005-05-01 10:54 Natalie.Protasevich
2005-05-03 2:53 ` Zwane Mwaikambo
0 siblings, 1 reply; 2+ messages in thread
From: Natalie.Protasevich @ 2005-05-01 10:54 UTC (permalink / raw)
To: akpm
Cc: ak, len.brown, venkatesh.pallipadi, linux-kernel, zwane,
Natalie.Protasevich
This patch allows xAPIC systems that don't have serial bus for interrupts delivery to by-pass the check on uniquness of IO-APIC IDs. Some of ES7000's panic failing this unnecessary check. The genapic mechanism has NO_IOAPIC_CHECK flag, which is defined in each subarch. The MP boot utilizes it, but the ACPI boot is missing it.
Signed-off by: Natalie Protasevich <Natalie.Protasevich@unisys.com>
---
diff -puN arch/i386/kernel/io_apic.c~no-ioapic-check arch/i386/kernel/io_apic.c
--- linux-2.6.13-rc3-mm2/arch/i386/kernel/io_apic.c~no-ioapic-check 2005-05-01 02:15:48.054362032 -0700
+++ linux-2.6.13-rc3-mm2-root/arch/i386/kernel/io_apic.c 2005-05-01 02:28:23.282549896 -0700
@@ -2436,13 +2436,18 @@ int __init io_apic_get_unique_id (int io
unsigned long flags;
int i = 0;
+ /* Don't check I/O APIC IDs for some xAPIC systems. They have
+ * no meaning without the serial APIC bus.
+ */
+
+ if (NO_IOAPIC_CHECK)
+ return apic_id;
+
/*
* The P4 platform supports up to 256 APIC IDs on two separate APIC
* buses (one for LAPICs, one for IOAPICs), where predecessors only
* supports up to 16 on one shared APIC bus.
*
- * TBD: Expand LAPIC/IOAPIC support on P4-class systems to take full
- * advantage of new APIC bus architecture.
*/
if (physids_empty(apic_id_map))
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 1/1] Added NO_IOAPIC_CHECK in io_apic_get_unique_id() for ACPI boot
2005-05-01 10:54 [patch 1/1] Added NO_IOAPIC_CHECK in io_apic_get_unique_id() for ACPI boot Natalie.Protasevich
@ 2005-05-03 2:53 ` Zwane Mwaikambo
0 siblings, 0 replies; 2+ messages in thread
From: Zwane Mwaikambo @ 2005-05-03 2:53 UTC (permalink / raw)
To: Protasevich, Natalie
Cc: Andrew Morton, ak, Len Brown, venkatesh.pallipadi, Linux Kernel
On Sun, 1 May 2005 Natalie.Protasevich@unisys.com wrote:
> This patch allows xAPIC systems that don't have serial bus for
> interrupts delivery to by-pass the check on uniquness of IO-APIC IDs.
> Some of ES7000's panic failing this unnecessary check. The genapic
> mechanism has NO_IOAPIC_CHECK flag, which is defined in each subarch.
> The MP boot utilizes it, but the ACPI boot is missing it.
>
> Signed-off by: Natalie Protasevich <Natalie.Protasevich@unisys.com>
Acked-by: Zwane Mwaikambo <zwane@arm.linux.org.uk>
Thanks Natalie. Andrew although we currently have a lot of patches in
the same area in your tree and things need settling down, this one looks
safe to pickup if you'd like to take it in now.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-03 2:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-01 10:54 [patch 1/1] Added NO_IOAPIC_CHECK in io_apic_get_unique_id() for ACPI boot Natalie.Protasevich
2005-05-03 2:53 ` Zwane Mwaikambo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).