Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Yasuaki Ishimatsu
Hi Rafael, 2012/11/16 10:28, Rafael J. Wysocki wrote: On Friday, November 16, 2012 10:07:49 AM Yasuaki Ishimatsu wrote: Hi Rafael, 2012/11/16 9:28, Rafael J. Wysocki wrote: On Thursday, November 15, 2012 02:59:30 PM Wen Congyang wrote: The memory device can be removed by 2 ways: 1. send ejec

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Rafael J. Wysocki
On Friday, November 16, 2012 10:07:49 AM Yasuaki Ishimatsu wrote: > Hi Rafael, > > 2012/11/16 9:28, Rafael J. Wysocki wrote: > > On Thursday, November 15, 2012 02:59:30 PM Wen Congyang wrote: > >> The memory device can be removed by 2 ways: > >> 1. send eject request by SCI > >> 2. echo 1 >/sys/bu

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Yasuaki Ishimatsu
Hi Rafael, 2012/11/16 9:28, Rafael J. Wysocki wrote: On Thursday, November 15, 2012 02:59:30 PM Wen Congyang wrote: The memory device can be removed by 2 ways: 1. send eject request by SCI 2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject In the 1st case, acpi_memory_disable_device() will be ca

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Rafael J. Wysocki
On Thursday, November 15, 2012 05:40:59 PM Toshi Kani wrote: > > > Well, I have tried _really_ hard to apply this patchset, but pretty much > > > none of the patches except for [1/7] applied for me. I have no idea what > > > tree they are against, but I'm pretty sure it's not my tree. > > > > > >

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Toshi Kani
> > Well, I have tried _really_ hard to apply this patchset, but pretty much > > none of the patches except for [1/7] applied for me. I have no idea what > > tree they are against, but I'm pretty sure it's not my tree. > > > > I _have_ applied patches [1-4/7] and pushed them to linux-pm.git/linux

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Rafael J. Wysocki
On Friday, November 16, 2012 01:28:43 AM Rafael J. Wysocki wrote: > On Thursday, November 15, 2012 02:59:30 PM Wen Congyang wrote: > > The memory device can be removed by 2 ways: > > 1. send eject request by SCI > > 2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject > > > > In the 1st case, acpi_mem

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Rafael J. Wysocki
On Thursday, November 15, 2012 02:59:30 PM Wen Congyang wrote: > The memory device can be removed by 2 ways: > 1. send eject request by SCI > 2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject > > In the 1st case, acpi_memory_disable_device() will be called. > In the 2nd case, acpi_memory_device_rem

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Rafael J. Wysocki
On Friday, November 16, 2012 12:22:58 AM Rafael J. Wysocki wrote: > On Thursday, November 15, 2012 02:51:52 PM David Rientjes wrote: > > On Thu, 15 Nov 2012, Wen Congyang wrote: > > > > > Note: > > > 1. The following commit in pm tree can be dropped now(The other two > > > patches > > >are al

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread Rafael J. Wysocki
On Thursday, November 15, 2012 02:51:52 PM David Rientjes wrote: > On Thu, 15 Nov 2012, Wen Congyang wrote: > > > Note: > > 1. The following commit in pm tree can be dropped now(The other two patches > >are already dropped): > >54c4c7db6cb94d7d1217df6d7fca6847c61744ab > > 2. This patchset

Re: [Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-15 Thread David Rientjes
On Thu, 15 Nov 2012, Wen Congyang wrote: > Note: > 1. The following commit in pm tree can be dropped now(The other two patches >are already dropped): >54c4c7db6cb94d7d1217df6d7fca6847c61744ab > 2. This patchset requires the following patch(It is in pm tree now) >https://lkml.org/lkml/2

[Patch v5 0/7] acpi,memory-hotplug: implement framework for hot removing memory

2012-11-14 Thread Wen Congyang
The memory device can be removed by 2 ways: 1. send eject request by SCI 2. echo 1 >/sys/bus/pci/devices/PNP0C80:XX/eject In the 1st case, acpi_memory_disable_device() will be called. In the 2nd case, acpi_memory_device_remove() will be called. acpi_memory_device_remove() will also be called when