[PATCH openbmc] DON'T MERGE
OpenBMC Patches
openbmc-patches at stwcx.xyz
Thu Apr 28 14:50:30 AEST 2016
From: Joel Stanley <joel at jms.id.au>
This adds memory debugging to the kernel.
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
.../meta-barreleye/recipes-kernel/linux/linux-obmc/debug_mem.cfg | 8 ++++++++
.../meta-barreleye/recipes-kernel/linux/linux-obmc_%.bbappend | 2 ++
2 files changed, 10 insertions(+)
create mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc/debug_mem.cfg
create mode 100644 meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc_%.bbappend
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc/debug_mem.cfg b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc/debug_mem.cfg
new file mode 100644
index 0000000..f323eb9
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc/debug_mem.cfg
@@ -0,0 +1,8 @@
+CONFIG_UBSAN=y
+CONFIG_UBSAN_ALIGNMENT=y
+CONFIG_DEBUG_OBJECTS=y
+CONFIG_DEBUG_OBJECTS_FREE=y
+CONFIG_DEBUG_SLAB=y
+CONFIG_DEBUG_SLAB_LEAK=y
+CONFIG_DEBUG_KMEMLEAK=y
+CONFIG_DEBUG_MEMORY_INIT=y
diff --git a/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc_%.bbappend b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc_%.bbappend
new file mode 100644
index 0000000..f0d4e20
--- /dev/null
+++ b/meta-openbmc-machines/meta-openpower/meta-rackspace/meta-barreleye/recipes-kernel/linux/linux-obmc_%.bbappend
@@ -0,0 +1,2 @@
+FILESEXTRAPATHS_prepend := "${THISDIR}/linux-obmc:"
+SRC_URI += "file://debug_mem.cfg"
--
2.8.1
More information about the openbmc
mailing list