Kconfig 19.7 KB
Newer Older
1 2 3 4 5
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#

6 7 8 9 10 11 12 13 14 15
mainmenu "IA-64 Linux Kernel Configuration"

source "init/Kconfig"

menu "Processor type and features"

config IA64
	bool
	default y
	help
David Mosberger's avatar
David Mosberger committed
16 17 18 19
	  The Itanium Processor Family is Intel's 64-bit successor to
	  the 32-bit X86 line.  The IA-64 Linux project has a home
	  page at <http://www.linuxia64.org/> and a mailing list at
	  linux-ia64@linuxia64.org.
20

Matthew Wilcox's avatar
Matthew Wilcox committed
21 22 23
config 64BIT
	def_bool y

24 25 26 27
config MMU
	bool
	default y

28
config RWSEM_XCHGADD_ALGORITHM
29 30 31
	bool
	default y

32 33 34 35
config TIME_INTERPOLATION
	bool
	default y

36 37 38 39 40 41 42
choice
	prompt "IA-64 processor type"
	default ITANIUM

config ITANIUM
	bool "Itanium"
	help
David Mosberger's avatar
David Mosberger committed
43 44 45
	  Select your IA-64 processor type.  The default is Intel Itanium.
	  This choice is safe for all IA-64 systems, but may not perform
	  optimally on systems with, say, Itanium 2 or newer processors.
46 47

config MCKINLEY
David Mosberger's avatar
David Mosberger committed
48
	bool "Itanium 2"
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71
	help
	  Select this to configure for an Itanium 2 (McKinley) processor.

endchoice

choice
	prompt "IA-64 system type"
	default IA64_GENERIC

