mirror of
https://github.com/torvalds/linux.git
synced 2026-11-23 23:11:40 +00:00
Let all the archs that implement devmem_is_allowed() opt-in to a common definition of CONFIG_STRICT_DEVM in lib/Kconfig.debug. Cc: Kees Cook <[email protected]> Cc: Russell King <[email protected]> Cc: Will Deacon <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: "David S. Miller" <[email protected]> Acked-by: Catalin Marinas <[email protected]> Acked-by: Heiko Carstens <[email protected]> [heiko: drop 'default y' for s390] Acked-by: Ingo Molnar <[email protected]> Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Dan Williams <[email protected]>
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
menu "Kernel hacking"
|
|
|
|
source "lib/Kconfig.debug"
|
|
|
|
config EARLY_PRINTK
|
|
def_bool DEBUG_OCD
|
|
help
|
|
Write kernel log output directly into the ocd or to a serial port.
|
|
|
|
This is useful for kernel debugging when your machine crashes very
|
|
early before the console code is initialized. For normal operation
|
|
it is not recommended because it looks ugly and doesn't cooperate
|
|
with klogd/syslogd or the X server. You should normally N here,
|
|
unless you want to debug such a crash.
|
|
|
|
# These options are only for real kernel hackers who want to get their hands dirty.
|
|
config DEBUG_LL
|
|
bool "Kernel low-level debugging functions"
|
|
depends on DEBUG_KERNEL
|
|
help
|
|
Say Y here to include definitions of printascii, printch, printhex
|
|
in the kernel. This is helpful if you are debugging code that
|
|
executes before the console is initialized.
|
|
|
|
config DEBUG_OCD
|
|
bool "Kernel low-level debugging via On-Chip-Debugger"
|
|
depends on DEBUG_LL
|
|
default y
|
|
help
|
|
Say Y here if you want the debug print routines to direct their
|
|
output to the UniCore On-Chip-Debugger channel using CP #1.
|
|
|
|
endmenu
|