[PATCH 1/2] powerpc/powernv: Add config option for removal of memory
Rashmica Gupta
rashmica.g at gmail.com
Fri Apr 28 15:42:26 AEST 2017
Signed-off-by: Rashmica Gupta <rashmica.g at gmail.com>
---
arch/powerpc/platforms/powernv/Kconfig | 4 ++++
arch/powerpc/platforms/powernv/Makefile | 1 +
2 files changed, 5 insertions(+)
diff --git a/arch/powerpc/platforms/powernv/Kconfig b/arch/powerpc/platforms/powernv/Kconfig
index 6a6f4ef..1b8b3a8 100644
--- a/arch/powerpc/platforms/powernv/Kconfig
+++ b/arch/powerpc/platforms/powernv/Kconfig
@@ -30,3 +30,7 @@ config OPAL_PRD
help
This enables the opal-prd driver, a facility to run processor
recovery diagnostics on OpenPower machines
+
+config HARDWARE_TRACING
+ bool 'Enable removal of memory for hardware memory tracing'
+ depends on PPC_POWERNV && MEMORY_HOTPLUG
diff --git a/arch/powerpc/platforms/powernv/Makefile b/arch/powerpc/platforms/powernv/Makefile
index b5d98cb..e61be1b 100644
--- a/arch/powerpc/platforms/powernv/Makefile
+++ b/arch/powerpc/platforms/powernv/Makefile
@@ -12,3 +12,4 @@ obj-$(CONFIG_PPC_SCOM) += opal-xscom.o
obj-$(CONFIG_MEMORY_FAILURE) += opal-memory-errors.o
obj-$(CONFIG_TRACEPOINTS) += opal-tracepoints.o
obj-$(CONFIG_OPAL_PRD) += opal-prd.o
+obj-$(CONFIG_HARDWARE_TRACING) += memtrace.o
--
2.9.3
More information about the Linuxppc-dev
mailing list