Re: [PATCH] ACPI / PCI: Initialize PCI root drivers after PCI bus enumeration

2013-02-15 Thread Bjorn Helgaas
On Wed, Feb 13, 2013 at 5:59 AM, Rafael J. Wysocki wrote: > On Tuesday, February 12, 2013 05:54:08 PM Yinghai Lu wrote: >> On Tue, Feb 12, 2013 at 4:16 PM, Rafael J. Wysocki wrote: >> > From: Rafael J. Wysocki >> > >> > After commit 1aeae82 (ACPI / PCI: avoid building pci_slot as module) >> > th

Re: [PATCH] ACPI / PCI: Initialize PCI root drivers after PCI bus enumeration

2013-02-13 Thread Rafael J. Wysocki
On Tuesday, February 12, 2013 05:54:08 PM Yinghai Lu wrote: > On Tue, Feb 12, 2013 at 4:16 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > After commit 1aeae82 (ACPI / PCI: avoid building pci_slot as module) > > the pci_slot driver's .add() callback routine, acpi_pci_slot_add(),

Re: [PATCH] ACPI / PCI: Initialize PCI root drivers after PCI bus enumeration

2013-02-12 Thread Yinghai Lu
On Tue, Feb 12, 2013 at 4:16 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit 1aeae82 (ACPI / PCI: avoid building pci_slot as module) > the pci_slot driver's .add() callback routine, acpi_pci_slot_add(), > is executed from within acpi_pci_root_add() before the PCI devices o

[PATCH] ACPI / PCI: Initialize PCI root drivers after PCI bus enumeration

2013-02-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After commit 1aeae82 (ACPI / PCI: avoid building pci_slot as module) the pci_slot driver's .add() callback routine, acpi_pci_slot_add(), is executed from within acpi_pci_root_add() before the PCI devices on the bus are enumerated and that triggers the WARN_ON() in kobject_