diff mbox series

powerpc/configs: Set more PPC debug configs

Message ID 20230830044238.578840-1-bgray@linux.ibm.com (mailing list archive)
State Accepted
Commit ff25ad0aa280012eda5699713a9f0b468a1d6e4e
Headers show
Series powerpc/configs: Set more PPC debug configs | expand

Checks

Context Check Description
snowpatch_ozlabs/github-powerpc_ppctests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_selftests success Successfully ran 8 jobs.
snowpatch_ozlabs/github-powerpc_sparse success Successfully ran 4 jobs.
snowpatch_ozlabs/github-powerpc_clang success Successfully ran 6 jobs.
snowpatch_ozlabs/github-powerpc_kernel_qemu success Successfully ran 23 jobs.

Commit Message

Benjamin Gray Aug. 30, 2023, 4:42 a.m. UTC
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(+)

Comments

Michael Ellerman Sept. 21, 2023, 9:30 a.m. UTC | #1
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
diff mbox series

Patch

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