xref: /openbmc/linux/arch/ia64/Kconfig.debug (revision ba61bb17)
1# SPDX-License-Identifier: GPL-2.0
2menu "Kernel hacking"
3
4source "lib/Kconfig.debug"
5
6choice
7	prompt "Physical memory granularity"
8	default IA64_GRANULE_64MB
9
10config IA64_GRANULE_16MB
11	bool "16MB"
12	help
13	  IA-64 identity-mapped regions use a large page size called "granules".
14
15	  Select "16MB" for a small granule size.
16	  Select "64MB" for a large granule size.  This is the current default.
17
18config IA64_GRANULE_64MB
19	bool "64MB"
20	depends on !(IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_SGI_SN2)
21
22endchoice
23
24config IA64_PRINT_HAZARDS
25	bool "Print possible IA-64 dependency violations to console"
26	depends on DEBUG_KERNEL
27	help
28	  Selecting this option prints more information for Illegal Dependency
29	  Faults, that is, for Read-after-Write (RAW), Write-after-Write (WAW),
30	  or Write-after-Read (WAR) violations.  This option is ignored if you
31	  are compiling for an Itanium A step processor
32	  (CONFIG_ITANIUM_ASTEP_SPECIFIC).  If you're unsure, select Y.
33
34config DISABLE_VHPT
35	bool "Disable VHPT"
36	depends on DEBUG_KERNEL
37	help
38	  The Virtual Hash Page Table (VHPT) enhances virtual address
39	  translation performance.  Normally you want the VHPT active but you
40	  can select this option to disable the VHPT for debugging.  If you're
41	  unsure, answer N.
42
43config IA64_DEBUG_CMPXCHG
44	bool "Turn on compare-and-exchange bug checking (slow!)"
45	depends on DEBUG_KERNEL
46	help
47	  Selecting this option turns on bug checking for the IA-64
48	  compare-and-exchange instructions.  This is slow!  Itaniums
49	  from step B3 or later don't have this problem. If you're unsure,
50	  select N.
51
52config IA64_DEBUG_IRQ
53	bool "Turn on irq debug checks (slow!)"
54	depends on DEBUG_KERNEL
55	help
56	  Selecting this option turns on bug checking for the IA-64 irq_save
57	  and restore instructions.  It's useful for tracking down spinlock
58	  problems, but slow!  If you're unsure, select N.
59
60endmenu
61