diff options
author | Wen Congyang <wency@cn.fujitsu.com> | 2012-11-16 05:04:05 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-16 05:04:05 +0400 |
commit | 315bbae9c5cb1f54a6d6fd47b9cf325fbedccf05 (patch) | |
tree | de389b3d001e6418d414a96704510cfc6b3cadf8 /Documentation/braille-console.txt | |
parent | 19387b27e42d5e20a8188cfa15dc902114d98c43 (diff) | |
download | linux-315bbae9c5cb1f54a6d6fd47b9cf325fbedccf05.tar.xz |
ACPI / memhotplug: deal with eject request in hotplug queue
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 acpi_memory_device.res_list at
the same time. This patch reimplements memory-hotremove support
through an ACPI eject notification. Now the memory device is
offlined and hotremoved only in the function acpi_memory_device_remove()
which is protected by device_lock().
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Reviewed-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Reviewed-by: Toshi Kani <toshi.kani@hp.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/braille-console.txt')
0 files changed, 0 insertions, 0 deletions