Kconfig 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955
  1. # For a description of the syntax of this configuration file,
  2. # see Documentation/kbuild/kconfig-language.txt.
  3. #
  4. mainmenu "Linux/PowerPC Kernel Configuration"
  5. config PPC64
  6. bool "64-bit kernel"
  7. default n
  8. help
  9. This option selects whether a 32-bit or a 64-bit kernel
  10. will be built.
  11. config PPC32
  12. bool
  13. default y if !PPC64
  14. config 64BIT
  15. bool
  16. default y if PPC64
  17. config PPC_MERGE
  18. def_bool y
  19. config MMU
  20. bool
  21. default y
  22. config GENERIC_HARDIRQS
  23. bool
  24. default y
  25. config RWSEM_GENERIC_SPINLOCK
  26. bool
  27. config RWSEM_XCHGADD_ALGORITHM
  28. bool
  29. default y
  30. config GENERIC_CALIBRATE_DELAY
  31. bool
  32. default y
  33. config PPC
  34. bool
  35. default y
  36. config EARLY_PRINTK
  37. bool
  38. default y
  39. config COMPAT
  40. bool
  41. default y if PPC64
  42. config SYSVIPC_COMPAT
  43. bool
  44. depends on COMPAT && SYSVIPC
  45. default y
  46. # All PPC32s use generic nvram driver through ppc_md
  47. config GENERIC_NVRAM
  48. bool
  49. default y if PPC32
  50. config SCHED_NO_NO_OMIT_FRAME_POINTER
  51. bool
  52. default y
  53. config ARCH_MAY_HAVE_PC_FDC
  54. bool
  55. default y
  56. menu "Processor support"
  57. choice
  58. prompt "Processor Type"
  59. depends on PPC32
  60. default 6xx
  61. config 6xx
  62. bool "6xx/7xx/74xx"
  63. select PPC_FPU
  64. help
  65. There are four families of PowerPC chips supported. The more common
  66. types (601, 603, 604, 740, 750, 7400), the Motorola embedded
  67. versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
  68. embedded versions (403 and 405) and the high end 64 bit Power
  69. processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
  70. Unless you are building a kernel for one of the embedded processor
  71. systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx.
  72. Note that the kernel runs in 32-bit mode even on 64-bit chips.
  73. config PPC_52xx
  74. bool "Freescale 52xx"
  75. config PPC_82xx
  76. bool "Freescale 82xx"
  77. config PPC_83xx
  78. bool "Freescale 83xx"
  79. config 40x
  80. bool "AMCC 40x"
  81. config 44x
  82. bool "AMCC 44x"
  83. config 8xx
  84. bool "Freescale 8xx"
  85. config E200
  86. bool "Freescale e200"
  87. config E500
  88. bool "Freescale e500"
  89. endchoice
  90. config POWER4_ONLY
  91. bool "Optimize for POWER4"
  92. depends on PPC64
  93. default n
  94. ---help---
  95. Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
  96. The resulting binary will not work on POWER3 or RS64 processors
  97. when compiled with binutils 2.15 or later.
  98. config POWER3
  99. bool
  100. depends on PPC64
  101. default y if !POWER4_ONLY
  102. config POWER4
  103. depends on PPC64
  104. def_bool y
  105. config PPC_FPU
  106. bool
  107. default y if PPC64
  108. config BOOKE
  109. bool
  110. depends on E200 || E500
  111. default y
  112. config FSL_BOOKE
  113. bool
  114. depends on E200 || E500
  115. default y
  116. config PTE_64BIT
  117. bool
  118. depends on 44x || E500
  119. default y if 44x
  120. default y if E500 && PHYS_64BIT
  121. config PHYS_64BIT
  122. bool 'Large physical address support' if E500
  123. depends on 44x || E500
  124. default y if 44x
  125. ---help---
  126. This option enables kernel support for larger than 32-bit physical
  127. addresses. This features is not be available on all e500 cores.
  128. If in doubt, say N here.
  129. config ALTIVEC
  130. bool "AltiVec Support"
  131. depends on 6xx || POWER4
  132. ---help---
  133. This option enables kernel support for the Altivec extensions to the
  134. PowerPC processor. The kernel currently supports saving and restoring
  135. altivec registers, and turning on the 'altivec enable' bit so user
  136. processes can execute altivec instructions.
  137. This option is only usefully if you have a processor that supports
  138. altivec (G4, otherwise known as 74xx series), but does not have
  139. any affect on a non-altivec cpu (it does, however add code to the
  140. kernel).
  141. If in doubt, say Y here.
  142. config SPE
  143. bool "SPE Support"
  144. depends on E200 || E500
  145. ---help---
  146. This option enables kernel support for the Signal Processing
  147. Extensions (SPE) to the PowerPC processor. The kernel currently
  148. supports saving and restoring SPE registers, and turning on the
  149. 'spe enable' bit so user processes can execute SPE instructions.
  150. This option is only useful if you have a processor that supports
  151. SPE (e500, otherwise known as 85xx series), but does not have any
  152. effect on a non-spe cpu (it does, however add code to the kernel).
  153. If in doubt, say Y here.
  154. config PPC_STD_MMU
  155. bool
  156. depends on 6xx || POWER3 || POWER4 || PPC64
  157. default y
  158. config PPC_STD_MMU_32
  159. def_bool y
  160. depends on PPC_STD_MMU && PPC32
  161. config SMP
  162. depends on PPC_STD_MMU
  163. bool "Symmetric multi-processing support"
  164. ---help---
  165. This enables support for systems with more than one CPU. If you have
  166. a system with only one CPU, say N. If you have a system with more
  167. than one CPU, say Y. Note that the kernel does not currently
  168. support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
  169. since they have inadequate hardware support for multiprocessor
  170. operation.
  171. If you say N here, the kernel will run on single and multiprocessor
  172. machines, but will use only one CPU of a multiprocessor machine. If
  173. you say Y here, the kernel will run on single-processor machines.
  174. On a single-processor machine, the kernel will run faster if you say
  175. N here.
  176. If you don't know what to do here, say N.
  177. config NR_CPUS
  178. int "Maximum number of CPUs (2-128)"
  179. range 2 128
  180. depends on SMP
  181. default "32" if PPC64
  182. default "4"
  183. config NOT_COHERENT_CACHE
  184. bool
  185. depends on 4xx || 8xx || E200
  186. default y
  187. endmenu
  188. source "init/Kconfig"
  189. menu "Platform support"
  190. depends on PPC64 || 6xx
  191. choice
  192. prompt "Machine type"
  193. default PPC_MULTIPLATFORM
  194. config PPC_MULTIPLATFORM
  195. bool "Generic desktop/server/laptop"
  196. help
  197. Select this option if configuring for an IBM pSeries or
  198. RS/6000 machine, an Apple machine, or a PReP, CHRP,
  199. Maple or Cell-based machine.
  200. config PPC_ISERIES
  201. bool "IBM Legacy iSeries"
  202. depends on PPC64
  203. config EMBEDDED6xx
  204. bool "Embedded 6xx/7xx/7xxx-based board"
  205. depends on PPC32 && BROKEN
  206. config APUS
  207. bool "Amiga-APUS"
  208. depends on PPC32 && BROKEN
  209. help
  210. Select APUS if configuring for a PowerUP Amiga.
  211. More information is available at:
  212. <http://linux-apus.sourceforge.net/>.
  213. endchoice
  214. config PPC_PSERIES
  215. depends on PPC_MULTIPLATFORM && PPC64
  216. bool " IBM pSeries & new (POWER5-based) iSeries"
  217. select PPC_I8259
  218. select PPC_RTAS
  219. select RTAS_ERROR_LOGGING
  220. default y
  221. config PPC_CHRP
  222. bool " Common Hardware Reference Platform (CHRP) based machines"
  223. depends on PPC_MULTIPLATFORM && PPC32
  224. select PPC_I8259
  225. select PPC_INDIRECT_PCI
  226. select PPC_RTAS
  227. select PPC_MPC106
  228. default y
  229. config PPC_PMAC
  230. bool " Apple PowerMac based machines"
  231. depends on PPC_MULTIPLATFORM
  232. select PPC_INDIRECT_PCI if PPC32
  233. select PPC_MPC106 if PPC32
  234. default y
  235. config PPC_PMAC64
  236. bool
  237. depends on PPC_PMAC && POWER4
  238. select U3_DART
  239. select MPIC_BROKEN_U3
  240. select GENERIC_TBSYNC
  241. default y
  242. config PPC_PREP
  243. bool " PowerPC Reference Platform (PReP) based machines"
  244. depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
  245. select PPC_I8259
  246. select PPC_INDIRECT_PCI
  247. default y
  248. config PPC_MAPLE
  249. depends on PPC_MULTIPLATFORM && PPC64
  250. bool " Maple 970FX Evaluation Board"
  251. select U3_DART
  252. select MPIC_BROKEN_U3
  253. select GENERIC_TBSYNC
  254. default n
  255. help
  256. This option enables support for the Maple 970FX Evaluation Board.
  257. For more informations, refer to <http://www.970eval.com>
  258. config PPC_CELL
  259. bool " Cell Broadband Processor Architecture"
  260. depends on PPC_MULTIPLATFORM && PPC64
  261. select PPC_RTAS
  262. select MMIO_NVRAM
  263. config PPC_OF
  264. def_bool y
  265. config XICS
  266. depends on PPC_PSERIES
  267. bool
  268. default y
  269. config U3_DART
  270. bool
  271. depends on PPC_MULTIPLATFORM && PPC64
  272. default n
  273. config MPIC
  274. depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE || PPC_CHRP
  275. bool
  276. default y
  277. config PPC_RTAS
  278. bool
  279. default n
  280. config RTAS_ERROR_LOGGING
  281. bool
  282. depends on PPC_RTAS
  283. default n
  284. config RTAS_PROC
  285. bool "Proc interface to RTAS"
  286. depends on PPC_RTAS
  287. default y
  288. config RTAS_FLASH
  289. tristate "Firmware flash interface"
  290. depends on PPC64 && RTAS_PROC
  291. config MMIO_NVRAM
  292. bool
  293. default n
  294. config MPIC_BROKEN_U3
  295. bool
  296. depends on PPC_MAPLE
  297. default y
  298. config CELL_IIC
  299. depends on PPC_CELL
  300. bool
  301. default y
  302. config CRASH_DUMP
  303. bool "kernel crash dumps (EXPERIMENTAL)"
  304. depends on PPC_MULTIPLATFORM
  305. depends on EXPERIMENTAL
  306. help
  307. Build a kernel suitable for use as a kdump capture kernel.
  308. The kernel will be linked at a different address than normal, and
  309. so can only be used for Kdump.
  310. Don't change this unless you know what you are doing.
  311. config IBMVIO
  312. depends on PPC_PSERIES || PPC_ISERIES
  313. bool
  314. default y
  315. config IBMEBUS
  316. depends on PPC_PSERIES
  317. bool "Support for GX bus based adapters"
  318. help
  319. Bus device driver for GX bus based adapters.
  320. config PPC_MPC106
  321. bool
  322. default n
  323. config GENERIC_TBSYNC
  324. bool
  325. default y if CONFIG_PPC32 && CONFIG_SMP
  326. default n
  327. source "drivers/cpufreq/Kconfig"
  328. config CPU_FREQ_PMAC
  329. bool "Support for Apple PowerBooks"
  330. depends on CPU_FREQ && ADB_PMU && PPC32
  331. select CPU_FREQ_TABLE
  332. help
  333. This adds support for frequency switching on Apple PowerBooks,
  334. this currently includes some models of iBook & Titanium
  335. PowerBook.
  336. config CPU_FREQ_PMAC64
  337. bool "Support for some Apple G5s"
  338. depends on CPU_FREQ && PMAC_SMU && PPC64
  339. select CPU_FREQ_TABLE
  340. help
  341. This adds support for frequency switching on Apple iMac G5,
  342. and some of the more recent desktop G5 machines as well.
  343. config PPC601_SYNC_FIX
  344. bool "Workarounds for PPC601 bugs"
  345. depends on 6xx && (PPC_PREP || PPC_PMAC)
  346. help
  347. Some versions of the PPC601 (the first PowerPC chip) have bugs which
  348. mean that extra synchronization instructions are required near
  349. certain instructions, typically those that make major changes to the
  350. CPU state. These extra instructions reduce performance slightly.
  351. If you say N here, these extra instructions will not be included,
  352. resulting in a kernel which will run faster but may not run at all
  353. on some systems with the PPC601 chip.
  354. If in doubt, say Y here.
  355. config TAU
  356. bool "Thermal Management Support"
  357. depends on 6xx
  358. help
  359. G3 and G4 processors have an on-chip temperature sensor called the
  360. 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
  361. temperature within 2-4 degrees Celsius. This option shows the current
  362. on-die temperature in /proc/cpuinfo if the cpu supports it.
  363. Unfortunately, on some chip revisions, this sensor is very inaccurate
  364. and in some cases, does not work at all, so don't assume the cpu
  365. temp is actually what /proc/cpuinfo says it is.
  366. config TAU_INT
  367. bool "Interrupt driven TAU driver (DANGEROUS)"
  368. depends on TAU
  369. ---help---
  370. The TAU supports an interrupt driven mode which causes an interrupt
  371. whenever the temperature goes out of range. This is the fastest way
  372. to get notified the temp has exceeded a range. With this option off,
  373. a timer is used to re-check the temperature periodically.
  374. However, on some cpus it appears that the TAU interrupt hardware
  375. is buggy and can cause a situation which would lead unexplained hard
  376. lockups.
  377. Unless you are extending the TAU driver, or enjoy kernel/hardware
  378. debugging, leave this option off.
  379. config TAU_AVERAGE
  380. bool "Average high and low temp"
  381. depends on TAU
  382. ---help---
  383. The TAU hardware can compare the temperature to an upper and lower
  384. bound. The default behavior is to show both the upper and lower
  385. bound in /proc/cpuinfo. If the range is large, the temperature is
  386. either changing a lot, or the TAU hardware is broken (likely on some
  387. G4's). If the range is small (around 4 degrees), the temperature is
  388. relatively stable. If you say Y here, a single temperature value,
  389. halfway between the upper and lower bounds, will be reported in
  390. /proc/cpuinfo.
  391. If in doubt, say N here.
  392. endmenu
  393. source arch/powerpc/platforms/embedded6xx/Kconfig
  394. source arch/powerpc/platforms/4xx/Kconfig
  395. source arch/powerpc/platforms/85xx/Kconfig
  396. source arch/powerpc/platforms/8xx/Kconfig
  397. source arch/powerpc/platforms/cell/Kconfig
  398. menu "Kernel options"
  399. config HIGHMEM
  400. bool "High memory support"
  401. depends on PPC32
  402. source kernel/Kconfig.hz
  403. source kernel/Kconfig.preempt
  404. source "fs/Kconfig.binfmt"
  405. # We optimistically allocate largepages from the VM, so make the limit
  406. # large enough (16MB). This badly named config option is actually
  407. # max order + 1
  408. config FORCE_MAX_ZONEORDER
  409. int
  410. depends on PPC64
  411. default "9" if PPC_64K_PAGES
  412. default "13"
  413. config MATH_EMULATION
  414. bool "Math emulation"
  415. depends on 4xx || 8xx || E200 || E500
  416. ---help---
  417. Some PowerPC chips designed for embedded applications do not have
  418. a floating-point unit and therefore do not implement the
  419. floating-point instructions in the PowerPC instruction set. If you
  420. say Y here, the kernel will include code to emulate a floating-point
  421. unit, which will allow programs that use floating-point
  422. instructions to run.
  423. config IOMMU_VMERGE
  424. bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
  425. depends on EXPERIMENTAL && PPC64
  426. default n
  427. help
  428. Cause IO segments sent to a device for DMA to be merged virtually
  429. by the IOMMU when they happen to have been allocated contiguously.
  430. This doesn't add pressure to the IOMMU allocator. However, some
  431. drivers don't support getting large merged segments coming back
  432. from *_map_sg(). Say Y if you know the drivers you are using are
  433. properly handling this case.
  434. config HOTPLUG_CPU
  435. bool "Support for enabling/disabling CPUs"
  436. depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  437. ---help---
  438. Say Y here to be able to disable and re-enable individual
  439. CPUs at runtime on SMP machines.
  440. Say N if you are unsure.
  441. config KEXEC
  442. bool "kexec system call (EXPERIMENTAL)"
  443. depends on PPC_MULTIPLATFORM && EXPERIMENTAL
  444. help
  445. kexec is a system call that implements the ability to shutdown your
  446. current kernel, and to start another kernel. It is like a reboot
  447. but it is indepedent of the system firmware. And like a reboot
  448. you can start any kernel with it, not just Linux.
  449. The name comes from the similiarity to the exec system call.
  450. It is an ongoing process to be certain the hardware in a machine
  451. is properly shutdown, so do not be surprised if this code does not
  452. initially work for you. It may help to enable device hotplugging
  453. support. As of this writing the exact hardware interface is
  454. strongly in flux, so no good recommendation can be made.
  455. config EMBEDDEDBOOT
  456. bool
  457. depends on 8xx || 8260
  458. default y
  459. config PC_KEYBOARD
  460. bool "PC PS/2 style Keyboard"
  461. depends on 4xx || CPM2
  462. config PPCBUG_NVRAM
  463. bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
  464. default y if PPC_PREP
  465. config IRQ_ALL_CPUS
  466. bool "Distribute interrupts on all CPUs by default"
  467. depends on SMP && !MV64360
  468. help
  469. This option gives the kernel permission to distribute IRQs across
  470. multiple CPUs. Saying N here will route all IRQs to the first
  471. CPU. Generally saying Y is safe, although some problems have been
  472. reported with SMP Power Macintoshes with this option enabled.
  473. source "arch/powerpc/platforms/pseries/Kconfig"
  474. config NUMA
  475. bool "NUMA support"
  476. depends on PPC64
  477. default y if SMP && PPC_PSERIES
  478. config ARCH_SELECT_MEMORY_MODEL
  479. def_bool y
  480. depends on PPC64
  481. config ARCH_FLATMEM_ENABLE
  482. def_bool y
  483. depends on (PPC64 && !NUMA) || PPC32
  484. config ARCH_SPARSEMEM_ENABLE
  485. def_bool y
  486. depends on PPC64
  487. config ARCH_SPARSEMEM_DEFAULT
  488. def_bool y
  489. depends on SMP && PPC_PSERIES
  490. source "mm/Kconfig"
  491. config HAVE_ARCH_EARLY_PFN_TO_NID
  492. def_bool y
  493. depends on NEED_MULTIPLE_NODES
  494. config ARCH_MEMORY_PROBE
  495. def_bool y
  496. depends on MEMORY_HOTPLUG
  497. config PPC_64K_PAGES
  498. bool "64k page size"
  499. depends on PPC64
  500. help
  501. This option changes the kernel logical page size to 64k. On machines
  502. without processor support for 64k pages, the kernel will simulate
  503. them by loading each individual 4k page on demand transparently,
  504. while on hardware with such support, it will be used to map
  505. normal application pages.
  506. config SCHED_SMT
  507. bool "SMT (Hyperthreading) scheduler support"
  508. depends on PPC64 && SMP
  509. default off
  510. help
  511. SMT scheduler support improves the CPU scheduler's decision making
  512. when dealing with POWER5 cpus at a cost of slightly increased
  513. overhead in some places. If unsure say N here.
  514. config PROC_DEVICETREE
  515. bool "Support for device tree in /proc"
  516. depends on PROC_FS
  517. help
  518. This option adds a device-tree directory under /proc which contains
  519. an image of the device tree that the kernel copies from Open
  520. Firmware or other boot firmware. If unsure, say Y here.
  521. source "arch/powerpc/platforms/prep/Kconfig"
  522. config CMDLINE_BOOL
  523. bool "Default bootloader kernel arguments"
  524. depends on !PPC_ISERIES
  525. config CMDLINE
  526. string "Initial kernel command string"
  527. depends on CMDLINE_BOOL
  528. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  529. help
  530. On some platforms, there is currently no way for the boot loader to
  531. pass arguments to the kernel. For these platforms, you can supply
  532. some command-line options at build time by entering them here. In
  533. most cases you will need to specify the root device here.
  534. if !44x || BROKEN
  535. source kernel/power/Kconfig
  536. endif
  537. config SECCOMP
  538. bool "Enable seccomp to safely compute untrusted bytecode"
  539. depends on PROC_FS
  540. default y
  541. help
  542. This kernel feature is useful for number crunching applications
  543. that may need to compute untrusted bytecode during their
  544. execution. By using pipes or other transports made available to
  545. the process as file descriptors supporting the read/write
  546. syscalls, it's possible to isolate those applications in
  547. their own address space using seccomp. Once seccomp is
  548. enabled via /proc/<pid>/seccomp, it cannot be disabled
  549. and the task is only allowed to execute a few safe syscalls
  550. defined by each seccomp mode.
  551. If unsure, say Y. Only embedded should say N here.
  552. endmenu
  553. config ISA_DMA_API
  554. bool
  555. default y
  556. menu "Bus options"
  557. config ISA
  558. bool "Support for ISA-bus hardware"
  559. depends on PPC_PREP || PPC_CHRP
  560. select PPC_I8259
  561. help
  562. Find out whether you have ISA slots on your motherboard. ISA is the
  563. name of a bus system, i.e. the way the CPU talks to the other stuff
  564. inside your box. If you have an Apple machine, say N here; if you
  565. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  566. you have an embedded board, consult your board documentation.
  567. config GENERIC_ISA_DMA
  568. bool
  569. depends on PPC64 || POWER4 || 6xx && !CPM2
  570. default y
  571. config PPC_I8259
  572. bool
  573. default y if 85xx
  574. default n
  575. config PPC_INDIRECT_PCI
  576. bool
  577. depends on PCI
  578. default y if 40x || 44x || 85xx || 83xx
  579. default n
  580. config EISA
  581. bool
  582. config SBUS
  583. bool
  584. # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
  585. config MCA
  586. bool
  587. config PCI
  588. bool "PCI support" if 40x || CPM2 || 83xx || 85xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES)
  589. default y if !40x && !CPM2 && !8xx && !APUS && !83xx && !85xx
  590. default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
  591. default PCI_QSPAN if !4xx && !CPM2 && 8xx
  592. help
  593. Find out whether your system includes a PCI bus. PCI is the name of
  594. a bus system, i.e. the way the CPU talks to the other stuff inside
  595. your box. If you say Y here, the kernel will include drivers and
  596. infrastructure code to support PCI bus devices.
  597. config PCI_DOMAINS
  598. bool
  599. default PCI
  600. config MPC83xx_PCI2
  601. bool " Supprt for 2nd PCI host controller"
  602. depends on PCI && MPC834x
  603. default y if MPC834x_SYS
  604. config PCI_QSPAN
  605. bool "QSpan PCI"
  606. depends on !4xx && !CPM2 && 8xx
  607. select PPC_I8259
  608. help
  609. Say Y here if you have a system based on a Motorola 8xx-series
  610. embedded processor with a QSPAN PCI interface, otherwise say N.
  611. config PCI_8260
  612. bool
  613. depends on PCI && 8260
  614. select PPC_INDIRECT_PCI
  615. default y
  616. config 8260_PCI9
  617. bool " Enable workaround for MPC826x erratum PCI 9"
  618. depends on PCI_8260 && !ADS8272
  619. default y
  620. choice
  621. prompt " IDMA channel for PCI 9 workaround"
  622. depends on 8260_PCI9
  623. config 8260_PCI9_IDMA1
  624. bool "IDMA1"
  625. config 8260_PCI9_IDMA2
  626. bool "IDMA2"
  627. config 8260_PCI9_IDMA3
  628. bool "IDMA3"
  629. config 8260_PCI9_IDMA4
  630. bool "IDMA4"
  631. endchoice
  632. source "drivers/pci/Kconfig"
  633. source "drivers/pcmcia/Kconfig"
  634. source "drivers/pci/hotplug/Kconfig"
  635. endmenu
  636. menu "Advanced setup"
  637. depends on PPC32
  638. config ADVANCED_OPTIONS
  639. bool "Prompt for advanced kernel configuration options"
  640. help
  641. This option will enable prompting for a variety of advanced kernel
  642. configuration options. These options can cause the kernel to not
  643. work if they are set incorrectly, but can be used to optimize certain
  644. aspects of kernel memory management.
  645. Unless you know what you are doing, say N here.
  646. comment "Default settings for advanced configuration options are used"
  647. depends on !ADVANCED_OPTIONS
  648. config HIGHMEM_START_BOOL
  649. bool "Set high memory pool address"
  650. depends on ADVANCED_OPTIONS && HIGHMEM
  651. help
  652. This option allows you to set the base address of the kernel virtual
  653. area used to map high memory pages. This can be useful in
  654. optimizing the layout of kernel virtual memory.
  655. Say N here unless you know what you are doing.
  656. config HIGHMEM_START
  657. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  658. default "0xfe000000"
  659. config LOWMEM_SIZE_BOOL
  660. bool "Set maximum low memory"
  661. depends on ADVANCED_OPTIONS
  662. help
  663. This option allows you to set the maximum amount of memory which
  664. will be used as "low memory", that is, memory which the kernel can
  665. access directly, without having to set up a kernel virtual mapping.
  666. This can be useful in optimizing the layout of kernel virtual
  667. memory.
  668. Say N here unless you know what you are doing.
  669. config LOWMEM_SIZE
  670. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  671. default "0x30000000"
  672. config KERNEL_START_BOOL
  673. bool "Set custom kernel base address"
  674. depends on ADVANCED_OPTIONS
  675. help
  676. This option allows you to set the kernel virtual address at which
  677. the kernel will map low memory (the kernel image will be linked at
  678. this address). This can be useful in optimizing the virtual memory
  679. layout of the system.
  680. Say N here unless you know what you are doing.
  681. config KERNEL_START
  682. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  683. default "0xc0000000"
  684. config TASK_SIZE_BOOL
  685. bool "Set custom user task size"
  686. depends on ADVANCED_OPTIONS
  687. help
  688. This option allows you to set the amount of virtual address space
  689. allocated to user tasks. This can be useful in optimizing the
  690. virtual memory layout of the system.
  691. Say N here unless you know what you are doing.
  692. config TASK_SIZE
  693. hex "Size of user task space" if TASK_SIZE_BOOL
  694. default "0x80000000"
  695. config CONSISTENT_START_BOOL
  696. bool "Set custom consistent memory pool address"
  697. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  698. help
  699. This option allows you to set the base virtual address
  700. of the the consistent memory pool. This pool of virtual
  701. memory is used to make consistent memory allocations.
  702. config CONSISTENT_START
  703. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  704. default "0xff100000" if NOT_COHERENT_CACHE
  705. config CONSISTENT_SIZE_BOOL
  706. bool "Set custom consistent memory pool size"
  707. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  708. help
  709. This option allows you to set the size of the the
  710. consistent memory pool. This pool of virtual memory
  711. is used to make consistent memory allocations.
  712. config CONSISTENT_SIZE
  713. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  714. default "0x00200000" if NOT_COHERENT_CACHE
  715. config BOOT_LOAD_BOOL
  716. bool "Set the boot link/load address"
  717. depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
  718. help
  719. This option allows you to set the initial load address of the zImage
  720. or zImage.initrd file. This can be useful if you are on a board
  721. which has a small amount of memory.
  722. Say N here unless you know what you are doing.
  723. config BOOT_LOAD
  724. hex "Link/load address for booting" if BOOT_LOAD_BOOL
  725. default "0x00400000" if 40x || 8xx || 8260
  726. default "0x01000000" if 44x
  727. default "0x00800000"
  728. config PIN_TLB
  729. bool "Pinned Kernel TLBs (860 ONLY)"
  730. depends on ADVANCED_OPTIONS && 8xx
  731. endmenu
  732. if PPC64
  733. config KERNEL_START
  734. hex
  735. default "0xc000000000000000"
  736. endif
  737. source "net/Kconfig"
  738. source "drivers/Kconfig"
  739. source "fs/Kconfig"
  740. # XXX source "arch/ppc/8xx_io/Kconfig"
  741. # XXX source "arch/ppc/8260_io/Kconfig"
  742. source "arch/powerpc/platforms/iseries/Kconfig"
  743. source "lib/Kconfig"
  744. menu "Instrumentation Support"
  745. depends on EXPERIMENTAL
  746. source "arch/powerpc/oprofile/Kconfig"
  747. config KPROBES
  748. bool "Kprobes (EXPERIMENTAL)"
  749. depends on PPC64
  750. help
  751. Kprobes allows you to trap at almost any kernel address and
  752. execute a callback function. register_kprobe() establishes
  753. a probepoint and specifies the callback. Kprobes is useful
  754. for kernel debugging, non-intrusive instrumentation and testing.
  755. If in doubt, say "N".
  756. endmenu
  757. source "arch/powerpc/Kconfig.debug"
  758. source "security/Kconfig"
  759. config KEYS_COMPAT
  760. bool
  761. depends on COMPAT && KEYS
  762. default y
  763. source "crypto/Kconfig"