lkml.org 
[lkml]   [2012]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
SubjectRe: SNB PCI root information
On Tue, Jun 19, 2012 at 2:20 PM, Yinghai Lu <yinghai@kernel.org> 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 <drepper@gmail.com>

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:
- <bus>:<node>[, ...]
+ <bus>:<node>[;...]
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++;
}

\
 
 \ /
  Last update: 2012-06-20 20:02    [W:0.093 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site