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