xref: /openbmc/linux/arch/ia64/Kconfig.debug (revision 7ea446e3)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds
31da177e4SLinus Torvaldschoice
41da177e4SLinus Torvalds	prompt "Physical memory granularity"
51da177e4SLinus Torvalds	default IA64_GRANULE_64MB
61da177e4SLinus Torvalds
71da177e4SLinus Torvaldsconfig IA64_GRANULE_16MB
81da177e4SLinus Torvalds	bool "16MB"
91da177e4SLinus Torvalds	help
101da177e4SLinus Torvalds	  IA-64 identity-mapped regions use a large page size called "granules".
111da177e4SLinus Torvalds
121da177e4SLinus Torvalds	  Select "16MB" for a small granule size.
131da177e4SLinus Torvalds	  Select "64MB" for a large granule size.  This is the current default.
141da177e4SLinus Torvalds
151da177e4SLinus Torvaldsconfig IA64_GRANULE_64MB
161da177e4SLinus Torvalds	bool "64MB"
17df41017eSChristoph Hellwig	depends on BROKEN
181da177e4SLinus Torvalds
191da177e4SLinus Torvaldsendchoice
201da177e4SLinus Torvalds
211da177e4SLinus Torvaldsconfig IA64_PRINT_HAZARDS
221da177e4SLinus Torvalds	bool "Print possible IA-64 dependency violations to console"
231da177e4SLinus Torvalds	depends on DEBUG_KERNEL
241da177e4SLinus Torvalds	help
251da177e4SLinus Torvalds	  Selecting this option prints more information for Illegal Dependency
261da177e4SLinus Torvalds	  Faults, that is, for Read-after-Write (RAW), Write-after-Write (WAW),
271da177e4SLinus Torvalds	  or Write-after-Read (WAR) violations.  This option is ignored if you
281da177e4SLinus Torvalds	  are compiling for an Itanium A step processor
291da177e4SLinus Torvalds	  (CONFIG_ITANIUM_ASTEP_SPECIFIC).  If you're unsure, select Y.
301da177e4SLinus Torvalds
311da177e4SLinus Torvaldsconfig DISABLE_VHPT
321da177e4SLinus Torvalds	bool "Disable VHPT"
331da177e4SLinus Torvalds	depends on DEBUG_KERNEL
341da177e4SLinus Torvalds	help
351da177e4SLinus Torvalds	  The Virtual Hash Page Table (VHPT) enhances virtual address
361da177e4SLinus Torvalds	  translation performance.  Normally you want the VHPT active but you
371da177e4SLinus Torvalds	  can select this option to disable the VHPT for debugging.  If you're
381da177e4SLinus Torvalds	  unsure, answer N.
391da177e4SLinus Torvalds
401da177e4SLinus Torvaldsconfig IA64_DEBUG_CMPXCHG
411da177e4SLinus Torvalds	bool "Turn on compare-and-exchange bug checking (slow!)"
42*7ea446e3SRandy Dunlap	depends on DEBUG_KERNEL && PRINTK
431da177e4SLinus Torvalds	help
441da177e4SLinus Torvalds	  Selecting this option turns on bug checking for the IA-64
451da177e4SLinus Torvalds	  compare-and-exchange instructions.  This is slow!  Itaniums
461da177e4SLinus Torvalds	  from step B3 or later don't have this problem. If you're unsure,
471da177e4SLinus Torvalds	  select N.
481da177e4SLinus Torvalds
491da177e4SLinus Torvaldsconfig IA64_DEBUG_IRQ
501da177e4SLinus Torvalds	bool "Turn on irq debug checks (slow!)"
511da177e4SLinus Torvalds	depends on DEBUG_KERNEL
521da177e4SLinus Torvalds	help
531da177e4SLinus Torvalds	  Selecting this option turns on bug checking for the IA-64 irq_save
541da177e4SLinus Torvalds	  and restore instructions.  It's useful for tracking down spinlock
551da177e4SLinus Torvalds	  problems, but slow!  If you're unsure, select N.
56