config IA64_GENERIC
	bool "generic"
	---help---
	  This selects the system type of your hardware.  A "generic" kernel
	  will run on any supported IA-64 system.  However, if you configure
	  a kernel for your specific system, it will be faster and smaller.

	  To find out what type of IA-64 system you have, you may want to
	  check the IA-64 Linux web site at <http://www.linux-ia64.org/>.
	  As of the time of this writing, most hardware is DIG compliant,
	  so the "DIG-compliant" option is usually the right choice.

	  HP-simulator   For the HP simulator
	  (<http://software.hp.com/ia64linux/>).
David Mosberger's avatar
David Mosberger committed
72
	  HP-zx1         For HP zx1-based systems.
Jesse Barnes's avatar
Jesse Barnes committed
73
	  SGI-SN2	 For SGI Altix systems
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
	  DIG-compliant  For DIG ("Developer's Interface Guide") compliant
	  systems.

	  If you don't know what to do, choose "generic".

config IA64_DIG
	bool "DIG-compliant"

config IA64_HP_SIM
	bool "HP-simulator"

config IA64_HP_ZX1
	bool "HP-zx1"
	help
	  Build a kernel that runs on HP zx1-based systems.  This adds support
David Mosberger's avatar
David Mosberger committed
89 90
	  for the zx1 I/O MMU and makes root bus bridges appear in PCI config
	  space (required for zx1 agpgart support).
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107

config IA64_SGI_SN2
	bool "SGI-SN2"

endchoice

choice
	prompt "Kernel page size"
	default IA64_PAGE_SIZE_16KB

config IA64_PAGE_SIZE_4KB
	bool "4KB"
	---help---
	  This lets you select the page size of the kernel.  For best IA-64
	  performance, a page size of 8KB or 16KB is recommended.  For best
	  IA-32 compatibility, a page size of 4KB should be selected (the vast
	  majority of IA-32 binaries work perfectly fine with a larger page
David Mosberger's avatar
David Mosberger committed
108 109
	  size).  For Itanium 2 or newer systems, a page size of 64KB can also
	  be selected.
110 111 112 113

	  4KB                For best IA-32 compatibility
	  8KB                For best IA-64 performance
	  16KB               For best IA-64 performance
David Mosberger's avatar
David Mosberger committed
114
	  64KB               Requires Itanium 2 or newer processor.
115

David Mosberger's avatar
David Mosberger committed
116
	  If you don't know what to do, choose 16KB.
117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178

config IA64_PAGE_SIZE_8KB
	bool "8KB"

config IA64_PAGE_SIZE_16KB
	bool "16KB"

config IA64_PAGE_SIZE_64KB
	depends on !ITANIUM
	bool "64KB"

endchoice

config ACPI
	bool
	depends on !IA64_HP_SIM
	default y
	---help---
	  ACPI/OSPM support for Linux is currently under development. As such,
	  this support is preliminary and EXPERIMENTAL.  Configuring ACPI
	  support enables kernel interfaces that allow higher level software
	  (OSPM) to manipulate ACPI defined hardware and software interfaces,
	  including the evaluation of ACPI control methods.  If unsure, choose
	  N here.  Note, this option will enlarge your kernel by about 120K.

	  This support requires an ACPI compliant platform (hardware/firmware).
	  If both ACPI and Advanced Power Management (APM) support are
	  configured, whichever is loaded first shall be used.

	  This code DOES NOT currently provide a complete OSPM implementation
	  -- it has not yet reached APM's level of functionality.  When fully
	  implemented, Linux ACPI/OSPM will provide a more robust functional
	  replacement for legacy configuration and power management
	  interfaces, including the Plug-and-Play BIOS specification (PnP
	  BIOS), the Multi-Processor Specification (MPS), and the Advanced
	  Power Management specification (APM).

	  Linux support for ACPI/OSPM is based on Intel Corporation's ACPI
	  Component Architecture (ACPI CA). The latest ACPI CA source code,
	  documentation, debug builds, and implementation status information
	  can be downloaded from:
	  <http://developer.intel.com/technology/iapc/acpi/downloads.htm>.

	  The ACPI Sourceforge project may also be of interest:
	  <http://sf.net/projects/acpi/>

config ACPI_EFI
	bool
	depends on !IA64_HP_SIM
	default y

config ACPI_INTERPRETER
	bool
	depends on !IA64_HP_SIM
	default y

config ACPI_KERNEL_CONFIG
	bool
	depends on !IA64_HP_SIM
	default y
	help
	  If you say `Y' here, Linux's ACPI support will use the
David Mosberger's avatar
David Mosberger committed
179
	  hardware-level system descriptions found on IA-64 systems.
180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196

config IA64_BRL_EMU
	bool
	depends on ITANIUM
	default y

config ITANIUM_BSTEP_SPECIFIC
	bool "Enable Itanium B-step specific code"
	depends on ITANIUM
	help
	  Select this option to build a kernel for an Itanium prototype system
	  with a B-step CPU.  You have a B-step CPU if the "revision" field in
	  /proc/cpuinfo has a value in the range from 1 to 4.

# align cache-sensitive data to 128 bytes
config IA64_L1_CACHE_SHIFT
	int
Jesse Barnes's avatar
Jesse Barnes committed
197 198
	default "7" if MCKINLEY
	default "6" if ITANIUM
199 200 201 202 203 204

# align cache-sensitive data to 64 bytes
config MCKINLEY_ASTEP_SPECIFIC
	bool "Enable McKinley A-step specific code"
	depends on MCKINLEY
	help
David Mosberger's avatar
David Mosberger committed
205 206
	  Select this option to build a kernel for an IA-64 McKinley prototype
	  system with any A-stepping CPU.
207 208 209 210 211

config MCKINLEY_A0_SPECIFIC
	bool "Enable McKinley A0/A1-step specific code"
	depends on MCKINLEY_ASTEP_SPECIFIC
	help
David Mosberger's avatar
David Mosberger committed
212 213
	  Select this option to build a kernel for an IA-64 McKinley prototype
	  system with an A0 or A1 stepping CPU.
214 215 216

config NUMA
	bool "Enable NUMA support" if IA64_GENERIC || IA64_DIG || IA64_HP_ZX1
Jesse Barnes's avatar
Jesse Barnes committed
217
	default y if IA64_SGI_SN2 || IA64_GENERIC
218 219 220
	help
	  Say Y to compile the kernel to support NUMA (Non-Uniform Memory
	  Access).  This option is for configuring high-end multiprocessor
David Mosberger's avatar
David Mosberger committed
221
	  server systems.  If in doubt, say N.
222

223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
choice
	prompt "Maximum Memory per NUMA Node" if NUMA && IA64_DIG
	depends on NUMA && IA64_DIG
	default IA64_NODESIZE_16GB

config IA64_NODESIZE_16GB
	bool "16GB"

config IA64_NODESIZE_64GB
	bool "64GB"

config IA64_NODESIZE_256GB
	bool "256GB"

endchoice

239
config DISCONTIGMEM
240 241
	bool "Discontiguous memory support" if (IA64_DIG || IA64_SGI_SN2 || IA64_GENERIC) && NUMA
	default y if (IA64_SGI_SN2 || IA64_GENERIC) && NUMA
242
	help
David Mosberger's avatar
David Mosberger committed
243
	  Say Y to support efficient handling of discontiguous physical memory,
244 245 246 247
	  for architectures which are either NUMA (Non-Uniform Memory Access)
	  or have huge holes in the physical address space for other reasons.
	  See <file:Documentation/vm/numa> for more.

248 249
config VIRTUAL_MEM_MAP
	bool "Enable Virtual Mem Map"
Jesse Barnes's avatar
Jesse Barnes committed
250
	default y if !IA64_HP_SIM
251 252 253 254 255 256 257 258 259 260 261
	help
	  Say Y to compile the kernel with support for a virtual mem map.
	  This is an alternate method of supporting large holes in the
	  physical address space on non NUMA machines. Since the DISCONTIGMEM
	  option is not supported on machines with the ZX1 chipset, this is
	  the only way of supporting more than 1 Gb of memory on those
	  machines. This code also only takes effect if a memory hole of
	  greater than 1 Gb is found during boot, so it is safe to enable
	  unless you require the DISCONTIGMEM option for your machine. If you
	  are unsure, say Y.

262
config IA64_MCA
Jesse Barnes's avatar
Jesse Barnes committed
263 264
	bool "Enable IA-64 Machine Check Abort"
	default y if !IA64_HP_SIM
265 266 267 268 269
	help
	  Say Y here to enable machine check support for IA-64.  If you're
	  unsure, answer Y.

config PM
270
	bool "Power Management support"
271 272 273 274 275 276 277 278 279 280 281 282 283 284
	depends on IA64_GENERIC || IA64_DIG || IA64_HP_ZX1
	default y
	---help---
	  "Power Management" means that parts of your computer are shut
	  off or put into a power conserving "sleep" mode if they are not
	  being used.  There are two competing standards for doing this: APM
	  and ACPI.  If you want to use either one, say Y here and then also
	  to the requisite support below.

	  Power Management is most important for battery powered laptop
	  computers; if you have a laptop, check out the Linux Laptop home
	  page on the WWW at
	  <http://www.cs.utexas.edu/users/kharker/linux-laptop/> and the
	  Battery Powered Linux mini-HOWTO, available from
285
	  <http://www.tldp.org/docs.html#howto>.
286 287 288 289 290 291 292

	  Note that, even if you say N here, Linux on the x86 architecture
	  will issue the hlt instruction if nothing is to be done, thereby
	  sending the processor to sleep and saving power.

config IOSAPIC
	bool
Jesse Barnes's avatar
Jesse Barnes committed
293
	depends on IA64_GENERIC || IA64_DIG || IA64_HP_ZX1 || IA64_SGI_SN2
294 295 296 297
	default y

config IA64_SGI_SN_SIM
	bool "Enable SGI Medusa Simulator Support"
Jesse Barnes's avatar
Jesse Barnes committed
298
	depends on IA64_SGI_SN2
299
	help
David Mosberger's avatar
David Mosberger committed
300
	  If you are compiling a kernel that will run under SGI's IA-64
301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
	  simulator (Medusa) then say Y, otherwise say N.

config FORCE_MAX_ZONEORDER
	int
	default "18"

config HUGETLB_PAGE
	bool "IA-64 Huge TLB Page Support"

choice
	prompt "IA-64 Huge TLB Page Size"
	depends on HUGETLB_PAGE
	default HUGETLB_PAGE_SIZE_16MB

config HUGETLB_PAGE_SIZE_4GB
	depends on MCKINLEY
	bool "4GB"

319 320 321 322
config HUGETLB_PAGE_SIZE_1GB
	depends on MCKINLEY
	bool "1GB"

323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342
config HUGETLB_PAGE_SIZE_256MB
	bool "256MB"

config HUGETLB_PAGE_SIZE_64MB
	bool "64MB"

config HUGETLB_PAGE_SIZE_16MB
	bool "16MB"

config HUGETLB_PAGE_SIZE_4MB
	bool "4MB"

config HUGETLB_PAGE_SIZE_1MB
	bool "1MB"

config HUGETLB_PAGE_SIZE_256KB
	bool "256KB"

endchoice

343 344 345 346 347 348 349 350 351
config IA64_PAL_IDLE
	bool "Use PAL_HALT_LIGHT in idle loop"
	---help---
	  Say Y here to enable use of PAL_HALT_LIGHT in the cpu_idle loop.
	  This allows the CPU to enter a low power state when idle.  You
	  can enable CONFIG_IA64_PALINFO and check /proc/pal/cpu0/power_info
	  to see the power consumption and latency for this state.  If you're
	  unsure your firmware supports it, answer N.

352 353 354 355
config SMP
	bool "SMP support"
	---help---
	  This enables support for systems with more than one CPU. If you have
David Mosberger's avatar
David Mosberger committed
356 357
	  a system with only one CPU say N. If you have a system with more than
	  one CPU, say Y.
358 359

	  If you say N here, the kernel will run on single and multiprocessor
David Mosberger's avatar
David Mosberger committed
360
	  systems, but will use only one CPU of a multiprocessor system. If
361
	  you say Y here, the kernel will run on many, but not all,
David Mosberger's avatar
David Mosberger committed
362
	  singleprocessor system. On a singleprocessor system, the kernel
363 364 365
	  will run faster if you say N here.

	  See also the <file:Documentation/smp.tex>,
David Mosberger's avatar
David Mosberger committed
366
	  <file:Documentation/smp.txt>, and the SMP-HOWTO available at
367
	  <http://www.tldp.org/docs.html#howto>.
368 369 370

	  If you don't know what to do here, say N.

371 372 373 374 375 376 377 378 379 380 381 382
config PREEMPT
	bool "Preemptible Kernel"
        help
          This option reduces the latency of the kernel when reacting to
          real-time or interactive events by allowing a low priority process to
          be preempted even if it is in kernel mode executing a system call.
          This allows applications to run more reliably even when the system is
          under load.

          Say Y here if you are building a kernel for a desktop, embedded
          or real-time system.  Say N if you are unsure.

383 384 385
config IA32_SUPPORT
	bool "Support running of Linux/x86 binaries"
	help
David Mosberger's avatar
David Mosberger committed
386 387 388 389 390
	  IA-64 processors can execute IA-32 (X86) instructions.  By
	  saying Y here, the kernel will include IA-32 system call
	  emulation support which makes it possible to transparently
	  run IA-32 Linux binaries on an IA-64 Linux system.
	  If in doubt, say Y.
391

392 393 394 395 396
config COMPAT
	bool
	depends on IA32_SUPPORT
	default y

397 398 399 400 401
config PERFMON
	bool "Performance monitor support"
	help
	  Selects whether support for the IA-64 performance monitor hardware
	  is included in the kernel.  This makes some kernel data-structures a
David Mosberger's avatar
David Mosberger committed
402 403
	  little bigger and slows down execution a bit, but it is generally
	  a good idea to turn this on.  If you're unsure, say Y.
404 405 406 407 408 409 410 411 412

config IA64_PALINFO
	tristate "/proc/pal support"
	help
	  If you say Y here, you are able to get PAL (Processor Abstraction
	  Layer) information in /proc/pal.  This contains useful information
	  about the processors in your systems, such as cache and TLB sizes
	  and the PAL firmware version in use.

David Mosberger's avatar
David Mosberger committed
413
	  To use this option, you have to ensure that the "/proc file system
414 415
	  support" (CONFIG_PROC_FS) is enabled, too.

416 417 418 419 420 421 422 423 424 425
config IA64_SALINFO
	tristate "/proc/sal support"
	help
	  The /proc/sal directory exports the SAL (system abstraction layer)
	  feature bits, like whether the platform is subject to ITC drift.  It
	  is intended to be used by user programs that care about such things.

	  To use this option, you have to ensure that the "/proc file system
	  support" (CONFIG_PROC_FS) is enabled, too.

426 427 428 429 430 431 432 433 434 435 436
config EFI_VARS
	tristate "/proc/efi/vars support"
	help
	  If you say Y here, you are able to get EFI (Extensible Firmware
	  Interface) variable information in /proc/efi/vars.  You may read,
	  write, create, and destroy EFI variables through this interface.

	  To use this option, you have to check that the "/proc file system
	  support" (CONFIG_PROC_FS) is enabled, too.

config NR_CPUS
437
	int "Maximum number of CPUs"
438 439
	depends on SMP
	default "64"
440 441 442 443 444 445
	help
	  You should set this to the number of CPUs in your system, but
	  keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
	  only use 2 CPUs on a >2 CPU system.  Setting this to a value larger
	  than 64 will cause the use of a CPU mask array, causing a small
	  performance hit.
446

447
source "fs/Kconfig.binfmt"
448 449 450 451 452 453 454 455 456 457 458 459 460 461

if !IA64_HP_SIM

source "drivers/acpi/Kconfig"

config PCI
	bool "PCI support"
	help
	  Find out whether you have a PCI motherboard. PCI is the name of a
	  bus system, i.e. the way the CPU talks to the other stuff inside
	  your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
	  VESA. If you have PCI, say Y, otherwise N.

	  The PCI-HOWTO, available from
462
	  <http://www.tldp.org/docs.html#howto>, contains valuable
463 464 465
	  information about which PCI hardware does work under Linux and which
	  doesn't.

466 467 468 469
config PCI_DOMAINS
	bool
	default PCI

470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489
source "drivers/pci/Kconfig"

config HOTPLUG
	bool "Support for hot-pluggable devices"
	---help---
	  Say Y here if you want to plug devices into your computer while
	  the system is running, and be able to use them quickly.  In many
	  cases, the devices can likewise be unplugged at any time too.

	  One well known example of this is PCMCIA- or PC-cards, credit-card
	  size devices such as network cards, modems or hard drives which are
	  plugged into slots found on all modern laptop computers.  Another
	  example, used on modern desktops as well as laptops, is USB.

	  Enable HOTPLUG and KMOD, and build a modular kernel.  Get agent
	  software (at <http://linux-hotplug.sourceforge.net/>) and install it.
	  Then your kernel will automatically call out to a user mode "policy
	  agent" (/sbin/hotplug) to load modules and set up software needed
	  to use devices as you hotplug them.

490
source "drivers/pci/hotplug/Kconfig"
491 492 493 494 495 496 497 498 499

source "drivers/pcmcia/Kconfig"

source "drivers/parport/Kconfig"

endif

endmenu

500 501
source "drivers/base/Kconfig"

502 503 504 505 506 507 508 509
if !IA64_HP_SIM

source "drivers/mtd/Kconfig"

source "drivers/pnp/Kconfig"

source "drivers/block/Kconfig"

David Mosberger's avatar
David Mosberger committed
510 511
source "drivers/ide/Kconfig"

512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583
source "drivers/ieee1394/Kconfig"

source "drivers/message/i2o/Kconfig"

source "drivers/md/Kconfig"

source "drivers/message/fusion/Kconfig"

endif


source "drivers/scsi/Kconfig"

source "net/Kconfig"


if !IA64_HP_SIM

source "net/ax25/Kconfig"

source "drivers/isdn/Kconfig"

source "drivers/cdrom/Kconfig"

#
# input before char - char/joystick depends on it. As does USB.
#
source "drivers/input/Kconfig"

source "drivers/char/Kconfig"

#source drivers/misc/Config.in
source "drivers/media/Kconfig"

endif


menu "Block devices"
	depends on IA64_HP_SIM

config BLK_DEV_LOOP
	tristate "Loopback device support"

config BLK_DEV_NBD
	tristate "Network block device support"
	depends on NET

config BLK_DEV_RAM
	tristate "RAM disk support"

config BLK_DEV_RAM_SIZE
	int "Default RAM disk size"
	depends on BLK_DEV_RAM
	default "4096"

endmenu

source "fs/Kconfig"

if !IA64_HP_SIM

source "drivers/video/Kconfig"

source "sound/Kconfig"

source "drivers/usb/Kconfig"


source "net/bluetooth/Kconfig"

endif

584 585
source "lib/Kconfig"

586 587
source "arch/ia64/hp/sim/Kconfig"

Will Cohen's avatar
Will Cohen committed
588
source "arch/ia64/oprofile/Kconfig"
589 590 591 592 593 594 595 596 597 598

menu "Kernel hacking"

choice
	prompt "Physical memory granularity"
	default IA64_GRANULE_64MB

config IA64_GRANULE_16MB
	bool "16MB"
	help
David Mosberger's avatar
David Mosberger committed
599
	  IA-64 identity-mapped regions use a large page size called "granules".
600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615

	  Select "16MB" for a small granule size.
	  Select "64MB" for a large granule size.  This is the current default.

config IA64_GRANULE_64MB
	bool "64MB"

endchoice

config DEBUG_KERNEL
	bool "Kernel debugging"
	help
	  Say Y here if you are developing drivers or trying to debug and
	  identify kernel problems.

config IA64_PRINT_HAZARDS
David Mosberger's avatar
David Mosberger committed
616
	bool "Print possible IA-64 dependency violations to console"
617 618 619
	depends on DEBUG_KERNEL
	help
	  Selecting this option prints more information for Illegal Dependency
David Mosberger's avatar
David Mosberger committed
620 621 622 623
	  Faults, that is, for Read-after-Write (RAW), Write-after-Write (WAW),
	  or Write-after-Read (WAR) violations.  This option is ignored if you
	  are compiling for an Itanium A step processor
	  (CONFIG_ITANIUM_ASTEP_SPECIFIC).  If you're unsure, select Y.
624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664

config DISABLE_VHPT
	bool "Disable VHPT"
	depends on DEBUG_KERNEL
	help
	  The Virtual Hash Page Table (VHPT) enhances virtual address
	  translation performance.  Normally you want the VHPT active but you
	  can select this option to disable the VHPT for debugging.  If you're
	  unsure, answer N.

config MAGIC_SYSRQ
	bool "Magic SysRq key"
	depends on DEBUG_KERNEL
	help
	  If you say Y here, you will have some control over the system even
	  if the system crashes for example during kernel debugging (e.g., you
	  will be able to flush the buffer cache to disk, reboot the system
	  immediately or dump some status information). This is accomplished
	  by pressing various keys while holding SysRq (Alt+PrintScreen). It
	  also works on a serial console (on PC hardware at least), if you
	  send a BREAK and then within 5 seconds a command keypress. The
	  keys are documented in <file:Documentation/sysrq.txt>. Don't say Y
	  unless you really know what this hack does.

config DEBUG_SLAB
	bool "Debug memory allocations"
	depends on DEBUG_KERNEL
	help
	  Say Y here to have the kernel do limited verification on memory
	  allocation as well as poisoning memory on free to catch use of freed
	  memory.

config DEBUG_SPINLOCK
	bool "Spinlock debugging"
	depends on DEBUG_KERNEL
	help
	  Say Y here and build SMP to catch missing spinlock initialization
	  and certain other kinds of spinlock errors commonly made.  This is
	  best used in conjunction with the NMI watchdog so that spinlock
	  deadlocks are also debuggable.

665 666 667 668
config DEBUG_SPINLOCK_SLEEP
	  bool "Sleep-inside-spinlock checking"
	  help
	    If you say Y here, various routines which may sleep will become very
669
	    noisy if they are called with a spinlock held.
670

671 672 673 674
config IA64_DEBUG_CMPXCHG
	bool "Turn on compare-and-exchange bug checking (slow!)"
	depends on DEBUG_KERNEL
	help
David Mosberger's avatar
David Mosberger committed
675
	  Selecting this option turns on bug checking for the IA-64
676 677 678 679 680 681 682 683
	  compare-and-exchange instructions.  This is slow!  Itaniums
	  from step B3 or later don't have this problem. If you're unsure,
	  select N.

config IA64_DEBUG_IRQ
	bool "Turn on irq debug checks (slow!)"
	depends on DEBUG_KERNEL
	help
David Mosberger's avatar
David Mosberger committed
684
	  Selecting this option turns on bug checking for the IA-64 irq_save
685 686 687
	  and restore instructions.  It's useful for tracking down spinlock
	  problems, but slow!  If you're unsure, select N.

688 689 690 691 692 693 694 695 696
config DEBUG_INFO
	bool "Compile the kernel with debug info"
	depends on DEBUG_KERNEL
	help
          If you say Y here the resulting kernel image will include
	  debugging info resulting in a larger kernel image.
	  Say Y here only if you plan to use gdb to debug the kernel.
	  If you don't debug the kernel, you can say N.
	  
697 698 699 700 701
endmenu

source "security/Kconfig"

source "crypto/Kconfig"