Kconfig 25 KB

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