mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] selftests: memory-hotplug: add required configs
@ 2018-09-05  9:57 Lei Yang
  2018-09-05 16:57 ` Shuah Khan
  0 siblings, 1 reply; 2+ messages in thread
From: Lei Yang @ 2018-09-05  9:57 UTC (permalink / raw)
  To: po-hsu.lin, shuah, linux-kselftest, linux-kernel

add CONFIG_MEMORY_HOTREMOVE=y in config
without this config, /sys/devices/system/memory/memory*/removable
always return 0, I endup getting an early skip during test

Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
---
 tools/testing/selftests/memory-hotplug/config | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/testing/selftests/memory-hotplug/config b/tools/testing/selftests/memory-hotplug/config
index 2fde301..a7e8cd5 100644
--- a/tools/testing/selftests/memory-hotplug/config
+++ b/tools/testing/selftests/memory-hotplug/config
@@ -2,3 +2,4 @@ CONFIG_MEMORY_HOTPLUG=y
 CONFIG_MEMORY_HOTPLUG_SPARSE=y
 CONFIG_NOTIFIER_ERROR_INJECTION=y
 CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
+CONFIG_MEMORY_HOTREMOVE=y
-- 
1.9.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] selftests: memory-hotplug: add required configs
  2018-09-05  9:57 [PATCH] selftests: memory-hotplug: add required configs Lei Yang
@ 2018-09-05 16:57 ` Shuah Khan
  0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2018-09-05 16:57 UTC (permalink / raw)
  To: Lei Yang, po-hsu.lin, linux-kselftest, linux-kernel; +Cc: Shuah Khan

On 09/05/2018 03:57 AM, Lei Yang wrote:
> add CONFIG_MEMORY_HOTREMOVE=y in config
> without this config, /sys/devices/system/memory/memory*/removable
> always return 0, I endup getting an early skip during test
> 
> Signed-off-by: Lei Yang <Lei.Yang@windriver.com>
> ---
>  tools/testing/selftests/memory-hotplug/config | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/testing/selftests/memory-hotplug/config b/tools/testing/selftests/memory-hotplug/config
> index 2fde301..a7e8cd5 100644
> --- a/tools/testing/selftests/memory-hotplug/config
> +++ b/tools/testing/selftests/memory-hotplug/config
> @@ -2,3 +2,4 @@ CONFIG_MEMORY_HOTPLUG=y
>  CONFIG_MEMORY_HOTPLUG_SPARSE=y
>  CONFIG_NOTIFIER_ERROR_INJECTION=y
>  CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
> +CONFIG_MEMORY_HOTREMOVE=y
> 

Thanks. Applied to linux-kselftest next

-- Shuah

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-05 16:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-05  9:57 [PATCH] selftests: memory-hotplug: add required configs Lei Yang
2018-09-05 16:57 ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome