Kconfig 26 KB

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