Re: [PATCH] PCI, ACPI: hold acpi_scan_lock during root bus hotplug

2013-03-26 Thread Rafael J. Wysocki
On Tuesday, March 26, 2013 04:48:49 PM Bjorn Helgaas wrote: > On Tue, Mar 26, 2013 at 4:54 PM, Rafael J. Wysocki wrote: > > On Tuesday, March 26, 2013 08:12:30 AM Yinghai Lu wrote: > >> On Tue, Mar 26, 2013 at 6:24 AM, Rafael J. Wysocki wrote: > >> > On Sunday, March 10, 2013 10:05:16 PM Yinghai

Re: [PATCH] PCI, ACPI: hold acpi_scan_lock during root bus hotplug

2013-03-26 Thread Bjorn Helgaas
On Tue, Mar 26, 2013 at 4:54 PM, Rafael J. Wysocki wrote: > On Tuesday, March 26, 2013 08:12:30 AM Yinghai Lu wrote: >> On Tue, Mar 26, 2013 at 6:24 AM, Rafael J. Wysocki wrote: >> > On Sunday, March 10, 2013 10:05:16 PM Yinghai Lu wrote: >> >> During merging pci tree with pm/acpi tree, Linus not

Re: [PATCH] PCI, ACPI: hold acpi_scan_lock during root bus hotplug

2013-03-26 Thread Rafael J. Wysocki
On Tuesday, March 26, 2013 08:12:30 AM Yinghai Lu wrote: > On Tue, Mar 26, 2013 at 6:24 AM, Rafael J. Wysocki wrote: > > On Sunday, March 10, 2013 10:05:16 PM Yinghai Lu wrote: > >> During merging pci tree with pm/acpi tree, Linus noticed that > >> we don't have same lock using patten about acpi p

Re: [PATCH] PCI, ACPI: hold acpi_scan_lock during root bus hotplug

2013-03-26 Thread Yinghai Lu
On Tue, Mar 26, 2013 at 6:24 AM, Rafael J. Wysocki wrote: > On Sunday, March 10, 2013 10:05:16 PM Yinghai Lu wrote: >> During merging pci tree with pm/acpi tree, Linus noticed that >> we don't have same lock using patten about acpi pci root as >> acpiphp. >> >> Here apply same lock patten, and we

Re: [PATCH] PCI, ACPI: hold acpi_scan_lock during root bus hotplug

2013-03-26 Thread Rafael J. Wysocki
On Sunday, March 10, 2013 10:05:16 PM Yinghai Lu wrote: > During merging pci tree with pm/acpi tree, Linus noticed that > we don't have same lock using patten about acpi pci root as > acpiphp. > > Here apply same lock patten, and we need to change > acpi_bus_hot_remove_device executing via acpi_os

[PATCH] PCI, ACPI: hold acpi_scan_lock during root bus hotplug

2013-03-10 Thread Yinghai Lu
During merging pci tree with pm/acpi tree, Linus noticed that we don't have same lock using patten about acpi pci root as acpiphp. Here apply same lock patten, and we need to change acpi_bus_hot_remove_device executing via acpi_os_hotplug_execute() as it also hold the lock in acpi_bus_hot_remove_d