Kconfig 24 KB

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