rpms/kernel/devel linux-2.6-x86-fsc-interrupt-controller-quirk.patch, NONE, 1.1 kernel-2.6.spec, 1.3162, 1.3163
Dave Jones (davej)
fedora-extras-commits at redhat.com
Tue May 15 19:32:24 UTC 2007
Author: davej
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25245
Modified Files:
kernel-2.6.spec
Added Files:
linux-2.6-x86-fsc-interrupt-controller-quirk.patch
Log Message:
* Tue May 15 2007 Dave Jones <davej at redhat.com>
- Add quirk for Siemens Nixdorf AG FSC Multiprocessor Interrupt Controller
linux-2.6-x86-fsc-interrupt-controller-quirk.patch:
--- NEW FILE linux-2.6-x86-fsc-interrupt-controller-quirk.patch ---
>From davej Thu May 3 19:18:53 2007
Return-path: <linux-kernel-owner+davej=40kernelslacker.org-S1767474AbXECXST at vger.kernel.org>
X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on
gelk.kernelslacker.org
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham
version=3.1.8
Envelope-to: davej at kernelslacker.org
Delivery-date: Fri, 04 May 2007 00:18:51 +0100
Received: from testure.choralone.org [194.9.77.134]
by gelk.kernelslacker.org with IMAP (fetchmail-6.3.6)
for <davej at localhost> (single-drop); Thu, 03 May 2007 19:18:53 -0400 (EDT)
Received: from vger.kernel.org ([209.132.176.167])
by testure.choralone.org with esmtp (Exim 4.63)
(envelope-from <linux-kernel-owner+davej=40kernelslacker.org-S1767474AbXECXST at vger.kernel.org>)
id 1HjkZW-0006Cr-RV
for davej at kernelslacker.org; Fri, 04 May 2007 00:18:51 +0100
Received: (majordomo at vger.kernel.org) by vger.kernel.org via listexpand
id S1767474AbXECXST (ORCPT <rfc822;davej at kernelslacker.org>);
Thu, 3 May 2007 19:18:19 -0400
Received: (majordomo at vger.kernel.org) by vger.kernel.org id S1767468AbXECXST
(ORCPT <rfc822;linux-kernel-outgoing>);
Thu, 3 May 2007 19:18:19 -0400
Received: from jurassic.park.msu.ru ([195.208.223.243]:2073 "EHLO
jurassic.park.msu.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S1767466AbXECXSS (ORCPT
<rfc822;linux-kernel at vger.kernel.org>);
Thu, 3 May 2007 19:18:18 -0400
Received: by jurassic.park.msu.ru (Postfix, from userid 500)
id 25D3C11E9A1; Fri, 4 May 2007 03:18:54 +0400 (MSD)
Date: Fri, 4 May 2007 03:18:54 +0400
From: Ivan Kokshaysky <ink at jurassic.park.msu.ru>
To: Chuck Ebbert <cebbert at redhat.com>, linux-kernel at vger.kernel.org,
Greg Kroah-Hartman <gregkh at suse.de>,
Andrew Morton <akpm at linux-foundation.org>
Subject: Re: regression on quad Xeon: no SCSI-disks
Message-ID: <20070504031854.B28085 at jurassic.park.msu.ru>
References: <20070501142431.GA11667 at erig.dyndns.org> <46376474.8090505 at redhat.com> <20070502144716.GA11061 at erig.dyndns.org> <20070502211215.A19444 at jurassic.park.msu.ru> <20070503084141.GA22742 at erig.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20070503084141.GA22742 at erig.dyndns.org>; from Wolfgang.Erig at gmx.de on Thu, May 03, 2007 at 10:41:41AM +0200
Sender: linux-kernel-owner at vger.kernel.org
Precedence: bulk
X-Mailing-List: linux-kernel at vger.kernel.org
Status: RO
Content-Length: 1815
Lines: 44
On Thu, May 03, 2007 at 10:41:41AM +0200, Wolfgang Erig wrote:
> I am prepared to do tweaks to your small patch, but I need your help.
> My own blindly experiments failed miserably.
I don't think that patch did anything wrong, most likely it just
triggered a bug elsewhere. These two lines from your dmesg look
very suspicious:
> PCI: Cannot allocate resource region 0 of device 0000:00:04.0
> PCI: Error while updating region 0000:00:04.0/0 (a8008000 != fec08000)
Note that the BAR seems to have high address bits hardwired to fec00000.
And device 0000:00:04.0 is
> 00:04.0 System peripheral: Siemens Nixdorf AG FSC Multiprocessor Interrupt Controller (rev 02)
I'd guess that when we try to reassign this resource, PCI interrupts might
just stop working. This could explain SCSI timeouts and other weird things.
Maybe this patch helps?
Ivan.
--- 2.6.21/arch/i386/pci/fixup.c 2007-02-04 21:44:54.000000000 +0300
+++ linux/arch/i386/pci/fixup.c 2007-05-04 01:58:32.629654275 +0400
@@ -436,3 +436,14 @@ DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_CY
pci_early_fixup_cyrix_5530);
DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_CYRIX, PCI_DEVICE_ID_CYRIX_5530_LEGACY,
pci_early_fixup_cyrix_5530);
+
+/*
+ * Siemens Nixdorf AG FSC Multiprocessor Interrupt Controller:
+ * prevent update of the BAR0, which doesn't look like a normal BAR.
+ */
+static void __devinit pci_siemens_interrupt_controller(struct pci_dev *dev)
+{
+ dev->resource[0].flags |= IORESOURCE_PCI_FIXED;
+}
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SIEMENS, 0x0015,
+ pci_siemens_interrupt_controller);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Index: kernel-2.6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel-2.6.spec,v
retrieving revision 1.3162
retrieving revision 1.3163
diff -u -r1.3162 -r1.3163
--- kernel-2.6.spec 15 May 2007 19:14:32 -0000 1.3162
+++ kernel-2.6.spec 15 May 2007 19:31:50 -0000 1.3163
@@ -410,6 +410,7 @@
Patch203: linux-2.6-x86_64-silence-up-apic-errors.patch
Patch204: linux-2.6-x86-dont-delete-cpu_devs-data.patch
Patch205: linux-2.6-x86-fix-oprofile.patch
+Patch206: linux-2.6-x86-fsc-interrupt-controller-quirk.patch
# 300 - 399 ppc(64)
Patch300: linux-2.6-g5-therm-shutdown.patch
@@ -1062,6 +1063,8 @@
%patch204 -p1
# Fix oprofile.
%patch205 -p1
+# quirk for Siemens Nixdorf AG FSC Multiprocessor Interrupt Controller
+%patch206 -p1
#
# PowerPC
@@ -2350,6 +2353,9 @@
%changelog
* Tue May 15 2007 Dave Jones <davej at redhat.com>
+- Add quirk for Siemens Nixdorf AG FSC Multiprocessor Interrupt Controller
+
+* Tue May 15 2007 Dave Jones <davej at redhat.com>
- Fix oprofile.
* Tue May 15 2007 Dave Jones <davej at redhat.com>
More information about the fedora-extras-commits
mailing list