Date: Thu, 19 Mar 2009 17:42:11 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r190090 - in stable/7/sys: . amd64/acpica contrib/pf dev/ath/ath_hal dev/cxgb i386/acpica Message-ID: <200903191742.n2JHgBbe070885@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Mar 19 17:42:11 2009 New Revision: 190090 URL: http://svn.freebsd.org/changeset/base/190090 Log: MFC: Ignore I/O APICs with a starting IRQ > 255. Modified: stable/7/sys/ (props changed) stable/7/sys/amd64/acpica/madt.c stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/i386/acpica/madt.c Modified: stable/7/sys/amd64/acpica/madt.c ============================================================================== --- stable/7/sys/amd64/acpica/madt.c Thu Mar 19 17:16:33 2009 (r190089) +++ stable/7/sys/amd64/acpica/madt.c Thu Mar 19 17:42:11 2009 (r190090) @@ -483,6 +483,10 @@ madt_parse_apics(ACPI_SUBTABLE_HEADER *e apic->Id); if (ioapics[apic->Id].io_apic != NULL) panic("%s: Double APIC ID %u", __func__, apic->Id); + if (apic->GlobalIrqBase >= FIRST_MSI_INT) { + printf("MADT: Ignoring bogus I/O APIC ID %u", apic->Id); + break; + } ioapics[apic->Id].io_apic = ioapic_create(apic->Address, apic->Id, apic->GlobalIrqBase); ioapics[apic->Id].io_vector = apic->GlobalIrqBase; Modified: stable/7/sys/i386/acpica/madt.c ============================================================================== --- stable/7/sys/i386/acpica/madt.c Thu Mar 19 17:16:33 2009 (r190089) +++ stable/7/sys/i386/acpica/madt.c Thu Mar 19 17:42:11 2009 (r190090) @@ -482,6 +482,10 @@ madt_parse_apics(ACPI_SUBTABLE_HEADER *e apic->Id); if (ioapics[apic->Id].io_apic != NULL) panic("%s: Double APIC ID %u", __func__, apic->Id); + if (apic->GlobalIrqBase >= FIRST_MSI_INT) { + printf("MADT: Ignoring bogus I/O APIC ID %u", apic->Id); + break; + } ioapics[apic->Id].io_apic = ioapic_create(apic->Address, apic->Id, apic->GlobalIrqBase); ioapics[apic->Id].io_vector = apic->GlobalIrqBase;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903191742.n2JHgBbe070885>