Loading...
1# SPDX-License-Identifier: GPL-2.0
2
3config EARLY_PRINTK
4 def_bool y
5
6config DEBUG_ENTRY
7 bool "Debug low-level entry code"
8 depends on DEBUG_KERNEL
9 help
10 This option enables sanity checks in s390 low-level entry code.
11 Some of these sanity checks may slow down kernel entries and
12 exits or otherwise impact performance.
13
14 If unsure, say N.
15
16config CIO_INJECT
17 bool "CIO Inject interfaces"
18 depends on DEBUG_KERNEL && DEBUG_FS
19 help
20 This option provides a debugging facility to inject certain artificial events
21 and instruction responses to the CIO layer of Linux kernel. The newly created
22 debugfs user-interfaces will be at /sys/kernel/debug/s390/cio/*
1menu "Kernel hacking"
2
3config TRACE_IRQFLAGS_SUPPORT
4 def_bool y
5
6source "lib/Kconfig.debug"
7
8config STRICT_DEVMEM
9 def_bool y
10 prompt "Filter access to /dev/mem"
11 ---help---
12 This option restricts access to /dev/mem. If this option is
13 disabled, you allow userspace access to all memory, including
14 kernel and userspace memory. Accidental memory access is likely
15 to be disastrous.
16 Memory access is required for experts who want to debug the kernel.
17
18 If you are unsure, say Y.
19
20config S390_PTDUMP
21 bool "Export kernel pagetable layout to userspace via debugfs"
22 depends on DEBUG_KERNEL
23 select DEBUG_FS
24 ---help---
25 Say Y here if you want to show the kernel pagetable layout in a
26 debugfs file. This information is only useful for kernel developers
27 who are working in architecture specific areas of the kernel.
28 It is probably not a good idea to enable this feature in a production
29 kernel.
30 If in doubt, say "N"
31
32config DEBUG_SET_MODULE_RONX
33 def_bool y
34 depends on MODULES
35endmenu