[PATCH] powerpc/configs: Add debug config fragment

Subsystems: linux for powerpc (32-bit and 64-bit), the rest

STALE2505d LANDED

Landed in mainline as c1bc6f93f959 on 2019-10-28.

2 messages, 2 authors, 2019-10-30 · open the first message on its own page

[PATCH] powerpc/configs: Add debug config fragment

From: Andrew Donnellan <hidden>
Date: 2019-08-01 05:01:20

Add a debug config fragment that we can use to put useful debug options
into.

Currently we only define a target for powernv[_be]_debug_defconfig, and the
only option included is to enable debugfs SCOM access.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Donnellan <redacted>
---
 arch/powerpc/Makefile             | 8 ++++++++
 arch/powerpc/configs/debug.config | 1 +
 2 files changed, 9 insertions(+)
 create mode 100644 arch/powerpc/configs/debug.config
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index c345b79414a9..aff022592d89 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -331,6 +331,14 @@ PHONY += powernv_be_defconfig
 powernv_be_defconfig:
 	$(call merge_into_defconfig,powernv_defconfig,be)
 
+PHONY += powernv_be_debug_defconfig
+powernv_be_debug_defconfig:
+	$(call merge_into_defconfig,powernv_defconfig,be debug)
+
+PHONY += powernv_debug_defconfig
+powernv_debug_defconfig:
+	$(call merge_into_defconfig,powernv_defconfig,debug)
+
 PHONY += mpc85xx_defconfig
 mpc85xx_defconfig:
 	$(call merge_into_defconfig,mpc85xx_basic_defconfig,\
diff --git a/arch/powerpc/configs/debug.config b/arch/powerpc/configs/debug.config
new file mode 100644
index 000000000000..a14ae1f20d60
--- /dev/null
+++ b/arch/powerpc/configs/debug.config
@@ -0,0 +1 @@
+CONFIG_SCOM_DEBUGFS=y
-- 
2.20.1

Re: [PATCH] powerpc/configs: Add debug config fragment

From: Michael Ellerman <hidden>
Date: 2019-10-30 12:22:57

On Thu, 2019-08-01 at 04:58:55 UTC, Andrew Donnellan wrote:
Add a debug config fragment that we can use to put useful debug options
into.

Currently we only define a target for powernv[_be]_debug_defconfig, and the
only option included is to enable debugfs SCOM access.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Donnellan <redacted>
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/c1bc6f93f95970f917caaac544a374862e84df52

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help