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