Messages in this thread Patch in this message | | | From | Ulrich Drepper <> | Date | Wed, 20 Jun 2012 13:11:26 -0400 | Subject | Re: 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++; }
| |