Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271720AbTHMI4J (ORCPT ); Wed, 13 Aug 2003 04:56:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271721AbTHMI4J (ORCPT ); Wed, 13 Aug 2003 04:56:09 -0400 Received: from fmr06.intel.com ([134.134.136.7]:59091 "EHLO caduceus.jf.intel.com") by vger.kernel.org with ESMTP id S271720AbTHMIzy convert rfc822-to-8bit (ORCPT ); Wed, 13 Aug 2003 04:55:54 -0400 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Subject: RE: [BK PATCH] ACPI Updates for 2.4 Date: Wed, 13 Aug 2003 16:55:49 +0800 Message-ID: <3ACA40606221794F80A5670F0AF15F8401720ADC@pdsmsx403.ccr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [BK PATCH] ACPI Updates for 2.4 Thread-Index: AcNhIh6tqhDB9ALlQL+3mq2ndINPFQAVV8vQ From: "Yu, Luming" To: "Grover, Andrew" Cc: , , "Marcelo Tosatti" X-OriginalArrivalTime: 13 Aug 2003 08:55:50.0100 (UTC) FILETIME=[B1A73140:01C36178] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6505 Lines: 195 Andy, Do you plan to accept below patch, H,J,L need this patch to get current 2.4 kernel boot on bigsur. I think it also shuld be applied to 2.6 kernel. Thanks, Luming ===== drivers/acpi/osl.c 1.27 vs edited ===== --- 1.27/drivers/acpi/osl.c Thu Jul 10 04:20:31 2003 +++ edited/drivers/acpi/osl.c Wed Aug 6 16:16:38 2003 @@ -251,7 +251,12 @@ irq = acpi_fadt.sci_int; #ifdef CONFIG_IA64 - irq = gsi_to_vector(irq); + irq = acpi_irq_to_vector(irq); + if (irq < 0) { + printk(KERN_ERR PREFIX "SCI (ACPI interrupt %d) not registerd\n", + acpi_fadt.sci_int); + return AE_OK; + } #endif acpi_irq_irq = irq; acpi_irq_handler = handler; @@ -269,7 +274,7 @@ { if (acpi_irq_handler) { #ifdef CONFIG_IA64 - irq = gsi_to_vector(irq); + irq = acpi_irq_to_vector(irq); #endif free_irq(irq, acpi_irq); acpi_irq_handler = NULL; -----Original Message----- From: Grover, Andrew Sent: 2003?8?13? 6:36 To: Marcelo Tosatti Cc: acpi-devel@lists.sourceforge.net; linux-kernel@vger.kernel.org Subject: [BK PATCH] ACPI Updates for 2.4 Hi Marcelo, here's a bunch of ACPI updates. bk pull http://linux-acpi.bkbits.net/linux-acpi-2.4 This includes a rework of the ACPI config and cmdline options. It now supports DMI-based blacklisting, and cmdline options have been simplified to "acpi=off", "acpi=ht" (use ACPI for CPU enum only) and "acpi=force" (to override the blacklist.) It also includes some PCI IRQ routing changes, that seem to help some people's systems work better. Please apply. Thanks -- Regards -- Andy This will update the following files: arch/i386/kernel/acpitable.c | 553 ------------------------ arch/i386/kernel/acpitable.h | 260 ----------- Documentation/Configure.help | 41 - Documentation/kernel-parameters.txt | 18 Makefile | 2 arch/i386/kernel/Makefile | 1 arch/i386/kernel/acpi.c | 50 +- arch/i386/kernel/dmi_scan.c | 394 ++++++++++++++--- arch/i386/kernel/io_apic.c | 14 arch/i386/kernel/mpparse.c | 37 + arch/i386/kernel/setup.c | 99 ++-- arch/i386/kernel/smpboot.c | 2 drivers/Makefile | 2 drivers/acpi/Config.in | 68 +- drivers/acpi/Makefile | 7 drivers/acpi/bus.c | 2 drivers/acpi/executer/exutils.c | 2 drivers/acpi/hardware/hwregs.c | 21 drivers/acpi/osl.c | 26 - drivers/acpi/pci_irq.c | 15 drivers/acpi/pci_link.c | 100 ++-- drivers/acpi/processor.c | 1 drivers/acpi/tables.c | 120 ++--- drivers/acpi/tables/tbconvrt.c | 6 drivers/acpi/tables/tbget.c | 4 drivers/acpi/tables/tbinstal.c | 42 + drivers/acpi/tables/tbrsdt.c | 2 drivers/acpi/tables/tbxfroot.c | 6 drivers/acpi/toshiba_acpi.c | 3 drivers/acpi/utilities/utglobal.c | 6 include/acpi/acconfig.h | 2 include/acpi/acpi_drivers.h | 2 include/acpi/platform/acenv.h | 6 include/asm-i386/acpi.h | 26 - include/asm-i386/io_apic.h | 2 init/do_mounts.c | 12 36 files changed, 779 insertions(+), 1175 deletions(-) through these ChangeSets: (03/07/29 1.1027) ACPI: Allow irqs > 15 to use interrupt semantics other than PCI's standard active-low, level trigger. Make other changes as required for this. (Andrew de Quincey) (03/07/29 1.1026) ACPI: Trivial changes that don't deserve their own changeset (03/07/29 1.1025) ACPI: If notify handler fails to be removed properly, don't just return, but clean up other resources too (Daniele Bellucci) (03/07/29 1.1018.1.3) minor cleanup of previous cset (03/07/29 1.1018.1.1) rename CONFIG_ACPI_BOOT to CONFIG_ACPI_HT; "acpi=boot" to "acpi=ht" Allow acpi=ht, or CONFIG_ACPI_HT to enable HT on systems w/o an MPS table. (03/07/28 1.1022) ACPI: toshiba_acpi update (John Belmonte) (03/07/28 1.1021) ACPI: Better blacklist messages (Jasper Spaans) (03/07/23 1.1016.1.1) ACPI: update acpi=boot code post testing (03/07/22 1.1003.38.2) CONFIG_ACPI_BOOT is now a sub-set of CONFIG_ACPI. It enables just boot-time config via ACPI -- useful for enabling HT w/o loading the AML interpreter. When full CONFIG_ACPI is selected, cmdline "acpi=boot" runs the same sub-set. deleted acpitable.c, deleted broken "noht" cmdline option. (03/07/17 1.1015) ACPI: fix intr enable for IA64 (davidm) (03/07/17 1.1014) ACPI: Fix spinlock warnings (Bjorn Helgaas) (03/07/15 1.1002.2.3) ACPI: DMI blacklist from UnitedLinux, plus "acpi=oldboot" scheme, re-named "acpi=cpu" (03/07/14 1.1003.32.6) ACPI: Dynamically allocate SDT list (suggested by Andi Kleen) (03/07/13 1.1003.32.5) ACPI: Parse SSDTs in order discovered, as opposed to reverse order (Hrvoje Habjanic) (03/07/13 1.1003.32.4) ACPI: Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas Klausner, Nate Lawson) (03/07/13 1.1003.32.3) ACPI: DTRT regarding the watchdog during long stalls (Andrew Morton) (03/07/13 1.1002.7.2) ACPI: Make things compile on gcc 3.3 (03/07/13 1.1002.7.1) ACPI: Make mp_bus_id_to_pci_bus initialization moderately more correct (03/06/26 1.1002.2.2) update kernel-parameters.txt with current acpi and acpismp parameters. ----------------------------- Andrew Grover Intel Labs / Mobile Architecture andrew.grover@intel.com - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/