1source "init/Kconfig" 2 3source "kernel/Kconfig.freezer" 4 5menu "Processor type and features" 6 7config IA64 8 bool 9 select ARCH_MIGHT_HAVE_PC_PARPORT 10 select ARCH_MIGHT_HAVE_PC_SERIO 11 select PCI if (!IA64_HP_SIM) 12 select ACPI if (!IA64_HP_SIM) 13 select PM if (!IA64_HP_SIM) 14 select HAVE_UNSTABLE_SCHED_CLOCK 15 select HAVE_IDE 16 select HAVE_OPROFILE 17 select HAVE_KPROBES 18 select HAVE_KRETPROBES 19 select HAVE_FTRACE_MCOUNT_RECORD 20 select HAVE_DYNAMIC_FTRACE if (!ITANIUM) 21 select HAVE_FUNCTION_TRACER 22 select HAVE_DMA_ATTRS 23 select HAVE_KVM 24 select TTY 25 select HAVE_ARCH_TRACEHOOK 26 select HAVE_DMA_API_DEBUG 27 select HAVE_MEMBLOCK 28 select HAVE_MEMBLOCK_NODE_MAP 29 select HAVE_VIRT_CPU_ACCOUNTING 30 select VIRT_TO_BUS 31 select ARCH_DISCARD_MEMBLOCK 32 select GENERIC_IRQ_PROBE 33 select GENERIC_PENDING_IRQ if SMP 34 select GENERIC_IRQ_SHOW 35 select GENERIC_IRQ_LEGACY 36 select ARCH_WANT_OPTIONAL_GPIOLIB 37 select ARCH_HAVE_NMI_SAFE_CMPXCHG 38 select GENERIC_IOMAP 39 select GENERIC_SMP_IDLE_THREAD 40 select ARCH_INIT_TASK 41 select ARCH_TASK_STRUCT_ALLOCATOR 42 select ARCH_THREAD_INFO_ALLOCATOR 43 select ARCH_CLOCKSOURCE_DATA 44 select GENERIC_TIME_VSYSCALL_OLD 45 select SYSCTL_ARCH_UNALIGN_NO_WARN 46 select HAVE_MOD_ARCH_SPECIFIC 47 select MODULES_USE_ELF_RELA 48 select ARCH_USE_CMPXCHG_LOCKREF 49 select HAVE_ARCH_AUDITSYSCALL 50 default y 51 help 52 The Itanium Processor Family is Intel's 64-bit successor to 53 the 32-bit X86 line. The IA-64 Linux project has a home 54 page at <http://www.linuxia64.org/> and a mailing list at 55 <linux-ia64@vger.kernel.org>. 56 57config 64BIT 58 bool 59 select ATA_NONSTANDARD if ATA 60 default y 61 62config ZONE_DMA 63 def_bool y 64 depends on !IA64_SGI_SN2 65 66config QUICKLIST 67 bool 68 default y 69 70config MMU 71 bool 72 default y 73 74config ARCH_DMA_ADDR_T_64BIT 75 def_bool y 76 77config NEED_DMA_MAP_STATE 78 def_bool y 79 80config NEED_SG_DMA_LENGTH 81 def_bool y 82 83config SWIOTLB 84 bool 85 86config STACKTRACE_SUPPORT 87 def_bool y 88 89config GENERIC_LOCKBREAK 90 def_bool n 91 92config RWSEM_XCHGADD_ALGORITHM 93 bool 94 default y 95 96config HUGETLB_PAGE_SIZE_VARIABLE 97 bool 98 depends on HUGETLB_PAGE 99 default y 100 101config GENERIC_CALIBRATE_DELAY 102 bool 103 default y 104 105config HAVE_SETUP_PER_CPU_AREA 106 def_bool y 107 108config DMI 109 bool 110 default y 111 select DMI_SCAN_MACHINE_NON_EFI_FALLBACK 112 113config EFI 114 bool 115 select UCS2_STRING 116 default y 117 118config SCHED_OMIT_FRAME_POINTER 119 bool 120 default y 121 122config IA64_UNCACHED_ALLOCATOR 123 bool 124 select GENERIC_ALLOCATOR 125 126config ARCH_USES_PG_UNCACHED 127 def_bool y 128 depends on IA64_UNCACHED_ALLOCATOR 129 130config AUDIT_ARCH 131 bool 132 default y 133 134menuconfig PARAVIRT_GUEST 135 bool "Paravirtualized guest support" 136 depends on BROKEN 137 help 138 Say Y here to get to see options related to running Linux under 139 various hypervisors. This option alone does not add any kernel code. 140 141 If you say N, all options in this submenu will be skipped and disabled. 142 143if PARAVIRT_GUEST 144 145config PARAVIRT 146 bool "Enable paravirtualization code" 147 depends on PARAVIRT_GUEST 148 default y 149 help 150 This changes the kernel so it can modify itself when it is run 151 under a hypervisor, potentially improving performance significantly 152 over full virtualization. However, when run without a hypervisor 153 the kernel is theoretically slower and slightly larger. 154 155endif 156 157choice 158 prompt "System type" 159 default IA64_GENERIC 160 161config IA64_GENERIC 162 bool "generic" 163 select NUMA 164 select ACPI_NUMA 165 select SWIOTLB 166 select PCI_MSI 167 help 168 This selects the system type of your hardware. A "generic" kernel 169 will run on any supported IA-64 system. However, if you configure 170 a kernel for your specific system, it will be faster and smaller. 171 172 generic For any supported IA-64 system 173 DIG-compliant For DIG ("Developer's Interface Guide") compliant systems 174 DIG+Intel+IOMMU For DIG systems with Intel IOMMU 175 HP-zx1/sx1000 For HP systems 176 HP-zx1/sx1000+swiotlb For HP systems with (broken) DMA-constrained devices. 177 SGI-SN2 For SGI Altix systems 178 SGI-UV For SGI UV systems 179 Ski-simulator For the HP simulator <http://www.hpl.hp.com/research/linux/ski/> 180 181 If you don't know what to do, choose "generic". 182 183config IA64_DIG 184 bool "DIG-compliant" 185 select SWIOTLB 186 187config IA64_DIG_VTD 188 bool "DIG+Intel+IOMMU" 189 select INTEL_IOMMU 190 select PCI_MSI 191 192config IA64_HP_ZX1 193 bool "HP-zx1/sx1000" 194 help 195 Build a kernel that runs on HP zx1 and sx1000 systems. This adds 196 support for the HP I/O MMU. 197 198config IA64_HP_ZX1_SWIOTLB 199 bool "HP-zx1/sx1000 with software I/O TLB" 200 select SWIOTLB 201 help 202 Build a kernel that runs on HP zx1 and sx1000 systems even when they 203 have broken PCI devices which cannot DMA to full 32 bits. Apart 204 from support for the HP I/O MMU, this includes support for the software 205 I/O TLB, which allows supporting the broken devices at the expense of 206 wasting some kernel memory (about 2MB by default). 207 208config IA64_SGI_SN2 209 bool "SGI-SN2" 210 select NUMA 211 select ACPI_NUMA 212 help 213 Selecting this option will optimize the kernel for use on sn2 based 214 systems, but the resulting kernel binary will not run on other 215 types of ia64 systems. If you have an SGI Altix system, it's safe 216 to select this option. If in doubt, select ia64 generic support 217 instead. 218 219config IA64_SGI_UV 220 bool "SGI-UV" 221 select NUMA 222 select ACPI_NUMA 223 select SWIOTLB 224 help 225 Selecting this option will optimize the kernel for use on UV based 226 systems, but the resulting kernel binary will not run on other 227 types of ia64 systems. If you have an SGI UV system, it's safe 228 to select this option. If in doubt, select ia64 generic support 229 instead. 230 231config IA64_HP_SIM 232 bool "Ski-simulator" 233 select SWIOTLB 234 235endchoice 236 237choice 238 prompt "Processor type" 239 default ITANIUM 240 241config ITANIUM 242 bool "Itanium" 243 help 244 Select your IA-64 processor type. The default is Itanium. 245 This choice is safe for all IA-64 systems, but may not perform 246 optimally on systems with, say, Itanium 2 or newer processors. 247 248config MCKINLEY 249 bool "Itanium 2" 250 help 251 Select this to configure for an Itanium 2 (McKinley) processor. 252 253endchoice 254 255choice 256 prompt "Kernel page size" 257 default IA64_PAGE_SIZE_16KB 258 259config IA64_PAGE_SIZE_4KB 260 bool "4KB" 261 help 262 This lets you select the page size of the kernel. For best IA-64 263 performance, a page size of 8KB or 16KB is recommended. For best 264 IA-32 compatibility, a page size of 4KB should be selected (the vast 265 majority of IA-32 binaries work perfectly fine with a larger page 266 size). For Itanium 2 or newer systems, a page size of 64KB can also 267 be selected. 268 269 4KB For best IA-32 compatibility 270 8KB For best IA-64 performance 271 16KB For best IA-64 performance 272 64KB Requires Itanium 2 or newer processor. 273 274 If you don't know what to do, choose 16KB. 275 276config IA64_PAGE_SIZE_8KB 277 bool "8KB" 278 279config IA64_PAGE_SIZE_16KB 280 bool "16KB" 281 282config IA64_PAGE_SIZE_64KB 283 depends on !ITANIUM 284 bool "64KB" 285 286endchoice 287 288choice 289 prompt "Page Table Levels" 290 default PGTABLE_3 291 292config PGTABLE_3 293 bool "3 Levels" 294 295config PGTABLE_4 296 depends on !IA64_PAGE_SIZE_64KB 297 bool "4 Levels" 298 299endchoice 300 301if IA64_HP_SIM 302config HZ 303 default 32 304endif 305 306if !IA64_HP_SIM 307source kernel/Kconfig.hz 308endif 309 310config IA64_BRL_EMU 311 bool 312 depends on ITANIUM 313 default y 314 315# align cache-sensitive data to 128 bytes 316config IA64_L1_CACHE_SHIFT 317 int 318 default "7" if MCKINLEY 319 default "6" if ITANIUM 320 321config IA64_CYCLONE 322 bool "Cyclone (EXA) Time Source support" 323 help 324 Say Y here to enable support for IBM EXA Cyclone time source. 325 If you're unsure, answer N. 326 327config IOSAPIC 328 bool 329 depends on !IA64_HP_SIM 330 default y 331 332config FORCE_MAX_ZONEORDER 333 int "MAX_ORDER (11 - 17)" if !HUGETLB_PAGE 334 range 11 17 if !HUGETLB_PAGE 335 default "17" if HUGETLB_PAGE 336 default "11" 337 338config SMP 339 bool "Symmetric multi-processing support" 340 help 341 This enables support for systems with more than one CPU. If you have 342 a system with only one CPU, say N. If you have a system with more 343 than one CPU, say Y. 344 345 If you say N here, the kernel will run on single and multiprocessor 346 systems, but will use only one CPU of a multiprocessor system. If 347 you say Y here, the kernel will run on many, but not all, 348 single processor systems. On a single processor system, the kernel 349 will run faster if you say N here. 350 351 See also the SMP-HOWTO available at 352 <http://www.tldp.org/docs.html#howto>. 353 354 If you don't know what to do here, say N. 355 356config NR_CPUS 357 int "Maximum number of CPUs (2-4096)" 358 range 2 4096 359 depends on SMP 360 default "4096" 361 help 362 You should set this to the number of CPUs in your system, but 363 keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but 364 only use 2 CPUs on a >2 CPU system. Setting this to a value larger 365 than 64 will cause the use of a CPU mask array, causing a small 366 performance hit. 367 368config HOTPLUG_CPU 369 bool "Support for hot-pluggable CPUs" 370 depends on SMP 371 default n 372 ---help--- 373 Say Y here to experiment with turning CPUs off and on. CPUs 374 can be controlled through /sys/devices/system/cpu/cpu#. 375 Say N if you want to disable CPU hotplug. 376 377config ARCH_ENABLE_MEMORY_HOTPLUG 378 def_bool y 379 380config ARCH_ENABLE_MEMORY_HOTREMOVE 381 def_bool y 382 383config SCHED_SMT 384 bool "SMT scheduler support" 385 depends on SMP 386 help 387 Improves the CPU scheduler's decision making when dealing with 388 Intel IA64 chips with MultiThreading at a cost of slightly increased 389 overhead in some places. If unsure say N here. 390 391config PERMIT_BSP_REMOVE 392 bool "Support removal of Bootstrap Processor" 393 depends on HOTPLUG_CPU 394 default n 395 ---help--- 396 Say Y here if your platform SAL will support removal of BSP with HOTPLUG_CPU 397 support. 398 399config FORCE_CPEI_RETARGET 400 bool "Force assumption that CPEI can be re-targeted" 401 depends on PERMIT_BSP_REMOVE 402 default n 403 ---help--- 404 Say Y if you need to force the assumption that CPEI can be re-targeted to 405 any cpu in the system. This hint is available via ACPI 3.0 specifications. 406 Tiger4 systems are capable of re-directing CPEI to any CPU other than BSP. 407 This option it useful to enable this feature on older BIOS's as well. 408 You can also enable this by using boot command line option force_cpei=1. 409 410source "kernel/Kconfig.preempt" 411 412source "mm/Kconfig" 413 414config ARCH_SELECT_MEMORY_MODEL 415 def_bool y 416 417config ARCH_DISCONTIGMEM_ENABLE 418 def_bool y 419 help 420 Say Y to support efficient handling of discontiguous physical memory, 421 for architectures which are either NUMA (Non-Uniform Memory Access) 422 or have huge holes in the physical address space for other reasons. 423 See <file:Documentation/vm/numa> for more. 424 425config ARCH_FLATMEM_ENABLE 426 def_bool y 427 428config ARCH_SPARSEMEM_ENABLE 429 def_bool y 430 depends on ARCH_DISCONTIGMEM_ENABLE 431 select SPARSEMEM_VMEMMAP_ENABLE 432 433config ARCH_DISCONTIGMEM_DEFAULT 434 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC || IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB) 435 depends on ARCH_DISCONTIGMEM_ENABLE 436 437config NUMA 438 bool "NUMA support" 439 depends on !IA64_HP_SIM && !FLATMEM 440 default y if IA64_SGI_SN2 441 select ACPI_NUMA if ACPI 442 help 443 Say Y to compile the kernel to support NUMA (Non-Uniform Memory 444 Access). This option is for configuring high-end multiprocessor 445 server systems. If in doubt, say N. 446 447config NODES_SHIFT 448 int "Max num nodes shift(3-10)" 449 range 3 10 450 default "10" 451 depends on NEED_MULTIPLE_NODES 452 help 453 This option specifies the maximum number of nodes in your SSI system. 454 MAX_NUMNODES will be 2^(This value). 455 If in doubt, use the default. 456 457# VIRTUAL_MEM_MAP and FLAT_NODE_MEM_MAP are functionally equivalent. 458# VIRTUAL_MEM_MAP has been retained for historical reasons. 459config VIRTUAL_MEM_MAP 460 bool "Virtual mem map" 461 depends on !SPARSEMEM 462 default y if !IA64_HP_SIM 463 help 464 Say Y to compile the kernel with support for a virtual mem map. 465 This code also only takes effect if a memory hole of greater than 466 1 Gb is found during boot. You must turn this option on if you 467 require the DISCONTIGMEM option for your machine. If you are 468 unsure, say Y. 469 470config HOLES_IN_ZONE 471 bool 472 default y if VIRTUAL_MEM_MAP 473 474config HAVE_ARCH_EARLY_PFN_TO_NID 475 def_bool NUMA && SPARSEMEM 476 477config HAVE_ARCH_NODEDATA_EXTENSION 478 def_bool y 479 depends on NUMA 480 481config USE_PERCPU_NUMA_NODE_ID 482 def_bool y 483 depends on NUMA 484 485config HAVE_MEMORYLESS_NODES 486 def_bool NUMA 487 488config ARCH_PROC_KCORE_TEXT 489 def_bool y 490 depends on PROC_KCORE 491 492config IA64_MCA_RECOVERY 493 tristate "MCA recovery from errors other than TLB." 494 495config PERFMON 496 bool "Performance monitor support" 497 help 498 Selects whether support for the IA-64 performance monitor hardware 499 is included in the kernel. This makes some kernel data-structures a 500 little bigger and slows down execution a bit, but it is generally 501 a good idea to turn this on. If you're unsure, say Y. 502 503config IA64_PALINFO 504 tristate "/proc/pal support" 505 help 506 If you say Y here, you are able to get PAL (Processor Abstraction 507 Layer) information in /proc/pal. This contains useful information 508 about the processors in your systems, such as cache and TLB sizes 509 and the PAL firmware version in use. 510 511 To use this option, you have to ensure that the "/proc file system 512 support" (CONFIG_PROC_FS) is enabled, too. 513 514config IA64_MC_ERR_INJECT 515 tristate "MC error injection support" 516 help 517 Adds support for MC error injection. If enabled, the kernel 518 will provide a sysfs interface for user applications to 519 call MC error injection PAL procedures to inject various errors. 520 This is a useful tool for MCA testing. 521 522 If you're unsure, do not select this option. 523 524config SGI_SN 525 def_bool y if (IA64_SGI_SN2 || IA64_GENERIC) 526 527config IA64_ESI 528 bool "ESI (Extensible SAL Interface) support" 529 help 530 If you say Y here, support is built into the kernel to 531 make ESI calls. ESI calls are used to support vendor-specific 532 firmware extensions, such as the ability to inject memory-errors 533 for test-purposes. If you're unsure, say N. 534 535config IA64_HP_AML_NFW 536 bool "Support ACPI AML calls to native firmware" 537 help 538 This driver installs a global ACPI Operation Region handler for 539 region 0xA1. AML methods can use this OpRegion to call arbitrary 540 native firmware functions. The driver installs the OpRegion 541 handler if there is an HPQ5001 device or if the user supplies 542 the "force" module parameter, e.g., with the "aml_nfw.force" 543 kernel command line option. 544 545source "drivers/sn/Kconfig" 546 547config KEXEC 548 bool "kexec system call" 549 depends on !IA64_HP_SIM && (!SMP || HOTPLUG_CPU) 550 help 551 kexec is a system call that implements the ability to shutdown your 552 current kernel, and to start another kernel. It is like a reboot 553 but it is independent of the system firmware. And like a reboot 554 you can start any kernel with it, not just Linux. 555 556 The name comes from the similarity to the exec system call. 557 558 It is an ongoing process to be certain the hardware in a machine 559 is properly shutdown, so do not be surprised if this code does not 560 initially work for you. As of this writing the exact hardware 561 interface is strongly in flux, so no good recommendation can be 562 made. 563 564config CRASH_DUMP 565 bool "kernel crash dumps" 566 depends on IA64_MCA_RECOVERY && !IA64_HP_SIM && (!SMP || HOTPLUG_CPU) 567 help 568 Generate crash dump after being started by kexec. 569 570source "drivers/firmware/Kconfig" 571 572source "fs/Kconfig.binfmt" 573 574endmenu 575 576menu "Power management and ACPI options" 577 578source "kernel/power/Kconfig" 579 580source "drivers/acpi/Kconfig" 581 582if PM 583menu "CPU Frequency scaling" 584source "drivers/cpufreq/Kconfig" 585endmenu 586endif 587 588endmenu 589 590if !IA64_HP_SIM 591 592menu "Bus options (PCI, PCMCIA)" 593 594config PCI 595 bool "PCI support" 596 help 597 Real IA-64 machines all have PCI/PCI-X/PCI Express busses. Say Y 598 here unless you are using a simulator without PCI support. 599 600config PCI_DOMAINS 601 def_bool PCI 602 603config PCI_SYSCALL 604 def_bool PCI 605 606source "drivers/pci/pcie/Kconfig" 607 608source "drivers/pci/Kconfig" 609 610source "drivers/pci/hotplug/Kconfig" 611 612source "drivers/pcmcia/Kconfig" 613 614endmenu 615 616endif 617 618source "net/Kconfig" 619 620source "drivers/Kconfig" 621 622source "arch/ia64/hp/sim/Kconfig" 623 624config MSPEC 625 tristate "Memory special operations driver" 626 depends on IA64 627 select IA64_UNCACHED_ALLOCATOR 628 help 629 If you have an ia64 and you want to enable memory special 630 operations support (formerly known as fetchop), say Y here, 631 otherwise say N. 632 633source "fs/Kconfig" 634 635source "arch/ia64/Kconfig.debug" 636 637source "security/Kconfig" 638 639source "crypto/Kconfig" 640 641source "arch/ia64/kvm/Kconfig" 642 643source "lib/Kconfig" 644 645config IOMMU_HELPER 646 def_bool (IA64_HP_ZX1 || IA64_HP_ZX1_SWIOTLB || IA64_GENERIC || SWIOTLB) 647