Re: [Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

2012-11-15 Thread Wen Congyang
At 11/16/2012 07:32 AM, David Rientjes Wrote: > On Thu, 15 Nov 2012, 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 >> >> We handle the 1st case in the module acpi_memhotplug, and handle >>

Re: [Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

2012-11-15 Thread David Rientjes
On Thu, 15 Nov 2012, 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 > > We handle the 1st case in the module acpi_memhotplug, and handle > the 2nd case in ACPI eject notification. This 2 events

Re: [Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

2012-11-15 Thread Toshi Kani
On Thu, 2012-11-15 at 14:59 +0800, 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 > > We handle the 1st case in the module acpi_memhotplug, and handle > the 2nd case in ACPI eject notification.

Re: [Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

2012-11-15 Thread Yasuaki Ishimatsu
2012/11/15 15:59, 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 > > We handle the 1st case in the module acpi_memhotplug, and handle > the 2nd case in ACPI eject notification. This 2 events may

Re: [Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

2012-11-15 Thread Yasuaki Ishimatsu
2012/11/15 15:59, 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 We handle the 1st case in the module acpi_memhotplug, and handle the 2nd case in ACPI eject notification. This 2 events may happen

Re: [Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

2012-11-15 Thread Toshi Kani
On Thu, 2012-11-15 at 14:59 +0800, 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 We handle the 1st case in the module acpi_memhotplug, and handle the 2nd case in ACPI eject notification. This 2

Re: [Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

2012-11-15 Thread David Rientjes
On Thu, 15 Nov 2012, 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 We handle the 1st case in the module acpi_memhotplug, and handle the 2nd case in ACPI eject notification. This 2 events may

Re: [Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

2012-11-15 Thread Wen Congyang
At 11/16/2012 07:32 AM, David Rientjes Wrote: On Thu, 15 Nov 2012, 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 We handle the 1st case in the module acpi_memhotplug, and handle the 2nd case in

[Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

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 We handle the 1st case in the module acpi_memhotplug, and handle the 2nd case in ACPI eject notification. This 2 events may happen at the same time, so we may touch

[Patch v5 2/7] acpi,memory-hotplug: deal with eject request in hotplug queue

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 We handle the 1st case in the module acpi_memhotplug, and handle the 2nd case in ACPI eject notification. This 2 events may happen at the same time, so we may touch