On Mon, Mar 3, 2008 at 12:30 AM, Yinghai Lu wrote: > that regression is caused by: > > commit 08f1c192c3c32797068bfe97738babb3295bbf42 > Author: Muli Ben-Yehuda > Date: Sun Jul 22 00:23:39 2007 +0300 > > x86-64: introduce struct pci_sysdata to facilitate sharing of ->sysdata > > This patch introduces struct pci_sysdata to x86 and x86-64, and > converts the existing two users (NUMA, Calgary) to use it. > > This lays the groundwork for having other users of sysdata, such as > the PCI domains work. > > The Calgary bits are tested, the NUMA bits just look ok. > > Signed-off-by: Jeff Garzik > Signed-off-by: Muli Ben-Yehuda > Signed-off-by: Linus Torvalds > > that replace pcibios_scan_root by pci_scan_bus_parented... > - bus = pcibios_scan_root(busnum); > + sd->node = -1; > + > + pxm = acpi_get_pxm(device->handle); > +#ifdef CONFIG_ACPI_NUMA > + if (pxm >= 0) > > + sd->node = pxm_to_node(pxm); > +#endif > + > + bus = pci_scan_bus_parented(NULL, busnum, &pci_root_ops, sd); > > and in pcibios_scan_root we have > > struct pci_bus *bus = NULL; > struct pci_sysdata *sd; > > dmi_check_system(pciprobe_dmi_table); > > while ((bus = pci_find_next_bus(bus)) != NULL) { > if (bus->number == busnum) { > /* Already scanned */ > return bus; > } > } > Ingo, Yakui's patch should be applied for 2.6.25, and 2.6.23 stable, and 2.6.24 stable. also please use attached patch to replace the one patch in x86.git# testing. old one can not be applied after Yakui's patch. YH