Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. # Note: ISA is disabled and will hopefully never be enabled.
  6. # If you managed to buy an ISA x86-64 box you'll have to fix all the
  7. # ISA drivers you need yourself.
  8. #
  9. mainmenu "Linux Kernel Configuration"
  10. config X86_64
  11. bool
  12. default y
  13. help
  14. Port to the x86-64 architecture. x86-64 is a 64-bit extension to the
  15. classical 32-bit x86 architecture. For details see
  16. <http://www.x86-64.org/>.
  17. config 64BIT
  18. def_bool y
  19. config X86
  20. bool
  21. default y
  22. config GENERIC_TIME
  23. bool
  24. default y
  25. config GENERIC_TIME_VSYSCALL
  26. bool
  27. default y
  28. config GENERIC_CMOS_UPDATE
  29. bool
  30. default y
  31. config CLOCKSOURCE_WATCHDOG
  32. bool
  33. default y
  34. config GENERIC_CLOCKEVENTS
  35. bool
  36. default y
  37. config GENERIC_CLOCKEVENTS_BROADCAST
  38. bool
  39. default y
  40. config ZONE_DMA32
  41. bool
  42. default y
  43. config LOCKDEP_SUPPORT
  44. bool
  45. default y
  46. config STACKTRACE_SUPPORT
  47. bool
  48. default y
  49. config SEMAPHORE_SLEEPERS
  50. bool
  51. default y
  52. config MMU
  53. bool
  54. default y
  55. config ZONE_DMA
  56. bool
  57. default y
  58. config ISA
  59. bool
  60. config SBUS
  61. bool
  62. config RWSEM_GENERIC_SPINLOCK
  63. bool
  64. default y
  65. config RWSEM_XCHGADD_ALGORITHM
  66. bool
  67. config GENERIC_HWEIGHT
  68. bool
  69. default y
  70. config GENERIC_CALIBRATE_DELAY
  71. bool
  72. default y
  73. config X86_CMPXCHG
  74. bool
  75. default y
  76. config EARLY_PRINTK
  77. bool
  78. default y
  79. config GENERIC_ISA_DMA
  80. bool
  81. default y
  82. config GENERIC_IOMAP
  83. bool
  84. default y
  85. config ARCH_MAY_HAVE_PC_FDC
  86. bool
  87. default y
  88. config ARCH_POPULATES_NODE_MAP
  89. def_bool y
  90. config DMI
  91. bool
  92. default y
  93. config AUDIT_ARCH
  94. bool
  95. default y
  96. config GENERIC_BUG
  97. bool
  98. default y
  99. depends on BUG
  100. config ARCH_HAS_ILOG2_U32
  101. bool
  102. default n
  103. config ARCH_HAS_ILOG2_U64
  104. bool
  105. default n
  106. source "init/Kconfig"
  107. menu "Processor type and features"
  108. source "kernel/time/Kconfig"
  109. choice
  110. prompt "Subarchitecture Type"
  111. default X86_PC
  112. config X86_PC
  113. bool "PC-compatible"
  114. help
  115. Choose this option if your computer is a standard PC or compatible.
  116. config X86_VSMP
  117. bool "Support for ScaleMP vSMP"
  118. depends on PCI
  119. help
  120. Support for ScaleMP vSMP systems. Say 'Y' here if this kernel is
  121. supposed to run on these EM64T-based machines. Only choose this option
  122. if you have one of these machines.
  123. endchoice
  124. choice
  125. prompt "Processor family"
  126. default GENERIC_CPU
  127. config MK8
  128. bool "AMD-Opteron/Athlon64"
  129. help
  130. Optimize for AMD Opteron/Athlon64/Hammer/K8 CPUs.
  131. config MPSC
  132. bool "Intel P4 / older Netburst based Xeon"
  133. help
  134. Optimize for Intel Pentium 4, Pentium D and older Nocona/Dempsey
  135. Xeon CPUs with Intel 64bit which is compatible with x86-64.
  136. Note that the latest Xeons (Xeon 51xx and 53xx) are not based on the
  137. Netburst core and shouldn't use this option. You can distinguish them
  138. using the cpu family field
  139. in /proc/cpuinfo. Family 15 is an older Xeon, Family 6 a newer one.
  140. config MCORE2
  141. bool "Intel Core2 / newer Xeon"
  142. help
  143. Optimize for Intel Core2 and newer Xeons (51xx)
  144. You can distinguish the newer Xeons from the older ones using
  145. the cpu family field in /proc/cpuinfo. 15 is an older Xeon
  146. (use CONFIG_MPSC then), 6 is a newer one.
  147. config GENERIC_CPU
  148. bool "Generic-x86-64"
  149. help
  150. Generic x86-64 CPU.
  151. Run equally well on all x86-64 CPUs.
  152. endchoice
  153. #
  154. # Define implied options from the CPU selection here
  155. #
  156. config X86_L1_CACHE_BYTES
  157. int
  158. default "128" if GENERIC_CPU || MPSC
  159. default "64" if MK8 || MCORE2
  160. config X86_L1_CACHE_SHIFT
  161. int
  162. default "7" if GENERIC_CPU || MPSC
  163. default "6" if MK8 || MCORE2
  164. config X86_INTERNODE_CACHE_BYTES
  165. int
  166. default "4096" if X86_VSMP
  167. default X86_L1_CACHE_BYTES if !X86_VSMP
  168. config X86_TSC
  169. bool
  170. default y
  171. config X86_GOOD_APIC
  172. bool
  173. default y
  174. config MICROCODE
  175. tristate "/dev/cpu/microcode - Intel CPU microcode support"
  176. select FW_LOADER
  177. ---help---
  178. If you say Y here the 'File systems' section, you will be
  179. able to update the microcode on Intel processors. You will
  180. obviously need the actual microcode binary data itself which is
  181. not shipped with the Linux kernel.
  182. For latest news and information on obtaining all the required
  183. ingredients for this driver, check:
  184. <http://www.urbanmyth.org/microcode/>.
  185. To compile this driver as a module, choose M here: the
  186. module will be called microcode.
  187. If you use modprobe or kmod you may also want to add the line
  188. 'alias char-major-10-184 microcode' to your /etc/modules.conf file.
  189. config MICROCODE_OLD_INTERFACE
  190. bool
  191. depends on MICROCODE
  192. default y
  193. config X86_MSR
  194. tristate "/dev/cpu/*/msr - Model-specific register support"
  195. help
  196. This device gives privileged processes access to the x86
  197. Model-Specific Registers (MSRs). It is a character device with
  198. major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
  199. MSR accesses are directed to a specific CPU on multi-processor
  200. systems.
  201. config X86_CPUID
  202. tristate "/dev/cpu/*/cpuid - CPU information support"
  203. help
  204. This device gives processes access to the x86 CPUID instruction to
  205. be executed on a specific processor. It is a character device
  206. with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
  207. /dev/cpu/31/cpuid.
  208. config X86_HT
  209. bool
  210. depends on SMP && !MK8
  211. default y
  212. config MATH_EMULATION
  213. bool
  214. config MCA
  215. bool
  216. config EISA
  217. bool
  218. config X86_IO_APIC
  219. bool
  220. default y
  221. config X86_LOCAL_APIC
  222. bool
  223. default y
  224. config MTRR
  225. bool "MTRR (Memory Type Range Register) support"
  226. ---help---
  227. On Intel P6 family processors (Pentium Pro, Pentium II and later)
  228. the Memory Type Range Registers (MTRRs) may be used to control
  229. processor access to memory ranges. This is most useful if you have
  230. a video (VGA) card on a PCI or AGP bus. Enabling write-combining
  231. allows bus write transfers to be combined into a larger transfer
  232. before bursting over the PCI/AGP bus. This can increase performance
  233. of image write operations 2.5 times or more. Saying Y here creates a
  234. /proc/mtrr file which may be used to manipulate your processor's
  235. MTRRs. Typically the X server should use this.
  236. This code has a reasonably generic interface so that similar
  237. control registers on other processors can be easily supported
  238. as well.
  239. Saying Y here also fixes a problem with buggy SMP BIOSes which only
  240. set the MTRRs for the boot CPU and not for the secondary CPUs. This
  241. can lead to all sorts of problems, so it's good to say Y here.
  242. Just say Y here, all x86-64 machines support MTRRs.
  243. See <file:Documentation/mtrr.txt> for more information.
  244. config SMP
  245. bool "Symmetric multi-processing support"
  246. ---help---
  247. This enables support for systems with more than one CPU. If you have
  248. a system with only one CPU, like most personal computers, say N. If
  249. you have a system with more than one CPU, say Y.
  250. If you say N here, the kernel will run on single and multiprocessor
  251. machines, but will use only one CPU of a multiprocessor machine. If
  252. you say Y here, the kernel will run on many, but not all,
  253. singleprocessor machines. On a singleprocessor machine, the kernel
  254. will run faster if you say N here.
  255. If you don't know what to do here, say N.
  256. config SCHED_SMT
  257. bool "SMT (Hyperthreading) scheduler support"
  258. depends on SMP
  259. default n
  260. help
  261. SMT scheduler support improves the CPU scheduler's decision making
  262. when dealing with Intel Pentium 4 chips with HyperThreading at a
  263. cost of slightly increased overhead in some places. If unsure say
  264. N here.
  265. config SCHED_MC
  266. bool "Multi-core scheduler support"
  267. depends on SMP
  268. default y
  269. help
  270. Multi-core scheduler support improves the CPU scheduler's decision
  271. making when dealing with multi-core CPU chips at a cost of slightly
  272. increased overhead in some places. If unsure say N here.
  273. source "kernel/Kconfig.preempt"
  274. config NUMA
  275. bool "Non Uniform Memory Access (NUMA) Support"
  276. depends on SMP
  277. help
  278. Enable NUMA (Non Uniform Memory Access) support. The kernel
  279. will try to allocate memory used by a CPU on the local memory
  280. controller of the CPU and add some more NUMA awareness to the kernel.
  281. This code is recommended on all multiprocessor Opteron systems.
  282. If the system is EM64T, you should say N unless your system is EM64T
  283. NUMA.
  284. config K8_NUMA
  285. bool "Old style AMD Opteron NUMA detection"
  286. depends on NUMA && PCI
  287. default y
  288. help
  289. Enable K8 NUMA node topology detection. You should say Y here if
  290. you have a multi processor AMD K8 system. This uses an old
  291. method to read the NUMA configuration directly from the builtin
  292. Northbridge of Opteron. It is recommended to use X86_64_ACPI_NUMA
  293. instead, which also takes priority if both are compiled in.
  294. config NODES_SHIFT
  295. int
  296. default "6"
  297. depends on NEED_MULTIPLE_NODES
  298. # Dummy CONFIG option to select ACPI_NUMA from drivers/acpi/Kconfig.
  299. config X86_64_ACPI_NUMA
  300. bool "ACPI NUMA detection"
  301. depends on NUMA
  302. select ACPI
  303. select PCI
  304. select ACPI_NUMA
  305. default y
  306. help
  307. Enable ACPI SRAT based node topology detection.
  308. config NUMA_EMU
  309. bool "NUMA emulation"
  310. depends on NUMA
  311. help
  312. Enable NUMA emulation. A flat machine will be split
  313. into virtual nodes when booted with "numa=fake=N", where N is the
  314. number of nodes. This is only useful for debugging.
  315. config ARCH_DISCONTIGMEM_ENABLE
  316. bool
  317. depends on NUMA
  318. default y
  319. config ARCH_DISCONTIGMEM_DEFAULT
  320. def_bool y
  321. depends on NUMA
  322. config ARCH_SPARSEMEM_ENABLE
  323. def_bool y
  324. depends on (NUMA || EXPERIMENTAL)
  325. select SPARSEMEM_VMEMMAP_ENABLE
  326. config ARCH_MEMORY_PROBE
  327. def_bool y
  328. depends on MEMORY_HOTPLUG
  329. config ARCH_FLATMEM_ENABLE
  330. def_bool y
  331. depends on !NUMA
  332. source "mm/Kconfig"
  333. config MEMORY_HOTPLUG_RESERVE
  334. def_bool y
  335. depends on (MEMORY_HOTPLUG && DISCONTIGMEM)
  336. config HAVE_ARCH_EARLY_PFN_TO_NID
  337. def_bool y
  338. depends on NUMA
  339. config OUT_OF_LINE_PFN_TO_PAGE
  340. def_bool y
  341. depends on DISCONTIGMEM
  342. config NR_CPUS
  343. int "Maximum number of CPUs (2-255)"
  344. range 2 255
  345. depends on SMP
  346. default "8"
  347. help
  348. This allows you to specify the maximum number of CPUs which this
  349. kernel will support. Current maximum is 255 CPUs due to
  350. APIC addressing limits. Less depending on the hardware.
  351. This is purely to save memory - each supported CPU requires
  352. memory in the static kernel configuration.
  353. config PHYSICAL_ALIGN
  354. hex
  355. default "0x200000"
  356. config HOTPLUG_CPU
  357. bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
  358. depends on SMP && HOTPLUG && EXPERIMENTAL
  359. help
  360. Say Y here to experiment with turning CPUs off and on. CPUs
  361. can be controlled through /sys/devices/system/cpu/cpu#.
  362. This is also required for suspend/hibernation on SMP systems.
  363. Say N if you want to disable CPU hotplug and don't need to
  364. suspend.
  365. config ARCH_ENABLE_MEMORY_HOTPLUG
  366. def_bool y
  367. config HPET_TIMER
  368. bool
  369. default y
  370. help
  371. Use the IA-PC HPET (High Precision Event Timer) to manage
  372. time in preference to the PIT and RTC, if a HPET is
  373. present. The HPET provides a stable time base on SMP
  374. systems, unlike the TSC, but it is more expensive to access,
  375. as it is off-chip. You can find the HPET spec at
  376. <http://www.intel.com/hardwaredesign/hpetspec.htm>.
  377. config HPET_EMULATE_RTC
  378. bool
  379. depends on HPET_TIMER && RTC=y
  380. default y
  381. # Mark as embedded because too many people got it wrong.
  382. # The code disables itself when not needed.
  383. config IOMMU
  384. bool "IOMMU support" if EMBEDDED
  385. default y
  386. select SWIOTLB
  387. select AGP
  388. depends on PCI
  389. help
  390. Support for full DMA access of devices with 32bit memory access only
  391. on systems with more than 3GB. This is usually needed for USB,
  392. sound, many IDE/SATA chipsets and some other devices.
  393. Provides a driver for the AMD Athlon64/Opteron/Turion/Sempron GART
  394. based hardware IOMMU and a software bounce buffer based IOMMU used
  395. on Intel systems and as fallback.
  396. The code is only active when needed (enough memory and limited
  397. device) unless CONFIG_IOMMU_DEBUG or iommu=force is specified
  398. too.
  399. config CALGARY_IOMMU
  400. bool "IBM Calgary IOMMU support"
  401. select SWIOTLB
  402. depends on PCI && EXPERIMENTAL
  403. help
  404. Support for hardware IOMMUs in IBM's xSeries x366 and x460
  405. systems. Needed to run systems with more than 3GB of memory
  406. properly with 32-bit PCI devices that do not support DAC
  407. (Double Address Cycle). Calgary also supports bus level
  408. isolation, where all DMAs pass through the IOMMU. This
  409. prevents them from going anywhere except their intended
  410. destination. This catches hard-to-find kernel bugs and
  411. mis-behaving drivers and devices that do not use the DMA-API
  412. properly to set up their DMA buffers. The IOMMU can be
  413. turned off at boot time with the iommu=off parameter.
  414. Normally the kernel will make the right choice by itself.
  415. If unsure, say Y.
  416. config CALGARY_IOMMU_ENABLED_BY_DEFAULT
  417. bool "Should Calgary be enabled by default?"
  418. default y
  419. depends on CALGARY_IOMMU
  420. help
  421. Should Calgary be enabled by default? if you choose 'y', Calgary
  422. will be used (if it exists). If you choose 'n', Calgary will not be
  423. used even if it exists. If you choose 'n' and would like to use
  424. Calgary anyway, pass 'iommu=calgary' on the kernel command line.
  425. If unsure, say Y.
  426. # need this always selected by IOMMU for the VIA workaround
  427. config SWIOTLB
  428. bool
  429. help
  430. Support for software bounce buffers used on x86-64 systems
  431. which don't have a hardware IOMMU (e.g. the current generation
  432. of Intel's x86-64 CPUs). Using this PCI devices which can only
  433. access 32-bits of memory can be used on systems with more than
  434. 3 GB of memory. If unsure, say Y.
  435. config X86_MCE
  436. bool "Machine check support" if EMBEDDED
  437. default y
  438. help
  439. Include a machine check error handler to report hardware errors.
  440. This version will require the mcelog utility to decode some
  441. machine check error logs. See
  442. ftp://ftp.x86-64.org/pub/linux/tools/mcelog
  443. config X86_MCE_INTEL
  444. bool "Intel MCE features"
  445. depends on X86_MCE && X86_LOCAL_APIC
  446. default y
  447. help
  448. Additional support for intel specific MCE features such as
  449. the thermal monitor.
  450. config X86_MCE_AMD
  451. bool "AMD MCE features"
  452. depends on X86_MCE && X86_LOCAL_APIC
  453. default y
  454. help
  455. Additional support for AMD specific MCE features such as
  456. the DRAM Error Threshold.
  457. config KEXEC
  458. bool "kexec system call"
  459. help
  460. kexec is a system call that implements the ability to shutdown your
  461. current kernel, and to start another kernel. It is like a reboot
  462. but it is independent of the system firmware. And like a reboot
  463. you can start any kernel with it, not just Linux.
  464. The name comes from the similarity to the exec system call.
  465. It is an ongoing process to be certain the hardware in a machine
  466. is properly shutdown, so do not be surprised if this code does not
  467. initially work for you. It may help to enable device hotplugging
  468. support. As of this writing the exact hardware interface is
  469. strongly in flux, so no good recommendation can be made.
  470. config CRASH_DUMP
  471. bool "kernel crash dumps (EXPERIMENTAL)"
  472. depends on EXPERIMENTAL
  473. help
  474. Generate crash dump after being started by kexec.
  475. This should be normally only set in special crash dump kernels
  476. which are loaded in the main kernel with kexec-tools into
  477. a specially reserved region and then later executed after
  478. a crash by kdump/kexec. The crash dump kernel must be compiled
  479. to a memory address not used by the main kernel or BIOS using
  480. PHYSICAL_START, or it must be built as a relocatable image
  481. (CONFIG_RELOCATABLE=y).
  482. For more details see Documentation/kdump/kdump.txt
  483. config RELOCATABLE
  484. bool "Build a relocatable kernel (EXPERIMENTAL)"
  485. depends on EXPERIMENTAL
  486. help
  487. Builds a relocatable kernel. This enables loading and running
  488. a kernel binary from a different physical address than it has
  489. been compiled for.
  490. One use is for the kexec on panic case where the recovery kernel
  491. must live at a different physical address than the primary
  492. kernel.
  493. Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
  494. it has been loaded at and the compile time physical address
  495. (CONFIG_PHYSICAL_START) is ignored.
  496. config PHYSICAL_START
  497. hex "Physical address where the kernel is loaded" if (EMBEDDED || CRASH_DUMP)
  498. default "0x200000"
  499. help
  500. This gives the physical address where the kernel is loaded. It
  501. should be aligned to 2MB boundary.
  502. If kernel is a not relocatable (CONFIG_RELOCATABLE=n) then
  503. bzImage will decompress itself to above physical address and
  504. run from there. Otherwise, bzImage will run from the address where
  505. it has been loaded by the boot loader and will ignore above physical
  506. address.
  507. In normal kdump cases one does not have to set/change this option
  508. as now bzImage can be compiled as a completely relocatable image
  509. (CONFIG_RELOCATABLE=y) and be used to load and run from a different
  510. address. This option is mainly useful for the folks who don't want
  511. to use a bzImage for capturing the crash dump and want to use a
  512. vmlinux instead.
  513. So if you are using bzImage for capturing the crash dump, leave
  514. the value here unchanged to 0x200000 and set CONFIG_RELOCATABLE=y.
  515. Otherwise if you plan to use vmlinux for capturing the crash dump
  516. change this value to start of the reserved region (Typically 16MB
  517. 0x1000000). In other words, it can be set based on the "X" value as
  518. specified in the "crashkernel=YM@XM" command line boot parameter
  519. passed to the panic-ed kernel. Typically this parameter is set as
  520. crashkernel=64M@16M. Please take a look at
  521. Documentation/kdump/kdump.txt for more details about crash dumps.
  522. Usage of bzImage for capturing the crash dump is advantageous as
  523. one does not have to build two kernels. Same kernel can be used
  524. as production kernel and capture kernel.
  525. Don't change this unless you know what you are doing.
  526. config SECCOMP
  527. bool "Enable seccomp to safely compute untrusted bytecode"
  528. depends on PROC_FS
  529. default y
  530. help
  531. This kernel feature is useful for number crunching applications
  532. that may need to compute untrusted bytecode during their
  533. execution. By using pipes or other transports made available to
  534. the process as file descriptors supporting the read/write
  535. syscalls, it's possible to isolate those applications in
  536. their own address space using seccomp. Once seccomp is
  537. enabled via /proc/<pid>/seccomp, it cannot be disabled
  538. and the task is only allowed to execute a few safe syscalls
  539. defined by each seccomp mode.
  540. If unsure, say Y. Only embedded should say N here.
  541. config CC_STACKPROTECTOR
  542. bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
  543. depends on EXPERIMENTAL
  544. help
  545. This option turns on the -fstack-protector GCC feature. This
  546. feature puts, at the beginning of critical functions, a canary
  547. value on the stack just before the return address, and validates
  548. the value just before actually returning. Stack based buffer
  549. overflows (that need to overwrite this return address) now also
  550. overwrite the canary, which gets detected and the attack is then
  551. neutralized via a kernel panic.
  552. This feature requires gcc version 4.2 or above, or a distribution
  553. gcc with the feature backported. Older versions are automatically
  554. detected and for those versions, this configuration option is ignored.
  555. config CC_STACKPROTECTOR_ALL
  556. bool "Use stack-protector for all functions"
  557. depends on CC_STACKPROTECTOR
  558. help
  559. Normally, GCC only inserts the canary value protection for
  560. functions that use large-ish on-stack buffers. By enabling
  561. this option, GCC will be asked to do this for ALL functions.
  562. source kernel/Kconfig.hz
  563. config K8_NB
  564. def_bool y
  565. depends on AGP_AMD64 || IOMMU || (PCI && NUMA)
  566. endmenu
  567. #
  568. # Use the generic interrupt handling code in kernel/irq/:
  569. #
  570. config GENERIC_HARDIRQS
  571. bool
  572. default y
  573. config GENERIC_IRQ_PROBE
  574. bool
  575. default y
  576. # we have no ISA slots, but we do have ISA-style DMA.
  577. config ISA_DMA_API
  578. bool
  579. default y
  580. config GENERIC_PENDING_IRQ
  581. bool
  582. depends on GENERIC_HARDIRQS && SMP
  583. default y
  584. menu "Power management options"
  585. source kernel/power/Kconfig
  586. config ARCH_HIBERNATION_HEADER
  587. bool
  588. depends on HIBERNATION
  589. default y
  590. source "drivers/acpi/Kconfig"
  591. source "arch/x86/kernel/cpufreq/Kconfig"
  592. endmenu
  593. menu "Bus options (PCI etc.)"
  594. config PCI
  595. bool "PCI support"
  596. select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC)
  597. # x86-64 doesn't support PCI BIOS access from long mode so always go direct.
  598. config PCI_DIRECT
  599. bool
  600. depends on PCI
  601. default y
  602. config PCI_MMCONFIG
  603. bool "Support mmconfig PCI config space access"
  604. depends on PCI && ACPI
  605. config PCI_DOMAINS
  606. bool
  607. depends on PCI
  608. default y
  609. source "drivers/pci/pcie/Kconfig"
  610. source "drivers/pci/Kconfig"
  611. source "drivers/pcmcia/Kconfig"
  612. source "drivers/pci/hotplug/Kconfig"
  613. endmenu
  614. menu "Executable file formats / Emulations"
  615. source "fs/Kconfig.binfmt"
  616. config IA32_EMULATION
  617. bool "IA32 Emulation"
  618. help
  619. Include code to run 32-bit programs under a 64-bit kernel. You should likely
  620. turn this on, unless you're 100% sure that you don't have any 32-bit programs
  621. left.
  622. config IA32_AOUT
  623. tristate "IA32 a.out support"
  624. depends on IA32_EMULATION
  625. help
  626. Support old a.out binaries in the 32bit emulation.
  627. config COMPAT
  628. bool
  629. depends on IA32_EMULATION
  630. default y
  631. config COMPAT_FOR_U64_ALIGNMENT
  632. def_bool COMPAT
  633. config SYSVIPC_COMPAT
  634. bool
  635. depends on COMPAT && SYSVIPC
  636. default y
  637. endmenu
  638. source "net/Kconfig"
  639. source drivers/Kconfig
  640. source "drivers/firmware/Kconfig"
  641. source fs/Kconfig
  642. menu "Instrumentation Support"
  643. source "arch/x86/oprofile/Kconfig"
  644. config KPROBES
  645. bool "Kprobes"
  646. depends on KALLSYMS && MODULES
  647. help
  648. Kprobes allows you to trap at almost any kernel address and
  649. execute a callback function. register_kprobe() establishes
  650. a probepoint and specifies the callback. Kprobes is useful
  651. for kernel debugging, non-intrusive instrumentation and testing.
  652. If in doubt, say "N".
  653. endmenu
  654. source "arch/x86_64/Kconfig.debug"
  655. source "security/Kconfig"
  656. source "crypto/Kconfig"
  657. source "lib/Kconfig"