xref: /openbmc/linux/arch/s390/Kconfig.debug (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds
389175cf7SHeiko Carstensconfig EARLY_PRINTK
489175cf7SHeiko Carstens	def_bool y
5062e5279SHeiko Carstens
656e62a73SSven Schnelleconfig DEBUG_ENTRY
756e62a73SSven Schnelle	bool "Debug low-level entry code"
856e62a73SSven Schnelle	depends on DEBUG_KERNEL
9062e5279SHeiko Carstens	help
1056e62a73SSven Schnelle	  This option enables sanity checks in s390 low-level entry code.
1156e62a73SSven Schnelle	  Some of these sanity checks may slow down kernel entries and
1256e62a73SSven Schnelle	  exits or otherwise impact performance.
13062e5279SHeiko Carstens
14062e5279SHeiko Carstens	  If unsure, say N.
15*a4f17cc7SVineeth Vijayan
16*a4f17cc7SVineeth Vijayanconfig CIO_INJECT
17*a4f17cc7SVineeth Vijayan	bool "CIO Inject interfaces"
18*a4f17cc7SVineeth Vijayan	depends on DEBUG_KERNEL && DEBUG_FS
19*a4f17cc7SVineeth Vijayan	help
20*a4f17cc7SVineeth Vijayan	  This option provides a debugging facility to inject certain artificial events
21*a4f17cc7SVineeth Vijayan	  and instruction responses to the CIO layer of Linux kernel. The newly created
22*a4f17cc7SVineeth Vijayan	  debugfs user-interfaces will be at /sys/kernel/debug/s390/cio/*
23