• Yasunori Goto's avatar
    [PATCH] acpi memory hotplug: remove strange add_memory fail message · 887b9593
    Yasunori Goto authored
    I wrote a patch to avoid redundant memory hot-add call at boot time.  This
    was cause of strange fail message of memory hotplug like "ACPI: add_memory
    failed".  Memory is recognized by early boot code with EFI/E820.
    
    But, if DSDT describes memory devices for them, then hot-add code is called
    for already recognized memory, and it shows fail messages with -EEXIST.
    So, sys admin will misunderstand this message as something wrong by it.
    
    This patch avoids them by preventing redundant hot-add call until
    completion of driver initialization.
    
    [akpm@osdl.org: cleanups]
    Signed-off-by: default avatarYasunori Goto <y-goto@jp.fujitsu.com>
    Cc: "Brown, Len" <len.brown@intel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    887b9593
acpi_memhotplug.c 14.7 KB