Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756988Ab2FTRLs (ORCPT ); Wed, 20 Jun 2012 13:11:48 -0400 Received: from mail-qc0-f174.google.com ([209.85.216.174]:64643 "EHLO mail-qc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754265Ab2FTRLr (ORCPT ); Wed, 20 Jun 2012 13:11:47 -0400 MIME-Version: 1.0 In-Reply-To: References: From: Ulrich Drepper Date: Wed, 20 Jun 2012 13:11:26 -0400 Message-ID: Subject: Re: SNB PCI root information To: Yinghai Lu Cc: Bjorn Helgaas , jbarnes@virtuousgeek.org, Linux Kernel Mailing List , lenb@kernel.org, x86@kernel.org, linux-pci@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1560 Lines: 45 On Tue, Jun 19, 2012 at 2:20 PM, Yinghai Lu wrote: > If the BIOS provide wrong _PXM, that BIOS really should be fixed at first. Let's go there when we see BIOSes with the information... In the meantime I tested the patch. It needs the small modification below (iinterdiff-generated). The problem is the pci= parameter handling uses ',' to separate parameters and therefore the second PCI root information, separated by a comma, is interpreted as a new pci= parameter. The patch below changes the separator to ';'. With that I get the correct information after boot up. Signed-off-by: Ulrich Drepper diff -u b/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt --- b/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -2192,7 +2192,7 @@ realloc same as realloc=on busnum_node= Format: - :[, ...] + :[;...] Specifies node for bus noari do not use PCIe ARI. pcie_scan_all Scan all possible PCIe devices. Otherwise we diff -u b/arch/x86/pci/common.c b/arch/x86/pci/common.c --- b/arch/x86/pci/common.c +++ b/arch/x86/pci/common.c @@ -509,7 +509,7 @@ } set_mp_bus_to_node(bus, node); p += count; - if (*p != ',') + if (*p != ';') break; p++; } -- 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/