Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754179AbZGITSo (ORCPT ); Thu, 9 Jul 2009 15:18:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753546AbZGITSf (ORCPT ); Thu, 9 Jul 2009 15:18:35 -0400 Received: from hera.kernel.org ([140.211.167.34]:44530 "EHLO hera.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752892AbZGITSe (ORCPT ); Thu, 9 Jul 2009 15:18:34 -0400 Message-ID: <4A564263.5010305@kernel.org> Date: Thu, 09 Jul 2009 12:17:55 -0700 From: Yinghai Lu User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: dann frazier CC: linux-scsi@vger.kernel.org, "linux-kernel@vger.kernel.org" Subject: Re: mptsas, msi and the dl585 g2 References: <20090630180300.GA9971@ldl.fc.hp.com> <4A4A5B01.9040200@kernel.org> <20090703225708.GA30664@ldl.fc.hp.com> <4A4FADDC.30606@kernel.org> <20090709185945.GG2613@ldl.fc.hp.com> In-Reply-To: <20090709185945.GG2613@ldl.fc.hp.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3006 Lines: 71 dann frazier wrote: > > -------------------------------------------------------------------- > commit 30a18d6c3f1e774de656ebd8ff219d53e2ba4029 > Author: Yinghai Lu > Date: Tue Feb 19 03:21:20 2008 -0800 > > x86: multi pci root bus with different io resource range, on > 64-bit > -------------------------------------------------------------------- > > This appears to be the commit that actually introduced the issue. > I've attached dmesg w/ PCI DEBUG enabled from both sides of this > changeset, as well as a diff w/o printk timestamps. > > Also note that #ifdef'ing out x86_pci_root_bus_res_quirks() in > amd_bus.c seems to avoid the problem as well. your BIOS didn't allocate io resources to some device under HT chain on node1/link2 aka under peer root bus. Kernel try to allocate resource to them. and the patch did right thing according to range bus: 40 index 1 mmio: [d9f00000, dfefffff] YH +bus: [00,3f] on node 0 link 1 +bus: 00 index 0 io port: [0, 2fff] +bus: 00 index 1 mmio: [80000000, d9efffff] +bus: 00 index 2 mmio: [dff00000, e3ffffff] +bus: 00 index 3 mmio: [a0000, bffff] +bus: 00 index 4 mmio: [e8000000, ffffffff] +bus: 00 index 5 mmio: [480000000, fbffffffff] +bus: [40,7f] on node 1 link 2 +bus: 40 index 0 io port: [3000, ffff] +bus: 40 index 1 mmio: [d9f00000, dfefffff] +bus: 40 index 2 mmio: [e4000000, e7ffffff] ACPI: bus type pci registered PCI: Using configuration type 1 for base access ACPI: EC: Look up EC in DSDT @@ -646,18 +659,18 @@ IO window: disabled. MEM window: disabled. PREFETCH window: disabled. - got res [88000000:8801ffff] bus [88000000:8801ffff] flags 27200 for BAR 6 of 0000:41:01.0 - got res [88020000:8803ffff] bus [88020000:8803ffff] flags 27200 for BAR 6 of 0000:41:02.0 + got res [d9f00000:d9f1ffff] bus [d9f00000:d9f1ffff] flags 27200 for BAR 6 of 0000:41:01.0 + got res [d9f20000:d9f3ffff] bus [d9f20000:d9f3ffff] flags 27200 for BAR 6 of 0000:41:02.0 PCI: Bridge: 0000:40:10.0 IO window: disabled. MEM window: 0xda000000-0xddffffff - PREFETCH window: 0x0000000088000000-0x00000000880fffff - got res [88200000:883fffff] bus [88200000:883fffff] flags 27200 for BAR 6 of 0000:42:01.0 - got res [88100000:8813ffff] bus [88100000:8813ffff] flags 27200 for BAR 6 of 0000:42:02.0 + PREFETCH window: 0x00000000d9f00000-0x00000000d9ffffff + got res [de000000:de1fffff] bus [de000000:de1fffff] flags 27200 for BAR 6 of 0000:42:01.0 + got res [de200000:de23ffff] bus [de200000:de23ffff] flags 27200 for BAR 6 of 0000:42:02.0 PCI: Bridge: 0000:40:11.0 IO window: 3000-3fff MEM window: 0xdfe00000-0xdfefffff - PREFETCH window: 0x0000000088100000-0x00000000883fffff + PREFETCH window: 0x00000000de000000-0x00000000de2fffff -- 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/