Kconfig 24 KB

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