Kconfig 25 KB

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