Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Yasuaki Ishimatsu
applying the commit, acpi_bus_trim() did so. But after appling the commit, acpi_bus_trim() does not detach devices in post order. So when I remove them, memory devices are removed first and processor devices are removed second. By this, I hit a problem. In Linux on x86 arch, NUMA node is depend

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Rafael J. Wysocki
;>> in my x86 box, memory devices are added first and processor devices are > >>> added > >>> second. So I expect that processor devices are removed first and memory > >>> devices are removed second when I remove them. And before applying the > >>&

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Yasuaki Ishimatsu
implementation of CPU hotplug. A problem I think is that acpi_bus_trim() does not detach devices in post-order. And my patch does not fix it. So if some device has dependency of other device, similar problem will occur. Thanks, Yasuaki Ishimatsu Rafael -- To unsubscribe from this list: send

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Rafael J. Wysocki
e them. And before applying the > > commit, acpi_bus_trim() did so. > > > > But after appling the commit, acpi_bus_trim() does not detach devices in > > post order. So when I remove them, memory devices are removed first and > > processor devices are removed second. > > >

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Yasuaki Ishimatsu
added > second. So I expect that processor devices are removed first and memory > devices are removed second when I remove them. And before applying the > commit, acpi_bus_trim() did so. > > But after appling the commit, acpi_bus_trim() does not detach devices in > post or

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Yasuaki Ishimatsu
that processor devices are removed first and memory devices are removed second when I remove them. And before applying the commit, acpi_bus_trim() did so. But after appling the commit, acpi_bus_trim() does not detach devices in post order. So when I remove them, memory devices are removed first

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Rafael J. Wysocki
not detach devices in post order. So when I remove them, memory devices are removed first and processor devices are removed second. By this, I hit a problem. In Linux on x86 arch, NUMA node is depend on memory devices. So new NUMA node is created at memory hot adding. Thus when I hot add

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Yasuaki Ishimatsu
? No. The patch just fixed implementation of CPU hotplug. A problem I think is that acpi_bus_trim() does not detach devices in post-order. And my patch does not fix it. So if some device has dependency of other device, similar problem will occur. Thanks, Yasuaki Ishimatsu Rafael

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Rafael J. Wysocki
. And before applying the commit, acpi_bus_trim() did so. But after appling the commit, acpi_bus_trim() does not detach devices in post order. So when I remove them, memory devices are removed first and processor devices are removed second. By this, I hit a problem. In Linux on x86 arch

Re: acpi_bus_trim does not detach devices in post order

2013-08-06 Thread Yasuaki Ishimatsu
remove them. And before applying the commit, acpi_bus_trim() did so. But after appling the commit, acpi_bus_trim() does not detach devices in post order. So when I remove them, memory devices are removed first and processor devices are removed second. By this, I hit a problem. In Linux on x86 arch

acpi_bus_trim does not detach devices in post order

2013-08-05 Thread Yasuaki Ishimatsu
them. And before applying the commit, acpi_bus_trim() did so. But after appling the commit, acpi_bus_trim() does not detach devices in post order. So when I remove them, memory devices are removed first and processor devices are removed second. By this, I hit a problem. In Linux on x86 arch

acpi_bus_trim does not detach devices in post order

2013-08-05 Thread Yasuaki Ishimatsu
are removed second when I remove them. And before applying the commit, acpi_bus_trim() did so. But after appling the commit, acpi_bus_trim() does not detach devices in post order. So when I remove them, memory devices are removed first and processor devices are removed second. By this, I hit a problem