diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2013-11-14 23:20:50 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-12-08 19:40:31 -0500 |
commit | f2296a3d297d15f6df72ebb73a90af6b643c14dc (patch) | |
tree | 10a8c4bda7ac23bb44b53b62abd539a466834fd2 /arch/powerpc/Kconfig | |
parent | c34a51ce49b40b9667cd7f5cc2e40475af8b4c3d (diff) |
powerpc/powernv: Add config option for hwpoisoning.
Add config option to enable generic memory hwpoisoning infrastructure for
ppc64.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index b44b52c0a8f0..ba4730b0e2a4 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -379,6 +379,12 @@ config ARCH_HAS_WALK_MEMORY | |||
379 | config ARCH_ENABLE_MEMORY_HOTREMOVE | 379 | config ARCH_ENABLE_MEMORY_HOTREMOVE |
380 | def_bool y | 380 | def_bool y |
381 | 381 | ||
382 | config PPC64_SUPPORTS_MEMORY_FAILURE | ||
383 | bool "Add support for memory hwpoison" | ||
384 | depends on PPC_BOOK3S_64 | ||
385 | default "y" if PPC_POWERNV | ||
386 | select ARCH_SUPPORTS_MEMORY_FAILURE | ||
387 | |||
382 | config KEXEC | 388 | config KEXEC |
383 | bool "kexec system call" | 389 | bool "kexec system call" |
384 | depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP)) | 390 | depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP)) |