linux/tools/testing/selftests/memory-hotplug/config

CONFIG_MEMORY_HOTPLUG=y
CONFIG_NOTIFIER_ERROR_INJECTION=y
CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
CONFIG_MEMORY_HOTREMOVE=y