Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819
  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 and older Nocona/Dempsey Xeon CPUs
  135. with Intel Extended Memory 64 Technology(EM64T). For details see
  136. <http://www.intel.com/technology/64bitextensions/>.
  137. Note that the latest Xeons (Xeon 51xx and 53xx) are not based on the
  138. Netburst core and shouldn't use this option. You can distinguish them
  139. using the cpu family field
  140. in /proc/cpuinfo. Family 15 is an older Xeon, Family 6 a newer one
  141. (this rule only applies to systems that support EM64T)
  142. config MCORE2
  143. bool "Intel Core2 / newer Xeon"
  144. help
  145. Optimize for Intel Core2 and newer Xeons (51xx)
  146. You can distinguish the newer Xeons from the older ones using
  147. the cpu family field in /proc/cpuinfo. 15 is an older Xeon
  148. (use CONFIG_MPSC then), 6 is a newer one. This rule only
  149. applies to CPUs that support EM64T.
  150. config GENERIC_CPU
  151. bool "Generic-x86-64"
  152. help
  153. Generic x86-64 CPU.
  154. Run equally well on all x86-64 CPUs.
  155. endchoice
  156. #
  157. # Define implied options from the CPU selection here
  158. #
  159. config X86_L1_CACHE_BYTES
  160. int
  161. default "128" if GENERIC_CPU || MPSC
  162. default "64" if MK8 || MCORE2
  163. config X86_L1_CACHE_SHIFT
  164. int
  165. default "7" if GENERIC_CPU || MPSC
  166. default "6" if MK8 || MCORE2
  167. config X86_INTERNODE_CACHE_BYTES
  168. int
  169. default "4096" if X86_VSMP
  170. default X86_L1_CACHE_BYTES if !X86_VSMP
  171. config X86_TSC
  172. bool
  173. default y
  174. config X86_GOOD_APIC
  175. bool
  176. default y
  177. config MICROCODE
  178. tristate "/dev/cpu/microcode - Intel CPU microcode support"
  179. select FW_LOADER
  180. ---help---
  181. If you say Y here the 'File systems' section, you will be
  182. able to update the microcode on Intel processors. You will
  183. obviously need the actual microcode binary data itself which is
  184. not shipped with the Linux kernel.
  185. For latest news and information on obtaining all the required
  186. ingredients for this driver, check:
  187. <http://www.urbanmyth.org/microcode/>.
  188. To compile this driver as a module, choose M here: the
  189. module will be called microcode.
  190. If you use modprobe or kmod you may also want to add the line
  191. 'alias char-major-10-184 microcode' to your /etc/modules.conf file.
  192. config MICROCODE_OLD_INTERFACE
  193. bool
  194. depends on MICROCODE
  195. default y
  196. config X86_MSR
  197. tristate "/dev/cpu/*/msr - Model-specific register support"
  198. help
  199. This device gives privileged processes access to the x86
  200. Model-Specific Registers (MSRs). It is a character device with
  201. major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr.
  202. MSR accesses are directed to a specific CPU on multi-processor
  203. systems.
  204. config X86_CPUID
  205. tristate "/dev/cpu/*/cpuid - CPU information support"
  206. help
  207. This device gives processes access to the x86 CPUID instruction to
  208. be executed on a specific processor. It is a character device
  209. with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
  210. /dev/cpu/31/cpuid.
  211. config X86_HT
  212. bool
  213. depends on SMP && !MK8
  214. default y
  215. config MATH_EMULATION
  216. bool
  217. config MCA
  218. bool
  219. config EISA
  220. bool
  221. config X86_IO_APIC
  222. bool
  223. default y
  224. config X86_LOCAL_APIC
  225. bool
  226. default y
  227. config MTRR
  228. bool "MTRR (Memory Type Range Register) support"
  229. ---help---
  230. On Intel P6 family processors (Pentium Pro, Pentium II and later)
  231. the Memory Type Range Registers (MTRRs) may be used to control
  232. processor access to memory ranges. This is most useful if you have
  233. a video (VGA) card on a PCI or AGP bus. Enabling write-combining
  234. allows bus write transfers to be combined into a larger transfer
  235. before bursting over the PCI/AGP bus. This can increase performance
  236. of image write operations 2.5 times or more. Saying Y here creates a
  237. /proc/mtrr file which may be used to manipulate your processor's
  238. MTRRs. Typically the X server should use this.
  239. This code has a reasonably generic interface so that similar
  240. control registers on other processors can be easily supported
  241. as well.
  242. Saying Y here also fixes a problem with buggy SMP BIOSes which only
  243. set the MTRRs for the boot CPU and not for the secondary CPUs. This
  244. can lead to all sorts of problems, so it's good to say Y here.
  245. Just say Y here, all x86-64 machines support MTRRs.
  246. See <file:Documentation/mtrr.txt> for more information.
  247. config SMP
  248. bool "Symmetric multi-processing support"
  249. ---help---
  250. This enables support for systems with more than one CPU. If you have
  251. a system with only one CPU, like most personal computers, say N. If
  252. you have a system with more than one CPU, say Y.
  253. If you say N here, the kernel will run on single and multiprocessor
  254. machines, but will use only one CPU of a multiprocessor machine. If
  255. you say Y here, the kernel will run on many, but not all,
  256. singleprocessor machines. On a singleprocessor machine, the kernel
  257. will run faster if you say N here.
  258. If you don't know what to do here, say N.
  259. config SCHED_SMT
  260. bool "SMT (Hyperthreading) scheduler support"
  261. depends on SMP
  262. default n
  263. help
  264. SMT scheduler support improves the CPU scheduler's decision making
  265. when dealing with Intel Pentium 4 chips with HyperThreading at a
  266. cost of slightly increased overhead in some places. If unsure say
  267. N here.
  268. config SCHED_MC
  269. bool "Multi-core scheduler support"
  270. depends on SMP
  271. default y
  272. help
  273. Multi-core scheduler support improves the CPU scheduler's decision
  274. making when dealing with multi-core CPU chips at a cost of slightly
  275. increased overhead in some places. If unsure say N here.
  276. source "kernel/Kconfig.preempt"
  277. config NUMA
  278. bool "Non Uniform Memory Access (NUMA) Support"
  279. depends on SMP
  280. help
  281. Enable NUMA (Non Uniform Memory Access) support. The kernel
  282. will try to allocate memory used by a CPU on the local memory
  283. controller of the CPU and add some more NUMA awareness to the kernel.
  284. This code is recommended on all multiprocessor Opteron systems.
  285. If the system is EM64T, you should say N unless your system is EM64T
  286. NUMA.
  287. config K8_NUMA
  288. bool "Old style AMD Opteron NUMA detection"
  289. depends on NUMA && PCI
  290. default y
  291. help
  292. Enable K8 NUMA node topology detection. You should say Y here if
  293. you have a multi processor AMD K8 system. This uses an old
  294. method to read the NUMA configuration directly from the builtin
  295. Northbridge of Opteron. It is recommended to use X86_64_ACPI_NUMA
  296. instead, which also takes priority if both are compiled in.
  297. config NODES_SHIFT
  298. int
  299. default "6"
  300. depends on NEED_MULTIPLE_NODES
  301. # Dummy CONFIG option to select ACPI_NUMA from drivers/acpi/Kconfig.
  302. config X86_64_ACPI_NUMA
  303. bool "ACPI NUMA detection"
  304. depends on NUMA
  305. select ACPI
  306. select PCI
  307. select ACPI_NUMA
  308. default y
  309. help
  310. Enable ACPI SRAT based node topology detection.
  311. config NUMA_EMU
  312. bool "NUMA emulation"
  313. depends on NUMA
  314. help
  315. Enable NUMA emulation. A flat machine will be split
  316. into virtual nodes when booted with "numa=fake=N", where N is the
  317. number of nodes. This is only useful for debugging.
  318. config ARCH_DISCONTIGMEM_ENABLE
  319. bool
  320. depends on NUMA
  321. default y
  322. config ARCH_DISCONTIGMEM_DEFAULT
  323. def_bool y
  324. depends on NUMA
  325. config ARCH_SPARSEMEM_ENABLE
  326. def_bool y
  327. depends on (NUMA || EXPERIMENTAL)
  328. config ARCH_MEMORY_PROBE
  329. def_bool y
  330. depends on MEMORY_HOTPLUG
  331. config ARCH_FLATMEM_ENABLE
  332. def_bool y
  333. depends on !NUMA
  334. source "mm/Kconfig"
  335. config MEMORY_HOTPLUG_RESERVE
  336. def_bool y
  337. depends on (MEMORY_HOTPLUG && DISCONTIGMEM)
  338. config HAVE_ARCH_EARLY_PFN_TO_NID
  339. def_bool y
  340. depends on NUMA
  341. config OUT_OF_LINE_PFN_TO_PAGE
  342. def_bool y
  343. depends on DISCONTIGMEM
  344. config NR_CPUS
  345. int "Maximum number of CPUs (2-255)"
  346. range 2 255
  347. depends on SMP
  348. default "8"
  349. help
  350. This allows you to specify the maximum number of CPUs which this
  351. kernel will support. Current maximum is 255 CPUs due to
  352. APIC addressing limits. Less depending on the hardware.
  353. This is purely to save memory - each supported CPU requires
  354. memory in the static kernel configuration.
  355. config PHYSICAL_ALIGN
  356. hex
  357. default "0x200000"
  358. config HOTPLUG_CPU
  359. bool "Support for suspend on SMP and hot-pluggable CPUs (EXPERIMENTAL)"
  360. depends on SMP && HOTPLUG && EXPERIMENTAL
  361. help
  362. Say Y here to experiment with turning CPUs off and on. CPUs
  363. can be controlled through /sys/devices/system/cpu/cpu#.
  364. This is also required for suspend/hibernation on SMP systems.
  365. Say N if you want to disable CPU hotplug and don't need to
  366. suspend.
  367. config ARCH_ENABLE_MEMORY_HOTPLUG
  368. def_bool y
  369. config HPET_TIMER
  370. bool
  371. default y
  372. help
  373. Use the IA-PC HPET (High Precision Event Timer) to manage
  374. time in preference to the PIT and RTC, if a HPET is
  375. present. The HPET provides a stable time base on SMP
  376. systems, unlike the TSC, but it is more expensive to access,
  377. as it is off-chip. You can find the HPET spec at
  378. <http://www.intel.com/hardwaredesign/hpetspec.htm>.
  379. config HPET_EMULATE_RTC
  380. bool "Provide RTC interrupt"
  381. depends on HPET_TIMER && RTC=y
  382. # Mark as embedded because too many people got it wrong.
  383. # The code disables itself when not needed.
  384. config IOMMU
  385. bool "IOMMU support" if EMBEDDED
  386. default y
  387. select SWIOTLB
  388. select AGP
  389. depends on PCI
  390. help
  391. Support for full DMA access of devices with 32bit memory access only
  392. on systems with more than 3GB. This is usually needed for USB,
  393. sound, many IDE/SATA chipsets and some other devices.
  394. Provides a driver for the AMD Athlon64/Opteron/Turion/Sempron GART
  395. based hardware IOMMU and a software bounce buffer based IOMMU used
  396. on Intel systems and as fallback.
  397. The code is only active when needed (enough memory and limited
  398. device) unless CONFIG_IOMMU_DEBUG or iommu=force is specified
  399. too.
  400. config CALGARY_IOMMU
  401. bool "IBM Calgary IOMMU support"
  402. select SWIOTLB
  403. depends on PCI && EXPERIMENTAL
  404. help
  405. Support for hardware IOMMUs in IBM's xSeries x366 and x460
  406. systems. Needed to run systems with more than 3GB of memory
  407. properly with 32-bit PCI devices that do not support DAC
  408. (Double Address Cycle). Calgary also supports bus level
  409. isolation, where all DMAs pass through the IOMMU. This
  410. prevents them from going anywhere except their intended
  411. destination. This catches hard-to-find kernel bugs and
  412. mis-behaving drivers and devices that do not use the DMA-API
  413. properly to set up their DMA buffers. The IOMMU can be
  414. turned off at boot time with the iommu=off parameter.
  415. Normally the kernel will make the right choice by itself.
  416. If unsure, say Y.
  417. config CALGARY_IOMMU_ENABLED_BY_DEFAULT
  418. bool "Should Calgary be enabled by default?"
  419. default y
  420. depends on CALGARY_IOMMU
  421. help
  422. Should Calgary be enabled by default? if you choose 'y', Calgary
  423. will be used (if it exists). If you choose 'n', Calgary will not be
  424. used even if it exists. If you choose 'n' and would like to use
  425. Calgary anyway, pass 'iommu=calgary' on the kernel command line.
  426. If unsure, say Y.
  427. # need this always selected by IOMMU for the VIA workaround
  428. config SWIOTLB
  429. bool
  430. help
  431. Support for software bounce buffers used on x86-64 systems
  432. which don't have a hardware IOMMU (e.g. the current generation
  433. of Intel's x86-64 CPUs). Using this PCI devices which can only
  434. access 32-bits of memory can be used on systems with more than
  435. 3 GB of memory. If unsure, say Y.
  436. config X86_MCE
  437. bool "Machine check support" if EMBEDDED
  438. default y
  439. help
  440. Include a machine check error handler to report hardware errors.
  441. This version will require the mcelog utility to decode some
  442. machine check error logs. See
  443. ftp://ftp.x86-64.org/pub/linux/tools/mcelog
  444. config X86_MCE_INTEL
  445. bool "Intel MCE features"
  446. depends on X86_MCE && X86_LOCAL_APIC
  447. default y
  448. help
  449. Additional support for intel specific MCE features such as
  450. the thermal monitor.
  451. config X86_MCE_AMD
  452. bool "AMD MCE features"
  453. depends on X86_MCE && X86_LOCAL_APIC
  454. default y
  455. help
  456. Additional support for AMD specific MCE features such as
  457. the DRAM Error Threshold.
  458. config KEXEC
  459. bool "kexec system call"
  460. help
  461. kexec is a system call that implements the ability to shutdown your
  462. current kernel, and to start another kernel. It is like a reboot
  463. but it is independent of the system firmware. And like a reboot
  464. you can start any kernel with it, not just Linux.
  465. The name comes from the similarity to the exec system call.
  466. It is an ongoing process to be certain the hardware in a machine
  467. is properly shutdown, so do not be surprised if this code does not
  468. initially work for you. It may help to enable device hotplugging
  469. support. As of this writing the exact hardware interface is
  470. strongly in flux, so no good recommendation can be made.
  471. config CRASH_DUMP
  472. bool "kernel crash dumps (EXPERIMENTAL)"
  473. depends on EXPERIMENTAL
  474. help
  475. Generate crash dump after being started by kexec.
  476. This should be normally only set in special crash dump kernels
  477. which are loaded in the main kernel with kexec-tools into
  478. a specially reserved region and then later executed after
  479. a crash by kdump/kexec. The crash dump kernel must be compiled
  480. to a memory address not used by the main kernel or BIOS using
  481. PHYSICAL_START.
  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 kernel run from the address
  494. it has been loaded at and 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. source "drivers/acpi/Kconfig"
  587. source "arch/x86/kernel/cpufreq/Kconfig"
  588. endmenu
  589. menu "Bus options (PCI etc.)"
  590. config PCI
  591. bool "PCI support"
  592. select ARCH_SUPPORTS_MSI if (X86_LOCAL_APIC && X86_IO_APIC)
  593. # x86-64 doesn't support PCI BIOS access from long mode so always go direct.
  594. config PCI_DIRECT
  595. bool
  596. depends on PCI
  597. default y
  598. config PCI_MMCONFIG
  599. bool "Support mmconfig PCI config space access"
  600. depends on PCI && ACPI
  601. config PCI_DOMAINS
  602. bool
  603. depends on PCI
  604. default y
  605. source "drivers/pci/pcie/Kconfig"
  606. source "drivers/pci/Kconfig"
  607. source "drivers/pcmcia/Kconfig"
  608. source "drivers/pci/hotplug/Kconfig"
  609. endmenu
  610. menu "Executable file formats / Emulations"
  611. source "fs/Kconfig.binfmt"
  612. config IA32_EMULATION
  613. bool "IA32 Emulation"
  614. help
  615. Include code to run 32-bit programs under a 64-bit kernel. You should likely
  616. turn this on, unless you're 100% sure that you don't have any 32-bit programs
  617. left.
  618. config IA32_AOUT
  619. tristate "IA32 a.out support"
  620. depends on IA32_EMULATION
  621. help
  622. Support old a.out binaries in the 32bit emulation.
  623. config COMPAT
  624. bool
  625. depends on IA32_EMULATION
  626. default y
  627. config COMPAT_FOR_U64_ALIGNMENT
  628. def_bool COMPAT
  629. config SYSVIPC_COMPAT
  630. bool
  631. depends on COMPAT && SYSVIPC
  632. default y
  633. endmenu
  634. source "net/Kconfig"
  635. source drivers/Kconfig
  636. source "drivers/firmware/Kconfig"
  637. source fs/Kconfig
  638. menu "Instrumentation Support"
  639. depends on EXPERIMENTAL
  640. source "arch/x86/oprofile/Kconfig"
  641. config KPROBES
  642. bool "Kprobes"
  643. depends on KALLSYMS && MODULES
  644. help
  645. Kprobes allows you to trap at almost any kernel address and
  646. execute a callback function. register_kprobe() establishes
  647. a probepoint and specifies the callback. Kprobes is useful
  648. for kernel debugging, non-intrusive instrumentation and testing.
  649. If in doubt, say "N".
  650. endmenu
  651. source "arch/x86_64/Kconfig.debug"
  652. source "security/Kconfig"
  653. source "crypto/Kconfig"
  654. source "lib/Kconfig"