Kconfig.x86_64 22 KB

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