Kconfig 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989
  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 PPC_85xx
  98. bool "Freescale 85xx"
  99. select E500
  100. select FSL_SOC
  101. select 85xx
  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. endchoice
  111. config POWER4_ONLY
  112. bool "Optimize for POWER4"
  113. depends on PPC64
  114. default n
  115. ---help---
  116. Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
  117. The resulting binary will not work on POWER3 or RS64 processors
  118. when compiled with binutils 2.15 or later.
  119. config POWER3
  120. bool
  121. depends on PPC64
  122. default y if !POWER4_ONLY
  123. config POWER4
  124. depends on PPC64
  125. def_bool y
  126. config 6xx
  127. bool
  128. # this is temp to handle compat with arch=ppc
  129. config 83xx
  130. bool
  131. # this is temp to handle compat with arch=ppc
  132. config 85xx
  133. bool
  134. config E500
  135. bool
  136. config PPC_FPU
  137. bool
  138. default y if PPC64
  139. config BOOKE
  140. bool
  141. depends on E200 || E500
  142. default y
  143. config FSL_BOOKE
  144. bool
  145. depends on E200 || E500
  146. default y
  147. config PTE_64BIT
  148. bool
  149. depends on 44x || E500
  150. default y if 44x
  151. default y if E500 && PHYS_64BIT
  152. config PHYS_64BIT
  153. bool 'Large physical address support' if E500
  154. depends on 44x || E500
  155. default y if 44x
  156. ---help---
  157. This option enables kernel support for larger than 32-bit physical
  158. addresses. This features is not be available on all e500 cores.
  159. If in doubt, say N here.
  160. config ALTIVEC
  161. bool "AltiVec Support"
  162. depends on CLASSIC32 || POWER4
  163. ---help---
  164. This option enables kernel support for the Altivec extensions to the
  165. PowerPC processor. The kernel currently supports saving and restoring
  166. altivec registers, and turning on the 'altivec enable' bit so user
  167. processes can execute altivec instructions.
  168. This option is only usefully if you have a processor that supports
  169. altivec (G4, otherwise known as 74xx series), but does not have
  170. any affect on a non-altivec cpu (it does, however add code to the
  171. kernel).
  172. If in doubt, say Y here.
  173. config SPE
  174. bool "SPE Support"
  175. depends on E200 || E500
  176. default y
  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 CRASH_DUMP
  479. bool "kernel crash dumps (EXPERIMENTAL)"
  480. depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
  481. help
  482. Build a kernel suitable for use as a kdump capture kernel.
  483. The kernel will be linked at a different address than normal, and
  484. so can only be used for Kdump.
  485. Don't change this unless you know what you are doing.
  486. config EMBEDDEDBOOT
  487. bool
  488. depends on 8xx || 8260
  489. default y
  490. config PC_KEYBOARD
  491. bool "PC PS/2 style Keyboard"
  492. depends on 4xx || CPM2
  493. config PPCBUG_NVRAM
  494. bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
  495. default y if PPC_PREP
  496. config IRQ_ALL_CPUS
  497. bool "Distribute interrupts on all CPUs by default"
  498. depends on SMP && !MV64360
  499. help
  500. This option gives the kernel permission to distribute IRQs across
  501. multiple CPUs. Saying N here will route all IRQs to the first
  502. CPU. Generally saying Y is safe, although some problems have been
  503. reported with SMP Power Macintoshes with this option enabled.
  504. source "arch/powerpc/platforms/pseries/Kconfig"
  505. config NUMA
  506. bool "NUMA support"
  507. depends on PPC64
  508. default y if SMP && PPC_PSERIES
  509. config ARCH_SELECT_MEMORY_MODEL
  510. def_bool y
  511. depends on PPC64
  512. config ARCH_FLATMEM_ENABLE
  513. def_bool y
  514. depends on (PPC64 && !NUMA) || PPC32
  515. config ARCH_SPARSEMEM_ENABLE
  516. def_bool y
  517. depends on PPC64
  518. config ARCH_SPARSEMEM_DEFAULT
  519. def_bool y
  520. depends on SMP && PPC_PSERIES
  521. source "mm/Kconfig"
  522. config HAVE_ARCH_EARLY_PFN_TO_NID
  523. def_bool y
  524. depends on NEED_MULTIPLE_NODES
  525. config ARCH_MEMORY_PROBE
  526. def_bool y
  527. depends on MEMORY_HOTPLUG
  528. config PPC_64K_PAGES
  529. bool "64k page size"
  530. depends on PPC64
  531. help
  532. This option changes the kernel logical page size to 64k. On machines
  533. without processor support for 64k pages, the kernel will simulate
  534. them by loading each individual 4k page on demand transparently,
  535. while on hardware with such support, it will be used to map
  536. normal application pages.
  537. config SCHED_SMT
  538. bool "SMT (Hyperthreading) scheduler support"
  539. depends on PPC64 && SMP
  540. default off
  541. help
  542. SMT scheduler support improves the CPU scheduler's decision making
  543. when dealing with POWER5 cpus at a cost of slightly increased
  544. overhead in some places. If unsure say N here.
  545. config PROC_DEVICETREE
  546. bool "Support for device tree in /proc"
  547. depends on PROC_FS
  548. help
  549. This option adds a device-tree directory under /proc which contains
  550. an image of the device tree that the kernel copies from Open
  551. Firmware or other boot firmware. If unsure, say Y here.
  552. source "arch/powerpc/platforms/prep/Kconfig"
  553. config CMDLINE_BOOL
  554. bool "Default bootloader kernel arguments"
  555. depends on !PPC_ISERIES
  556. config CMDLINE
  557. string "Initial kernel command string"
  558. depends on CMDLINE_BOOL
  559. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  560. help
  561. On some platforms, there is currently no way for the boot loader to
  562. pass arguments to the kernel. For these platforms, you can supply
  563. some command-line options at build time by entering them here. In
  564. most cases you will need to specify the root device here.
  565. if !44x || BROKEN
  566. source kernel/power/Kconfig
  567. endif
  568. config SECCOMP
  569. bool "Enable seccomp to safely compute untrusted bytecode"
  570. depends on PROC_FS
  571. default y
  572. help
  573. This kernel feature is useful for number crunching applications
  574. that may need to compute untrusted bytecode during their
  575. execution. By using pipes or other transports made available to
  576. the process as file descriptors supporting the read/write
  577. syscalls, it's possible to isolate those applications in
  578. their own address space using seccomp. Once seccomp is
  579. enabled via /proc/<pid>/seccomp, it cannot be disabled
  580. and the task is only allowed to execute a few safe syscalls
  581. defined by each seccomp mode.
  582. If unsure, say Y. Only embedded should say N here.
  583. endmenu
  584. config ISA_DMA_API
  585. bool
  586. default y
  587. menu "Bus options"
  588. config ISA
  589. bool "Support for ISA-bus hardware"
  590. depends on PPC_PREP || PPC_CHRP
  591. select PPC_I8259
  592. help
  593. Find out whether you have ISA slots on your motherboard. ISA is the
  594. name of a bus system, i.e. the way the CPU talks to the other stuff
  595. inside your box. If you have an Apple machine, say N here; if you
  596. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  597. you have an embedded board, consult your board documentation.
  598. config GENERIC_ISA_DMA
  599. bool
  600. depends on PPC64 || POWER4 || 6xx && !CPM2
  601. default y
  602. config PPC_I8259
  603. bool
  604. default n
  605. config PPC_INDIRECT_PCI
  606. bool
  607. depends on PCI
  608. default y if 40x || 44x
  609. default n
  610. config EISA
  611. bool
  612. config SBUS
  613. bool
  614. config FSL_SOC
  615. bool
  616. # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
  617. config MCA
  618. bool
  619. config PCI
  620. bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES)
  621. default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx && !PPC_85xx
  622. default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
  623. default PCI_QSPAN if !4xx && !CPM2 && 8xx
  624. help
  625. Find out whether your system includes a PCI bus. PCI is the name of
  626. a bus system, i.e. the way the CPU talks to the other stuff inside
  627. your box. If you say Y here, the kernel will include drivers and
  628. infrastructure code to support PCI bus devices.
  629. config PCI_DOMAINS
  630. bool
  631. default PCI
  632. config PCI_QSPAN
  633. bool "QSpan PCI"
  634. depends on !4xx && !CPM2 && 8xx
  635. select PPC_I8259
  636. help
  637. Say Y here if you have a system based on a Motorola 8xx-series
  638. embedded processor with a QSPAN PCI interface, otherwise say N.
  639. config PCI_8260
  640. bool
  641. depends on PCI && 8260
  642. select PPC_INDIRECT_PCI
  643. default y
  644. config 8260_PCI9
  645. bool " Enable workaround for MPC826x erratum PCI 9"
  646. depends on PCI_8260 && !ADS8272
  647. default y
  648. choice
  649. prompt " IDMA channel for PCI 9 workaround"
  650. depends on 8260_PCI9
  651. config 8260_PCI9_IDMA1
  652. bool "IDMA1"
  653. config 8260_PCI9_IDMA2
  654. bool "IDMA2"
  655. config 8260_PCI9_IDMA3
  656. bool "IDMA3"
  657. config 8260_PCI9_IDMA4
  658. bool "IDMA4"
  659. endchoice
  660. source "drivers/pci/Kconfig"
  661. source "drivers/pcmcia/Kconfig"
  662. source "drivers/pci/hotplug/Kconfig"
  663. endmenu
  664. menu "Advanced setup"
  665. depends on PPC32
  666. config ADVANCED_OPTIONS
  667. bool "Prompt for advanced kernel configuration options"
  668. help
  669. This option will enable prompting for a variety of advanced kernel
  670. configuration options. These options can cause the kernel to not
  671. work if they are set incorrectly, but can be used to optimize certain
  672. aspects of kernel memory management.
  673. Unless you know what you are doing, say N here.
  674. comment "Default settings for advanced configuration options are used"
  675. depends on !ADVANCED_OPTIONS
  676. config HIGHMEM_START_BOOL
  677. bool "Set high memory pool address"
  678. depends on ADVANCED_OPTIONS && HIGHMEM
  679. help
  680. This option allows you to set the base address of the kernel virtual
  681. area used to map high memory pages. This can be useful in
  682. optimizing the layout of kernel virtual memory.
  683. Say N here unless you know what you are doing.
  684. config HIGHMEM_START
  685. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  686. default "0xfe000000"
  687. config LOWMEM_SIZE_BOOL
  688. bool "Set maximum low memory"
  689. depends on ADVANCED_OPTIONS
  690. help
  691. This option allows you to set the maximum amount of memory which
  692. will be used as "low memory", that is, memory which the kernel can
  693. access directly, without having to set up a kernel virtual mapping.
  694. This can be useful in optimizing the layout of kernel virtual
  695. memory.
  696. Say N here unless you know what you are doing.
  697. config LOWMEM_SIZE
  698. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  699. default "0x30000000"
  700. config KERNEL_START_BOOL
  701. bool "Set custom kernel base address"
  702. depends on ADVANCED_OPTIONS
  703. help
  704. This option allows you to set the kernel virtual address at which
  705. the kernel will map low memory (the kernel image will be linked at
  706. this address). This can be useful in optimizing the virtual memory
  707. layout of the system.
  708. Say N here unless you know what you are doing.
  709. config KERNEL_START
  710. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  711. default "0xc0000000"
  712. config TASK_SIZE_BOOL
  713. bool "Set custom user task size"
  714. depends on ADVANCED_OPTIONS
  715. help
  716. This option allows you to set the amount of virtual address space
  717. allocated to user tasks. This can be useful in optimizing the
  718. virtual memory layout of the system.
  719. Say N here unless you know what you are doing.
  720. config TASK_SIZE
  721. hex "Size of user task space" if TASK_SIZE_BOOL
  722. default "0x80000000"
  723. config CONSISTENT_START_BOOL
  724. bool "Set custom consistent memory pool address"
  725. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  726. help
  727. This option allows you to set the base virtual address
  728. of the the consistent memory pool. This pool of virtual
  729. memory is used to make consistent memory allocations.
  730. config CONSISTENT_START
  731. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  732. default "0xff100000" if NOT_COHERENT_CACHE
  733. config CONSISTENT_SIZE_BOOL
  734. bool "Set custom consistent memory pool size"
  735. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  736. help
  737. This option allows you to set the size of the the
  738. consistent memory pool. This pool of virtual memory
  739. is used to make consistent memory allocations.
  740. config CONSISTENT_SIZE
  741. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  742. default "0x00200000" if NOT_COHERENT_CACHE
  743. config BOOT_LOAD_BOOL
  744. bool "Set the boot link/load address"
  745. depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
  746. help
  747. This option allows you to set the initial load address of the zImage
  748. or zImage.initrd file. This can be useful if you are on a board
  749. which has a small amount of memory.
  750. Say N here unless you know what you are doing.
  751. config BOOT_LOAD
  752. hex "Link/load address for booting" if BOOT_LOAD_BOOL
  753. default "0x00400000" if 40x || 8xx || 8260
  754. default "0x01000000" if 44x
  755. default "0x00800000"
  756. config PIN_TLB
  757. bool "Pinned Kernel TLBs (860 ONLY)"
  758. depends on ADVANCED_OPTIONS && 8xx
  759. endmenu
  760. if PPC64
  761. config KERNEL_START
  762. hex
  763. default "0xc000000000000000"
  764. endif
  765. source "net/Kconfig"
  766. source "drivers/Kconfig"
  767. source "fs/Kconfig"
  768. # XXX source "arch/ppc/8xx_io/Kconfig"
  769. # XXX source "arch/ppc/8260_io/Kconfig"
  770. source "arch/powerpc/platforms/iseries/Kconfig"
  771. source "lib/Kconfig"
  772. menu "Instrumentation Support"
  773. depends on EXPERIMENTAL
  774. source "arch/powerpc/oprofile/Kconfig"
  775. config KPROBES
  776. bool "Kprobes (EXPERIMENTAL)"
  777. depends on PPC64
  778. help
  779. Kprobes allows you to trap at almost any kernel address and
  780. execute a callback function. register_kprobe() establishes
  781. a probepoint and specifies the callback. Kprobes is useful
  782. for kernel debugging, non-intrusive instrumentation and testing.
  783. If in doubt, say "N".
  784. endmenu
  785. source "arch/powerpc/Kconfig.debug"
  786. source "security/Kconfig"
  787. config KEYS_COMPAT
  788. bool
  789. depends on COMPAT && KEYS
  790. default y
  791. source "crypto/Kconfig"