* [PATCH] powerpc/configs: Set more PPC debug configs
@ 2023-08-30 4:42 Benjamin Gray
2023-09-21 9:30 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Benjamin Gray @ 2023-08-30 4:42 UTC (permalink / raw)
To: linuxppc-dev; +Cc: Benjamin Gray
Add more config options that wouldn't be done by the generic debug
config in kernel/configs/debug.config
CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG
Adds an initialized check on each (cpu|mmu)_has_feature()
CONFIG_PPC_IRQ_SOFT_MASK_DEBUG
Adds some extra checks around IRQ mask manipulation
CONFIG_PPC_KUAP_DEBUG
Adds some extra KAUP checks around interrupts/context switching
CONFIG_PPC_RFI_SRR_DEBUG
Adds some extra SSR checks around interrupts/syscalls
Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
---
arch/powerpc/configs/debug.config | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/powerpc/configs/debug.config b/arch/powerpc/configs/debug.config
index a14ae1f20d60..bcc1fcf25e10 100644
--- a/arch/powerpc/configs/debug.config
+++ b/arch/powerpc/configs/debug.config
@@ -1 +1,5 @@
+CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG=y
+CONFIG_PPC_IRQ_SOFT_MASK_DEBUG=y
+CONFIG_PPC_KUAP_DEBUG=y
+CONFIG_PPC_RFI_SRR_DEBUG=y
CONFIG_SCOM_DEBUGFS=y
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] powerpc/configs: Set more PPC debug configs
2023-08-30 4:42 [PATCH] powerpc/configs: Set more PPC debug configs Benjamin Gray
@ 2023-09-21 9:30 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2023-09-21 9:30 UTC (permalink / raw)
To: linuxppc-dev, Benjamin Gray
On Wed, 30 Aug 2023 14:42:38 +1000, Benjamin Gray wrote:
> Add more config options that wouldn't be done by the generic debug
> config in kernel/configs/debug.config
>
> CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG
> Adds an initialized check on each (cpu|mmu)_has_feature()
>
> CONFIG_PPC_IRQ_SOFT_MASK_DEBUG
> Adds some extra checks around IRQ mask manipulation
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/configs: Set more PPC debug configs
https://git.kernel.org/powerpc/c/ff25ad0aa280012eda5699713a9f0b468a1d6e4e
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-09-21 9:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-30 4:42 [PATCH] powerpc/configs: Set more PPC debug configs Benjamin Gray
2023-09-21 9:30 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).