From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?S=E9rgio?= Monteiro Basto Subject: Re: [ACPI] [BKPATCH] ACPI for 2.4 Date: Mon, 21 Jun 2004 01:31:35 +0100 Sender: linux-kernel-owner@vger.kernel.org Message-ID: <1087777894.4916.13.camel@darkstar> References: <1087540935.4488.214.camel@dhcppc4> Reply-To: sergiomb@netcabo.pt Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-zUKFYDXO79JfrGNg1TvU" Return-path: In-Reply-To: <1087540935.4488.214.camel@dhcppc4> To: Len Brown , Mikael.Pettersson@csd.uu.se Cc: Marcelo Tosatti , Linux Kernel Mailing List , ACPI Developers List-Id: linux-acpi@vger.kernel.org --=-zUKFYDXO79JfrGNg1TvU Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi Mikael, I think you are the "guy" whose propose this patch on lkml. I am forwarding to ACPI ml, where is the right place to send ACPI patches.=20 Hi Len, Mikael said "2.4.27-rc1 reintroduced the double-speed timer ACPI bug.=20 Both x86-64 and i386 are affected. The patch below fixes it on my box. It's a backport of a patch Hans-Frieder Vogt made for 2.6.7-bk2, extended to also handle i386. /Mikael Pettersson" On Fri, 2004-06-18 at 08:32, Len Brown wrote:=20 > Hi Marcelo, please do a=20 >=20 > bk pull bk://linux-acpi.bkbits.net/linux-acpi-release-2.4.27 >=20 > thanks, > -Len >=20 > ps. a plain patch is also available here: > ftp://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.= 4.27/acpi-20040326-2.4.27.diff.gz > (04/06/18 1.1359.6.27) > [ACPI] fix 2.4.27-pre3 IRQ override regression > due to dynamically allocated mp_irqs[]. > http://bugzilla.kernel.org/show_bug.cgi?id=3D2834 >=20 Hope help something, sorry for my poor English. --=20 S=E9rgio M. B. --=-zUKFYDXO79JfrGNg1TvU Content-Disposition: attachment; filename=1.diff Content-Type: text/x-patch; name=1.diff; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit diff -ruN linux-2.4.27-rc1/arch/i386/kernel/mpparse.c linux-2.4.27-rc1.mpparse-fix/arch/i386/kernel/mpparse.c --- linux-2.4.27-rc1/arch/i386/kernel/mpparse.c 2004-06-21 00:39:30.000000000 +0200 +++ linux-2.4.27-rc1.mpparse-fix/arch/i386/kernel/mpparse.c 2004-06-21 00:50:01.000000000 +0200 @@ -1211,7 +1211,7 @@ for (idx = 0; idx < mp_irq_entries; idx++) if (mp_irqs[idx].mpc_srcbus == MP_ISA_BUS && - (mp_irqs[idx].mpc_dstapic == ioapic) && + (mp_irqs[idx].mpc_dstapic == mp_ioapics[ioapic].mpc_apicid) && (mp_irqs[idx].mpc_srcbusirq == i || mp_irqs[idx].mpc_dstirq == i)) break; diff -ruN linux-2.4.27-rc1/arch/x86_64/kernel/mpparse.c linux-2.4.27-rc1.mpparse-fix/arch/x86_64/kernel/mpparse.c --- linux-2.4.27-rc1/arch/x86_64/kernel/mpparse.c 2004-06-21 00:39:30.000000000 +0200 +++ linux-2.4.27-rc1.mpparse-fix/arch/x86_64/kernel/mpparse.c 2004-06-21 00:50:01.000000000 +0200 @@ -866,7 +866,7 @@ for (idx = 0; idx < mp_irq_entries; idx++) if (mp_irqs[idx].mpc_srcbus == MP_ISA_BUS && - (mp_irqs[idx].mpc_dstapic == ioapic) && + (mp_irqs[idx].mpc_dstapic == intsrc.mpc_dstapic) && (mp_irqs[idx].mpc_srcbusirq == i || mp_irqs[idx].mpc_dstirq == i)) break; - 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/ --=-zUKFYDXO79JfrGNg1TvU--