Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

Signed-off-by: Benjamin Gray <bgray@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230830044238.578840-1-bgray@linux.ibm.com

authored by

Benjamin Gray and committed by
Michael Ellerman
ff25ad0a b098f1c3

+4
+4
arch/powerpc/configs/debug.config
··· 1 + CONFIG_JUMP_LABEL_FEATURE_CHECK_DEBUG=y 2 + CONFIG_PPC_IRQ_SOFT_MASK_DEBUG=y 3 + CONFIG_PPC_KUAP_DEBUG=y 4 + CONFIG_PPC_RFI_SRR_DEBUG=y 1 5 CONFIG_SCOM_DEBUGFS=y