diff options
author | David Rientjes <rientjes@google.com> | 2014-06-23 16:22:03 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-23 19:47:43 -0400 |
commit | 7cdb0d25bc93e936edbfde12fe277ee21b88c1ef (patch) | |
tree | 55bc5eb39d470364d628938423353f07c5bbede2 /Documentation | |
parent | b3acc56bfe1287c6b666e80edc70b89eea2a1a80 (diff) |
mm, hotplug: probe interface is available on several platforms
Documentation/memory-hotplug.txt incorrectly states that the memory
driver "probe" interface is only supported on powerpc and is vague about
its application on x86. Clarify the platforms that make this interface
available if memory hotplug is enabled.
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/memory-hotplug.txt | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/Documentation/memory-hotplug.txt b/Documentation/memory-hotplug.txt index f304edb8fbe7..45134dc23854 100644 --- a/Documentation/memory-hotplug.txt +++ b/Documentation/memory-hotplug.txt | |||
@@ -209,15 +209,12 @@ If memory device is found, memory hotplug code will be called. | |||
209 | 209 | ||
210 | 4.2 Notify memory hot-add event by hand | 210 | 4.2 Notify memory hot-add event by hand |
211 | ------------ | 211 | ------------ |
212 | On powerpc, the firmware does not notify a memory hotplug event to the kernel. | 212 | On some architectures, the firmware may not notify the kernel of a memory |
213 | Therefore, "probe" interface is supported to notify the event to the kernel. | 213 | hotplug event. Therefore, the memory "probe" interface is supported to |
214 | This interface depends on CONFIG_ARCH_MEMORY_PROBE. | 214 | explicitly notify the kernel. This interface depends on |
215 | 215 | CONFIG_ARCH_MEMORY_PROBE and can be configured on powerpc, sh, and x86 | |
216 | CONFIG_ARCH_MEMORY_PROBE is supported on powerpc only. On x86, this config | 216 | if hotplug is supported, although for x86 this should be handled by ACPI |
217 | option is disabled by default since ACPI notifies a memory hotplug event to | 217 | notification. |
218 | the kernel, which performs its hotplug operation as the result. Please | ||
219 | enable this option if you need the "probe" interface for testing purposes | ||
220 | on x86. | ||
221 | 218 | ||
222 | Probe interface is located at | 219 | Probe interface is located at |
223 | /sys/devices/system/memory/probe | 220 | /sys/devices/system/memory/probe |