Skip to contentSkip to conversation

powerpc/configs: Set more PPC debug configs

PATCH Applied Benjamin Gray 2 participants 2 messages Aug 30, 2023 – Sep 21, 2023 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 powerpc/configs: Set more PPC debug configs

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

---
 arch/powerpc/configs/debug.config | 4 ++++
 1 file changed, 4 insertions(+)
arch/powerpc/configs/debug.config +4 -0
index a14ae1f20d60..bcc1fcf25e10 100644
@@ -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
Signature · 1 line
2.41.0
#1 lore raw
Quoted 10 lines · 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

[...]

Applied to powerpc/next.

[1/1] powerpc/configs: Set more PPC debug configs

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

cheers