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