Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mahesh Salgaonkar and committed by
Benjamin Herrenschmidt
f2296a3d c34a51ce

+6
+6
arch/powerpc/Kconfig
··· 379 379 config ARCH_ENABLE_MEMORY_HOTREMOVE 380 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 388 config KEXEC 383 389 bool "kexec system call" 384 390 depends on (PPC_BOOK3S || FSL_BOOKE || (44x && !SMP))