Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  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 PPC_PM_NEEDS_RTC_LIB
  12. bool
  13. select RTC_LIB
  14. default y if PM
  15. config PPC32
  16. bool
  17. default y if !PPC64
  18. config 64BIT
  19. bool
  20. default y if PPC64
  21. config PPC_MERGE
  22. def_bool y
  23. config MMU
  24. bool
  25. default y
  26. config GENERIC_HARDIRQS
  27. bool
  28. default y
  29. config IRQ_PER_CPU
  30. bool
  31. default y
  32. config RWSEM_GENERIC_SPINLOCK
  33. bool
  34. config RWSEM_XCHGADD_ALGORITHM
  35. bool
  36. default y
  37. config ARCH_HAS_ILOG2_U32
  38. bool
  39. default y
  40. config ARCH_HAS_ILOG2_U64
  41. bool
  42. default y if 64BIT
  43. config GENERIC_HWEIGHT
  44. bool
  45. default y
  46. config GENERIC_CALIBRATE_DELAY
  47. bool
  48. default y
  49. config GENERIC_FIND_NEXT_BIT
  50. bool
  51. default y
  52. config ARCH_NO_VIRT_TO_BUS
  53. def_bool PPC64
  54. config PPC
  55. bool
  56. default y
  57. config EARLY_PRINTK
  58. bool
  59. default y
  60. config COMPAT
  61. bool
  62. default y if PPC64
  63. config SYSVIPC_COMPAT
  64. bool
  65. depends on COMPAT && SYSVIPC
  66. default y
  67. # All PPC32s use generic nvram driver through ppc_md
  68. config GENERIC_NVRAM
  69. bool
  70. default y if PPC32
  71. config SCHED_NO_NO_OMIT_FRAME_POINTER
  72. bool
  73. default y
  74. config ARCH_MAY_HAVE_PC_FDC
  75. bool
  76. default !PPC_PSERIES || PCI
  77. config PPC_OF
  78. def_bool y
  79. config PPC_UDBG_16550
  80. bool
  81. default n
  82. config GENERIC_TBSYNC
  83. bool
  84. default y if PPC32 && SMP
  85. default n
  86. config AUDIT_ARCH
  87. bool
  88. default y
  89. config GENERIC_BUG
  90. bool
  91. default y
  92. depends on BUG
  93. config SYS_SUPPORTS_APM_EMULATION
  94. default y if PMAC_APM_EMU
  95. bool
  96. config DEFAULT_UIMAGE
  97. bool
  98. help
  99. Used to allow a board to specify it wants a uImage built by default
  100. default n
  101. config PPC64_SWSUSP
  102. bool
  103. depends on PPC64 && (BROKEN || (PPC_PMAC64 && EXPERIMENTAL))
  104. default y
  105. menu "Processor support"
  106. choice
  107. prompt "Processor Type"
  108. depends on PPC32
  109. default 6xx
  110. config CLASSIC32
  111. bool "52xx/6xx/7xx/74xx"
  112. select PPC_FPU
  113. select 6xx
  114. help
  115. There are four families of PowerPC chips supported. The more common
  116. types (601, 603, 604, 740, 750, 7400), the Motorola embedded
  117. versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
  118. embedded versions (403 and 405) and the high end 64 bit Power
  119. processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
  120. This option is the catch-all for 6xx types, including some of the
  121. embedded versions. Unless there is see an option for the specific
  122. chip family you are using, you want this option.
  123. You do not want this if you are building a kernel for a 64 bit
  124. IBM RS/6000 or an Apple G5, choose 6xx.
  125. If unsure, select this option
  126. Note that the kernel runs in 32-bit mode even on 64-bit chips.
  127. config PPC_82xx
  128. bool "Freescale 82xx"
  129. select 6xx
  130. select PPC_FPU
  131. config PPC_83xx
  132. bool "Freescale 83xx"
  133. select 6xx
  134. select FSL_SOC
  135. select 83xx
  136. select PPC_FPU
  137. select WANT_DEVICE_TREE
  138. config PPC_85xx
  139. bool "Freescale 85xx"
  140. select E500
  141. select FSL_SOC
  142. select 85xx
  143. select WANT_DEVICE_TREE
  144. config PPC_86xx
  145. bool "Freescale 86xx"
  146. select 6xx
  147. select FSL_SOC
  148. select FSL_PCIE
  149. select PPC_FPU
  150. select ALTIVEC
  151. help
  152. The Freescale E600 SoCs have 74xx cores.
  153. config PPC_8xx
  154. bool "Freescale 8xx"
  155. select FSL_SOC
  156. select 8xx
  157. config 40x
  158. bool "AMCC 40x"
  159. select PPC_DCR_NATIVE
  160. config 44x
  161. bool "AMCC 44x"
  162. select PPC_DCR_NATIVE
  163. select WANT_DEVICE_TREE
  164. config E200
  165. bool "Freescale e200"
  166. endchoice
  167. config POWER4_ONLY
  168. bool "Optimize for POWER4"
  169. depends on PPC64
  170. default n
  171. ---help---
  172. Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
  173. The resulting binary will not work on POWER3 or RS64 processors
  174. when compiled with binutils 2.15 or later.
  175. config POWER3
  176. bool
  177. depends on PPC64
  178. default y if !POWER4_ONLY
  179. config POWER4
  180. depends on PPC64
  181. def_bool y
  182. config 6xx
  183. bool
  184. # this is temp to handle compat with arch=ppc
  185. config 8xx
  186. bool
  187. # this is temp to handle compat with arch=ppc
  188. config 83xx
  189. bool
  190. # this is temp to handle compat with arch=ppc
  191. config 85xx
  192. bool
  193. config E500
  194. bool
  195. config PPC_FPU
  196. bool
  197. default y if PPC64
  198. config PPC_DCR_NATIVE
  199. bool
  200. default n
  201. config PPC_DCR_MMIO
  202. bool
  203. default n
  204. config PPC_DCR
  205. bool
  206. depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
  207. default y
  208. config PPC_OF_PLATFORM_PCI
  209. bool
  210. depends on PPC64 # not supported on 32 bits yet
  211. default n
  212. config 4xx
  213. bool
  214. depends on 40x || 44x
  215. default y
  216. config BOOKE
  217. bool
  218. depends on E200 || E500 || 44x
  219. default y
  220. config FSL_BOOKE
  221. bool
  222. depends on E200 || E500
  223. default y
  224. config PTE_64BIT
  225. bool
  226. depends on 44x || E500
  227. default y if 44x
  228. default y if E500 && PHYS_64BIT
  229. config PHYS_64BIT
  230. bool 'Large physical address support' if E500
  231. depends on 44x || E500
  232. select RESOURCES_64BIT
  233. default y if 44x
  234. ---help---
  235. This option enables kernel support for larger than 32-bit physical
  236. addresses. This features is not be available on all e500 cores.
  237. If in doubt, say N here.
  238. config ALTIVEC
  239. bool "AltiVec Support"
  240. depends on CLASSIC32 || POWER4
  241. ---help---
  242. This option enables kernel support for the Altivec extensions to the
  243. PowerPC processor. The kernel currently supports saving and restoring
  244. altivec registers, and turning on the 'altivec enable' bit so user
  245. processes can execute altivec instructions.
  246. This option is only usefully if you have a processor that supports
  247. altivec (G4, otherwise known as 74xx series), but does not have
  248. any affect on a non-altivec cpu (it does, however add code to the
  249. kernel).
  250. If in doubt, say Y here.
  251. config SPE
  252. bool "SPE Support"
  253. depends on E200 || E500
  254. default y
  255. ---help---
  256. This option enables kernel support for the Signal Processing
  257. Extensions (SPE) to the PowerPC processor. The kernel currently
  258. supports saving and restoring SPE registers, and turning on the
  259. 'spe enable' bit so user processes can execute SPE instructions.
  260. This option is only useful if you have a processor that supports
  261. SPE (e500, otherwise known as 85xx series), but does not have any
  262. effect on a non-spe cpu (it does, however add code to the kernel).
  263. If in doubt, say Y here.
  264. config PPC_STD_MMU
  265. bool
  266. depends on 6xx || POWER3 || POWER4 || PPC64
  267. default y
  268. config PPC_STD_MMU_32
  269. def_bool y
  270. depends on PPC_STD_MMU && PPC32
  271. config PPC_MM_SLICES
  272. bool
  273. default y if HUGETLB_PAGE
  274. default n
  275. config VIRT_CPU_ACCOUNTING
  276. bool "Deterministic task and CPU time accounting"
  277. depends on PPC64
  278. default y
  279. help
  280. Select this option to enable more accurate task and CPU time
  281. accounting. This is done by reading a CPU counter on each
  282. kernel entry and exit and on transitions within the kernel
  283. between system, softirq and hardirq state, so there is a
  284. small performance impact. This also enables accounting of
  285. stolen time on logically-partitioned systems running on
  286. IBM POWER5-based machines.
  287. If in doubt, say Y here.
  288. config SMP
  289. depends on PPC_STD_MMU
  290. bool "Symmetric multi-processing support"
  291. ---help---
  292. This enables support for systems with more than one CPU. If you have
  293. a system with only one CPU, say N. If you have a system with more
  294. than one CPU, say Y. Note that the kernel does not currently
  295. support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
  296. since they have inadequate hardware support for multiprocessor
  297. operation.
  298. If you say N here, the kernel will run on single and multiprocessor
  299. machines, but will use only one CPU of a multiprocessor machine. If
  300. you say Y here, the kernel will run on single-processor machines.
  301. On a single-processor machine, the kernel will run faster if you say
  302. N here.
  303. If you don't know what to do here, say N.
  304. config NR_CPUS
  305. int "Maximum number of CPUs (2-128)"
  306. range 2 128
  307. depends on SMP
  308. default "32" if PPC64
  309. default "4"
  310. config NOT_COHERENT_CACHE
  311. bool
  312. depends on 4xx || 8xx || E200
  313. default y
  314. config CONFIG_CHECK_CACHE_COHERENCY
  315. bool
  316. endmenu
  317. source "init/Kconfig"
  318. source "arch/powerpc/platforms/Kconfig"
  319. menu "Kernel options"
  320. config HIGHMEM
  321. bool "High memory support"
  322. depends on PPC32
  323. source kernel/Kconfig.hz
  324. source kernel/Kconfig.preempt
  325. source "fs/Kconfig.binfmt"
  326. # We optimistically allocate largepages from the VM, so make the limit
  327. # large enough (16MB). This badly named config option is actually
  328. # max order + 1
  329. config FORCE_MAX_ZONEORDER
  330. int
  331. depends on PPC64
  332. default "9" if PPC_64K_PAGES
  333. default "13"
  334. config MATH_EMULATION
  335. bool "Math emulation"
  336. depends on 4xx || 8xx || E200 || PPC_MPC832x || E500
  337. ---help---
  338. Some PowerPC chips designed for embedded applications do not have
  339. a floating-point unit and therefore do not implement the
  340. floating-point instructions in the PowerPC instruction set. If you
  341. say Y here, the kernel will include code to emulate a floating-point
  342. unit, which will allow programs that use floating-point
  343. instructions to run.
  344. config IOMMU_VMERGE
  345. bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
  346. depends on EXPERIMENTAL && PPC64
  347. default n
  348. help
  349. Cause IO segments sent to a device for DMA to be merged virtually
  350. by the IOMMU when they happen to have been allocated contiguously.
  351. This doesn't add pressure to the IOMMU allocator. However, some
  352. drivers don't support getting large merged segments coming back
  353. from *_map_sg(). Say Y if you know the drivers you are using are
  354. properly handling this case.
  355. config HOTPLUG_CPU
  356. bool "Support for enabling/disabling CPUs"
  357. depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  358. ---help---
  359. Say Y here to be able to disable and re-enable individual
  360. CPUs at runtime on SMP machines.
  361. Say N if you are unsure.
  362. config ARCH_ENABLE_MEMORY_HOTPLUG
  363. def_bool y
  364. config KEXEC
  365. bool "kexec system call (EXPERIMENTAL)"
  366. depends on (PPC_PRPMC2800 || PPC_MULTIPLATFORM) && EXPERIMENTAL
  367. help
  368. kexec is a system call that implements the ability to shutdown your
  369. current kernel, and to start another kernel. It is like a reboot
  370. but it is independent of the system firmware. And like a reboot
  371. you can start any kernel with it, not just Linux.
  372. The name comes from the similarity to the exec system call.
  373. It is an ongoing process to be certain the hardware in a machine
  374. is properly shutdown, so do not be surprised if this code does not
  375. initially work for you. It may help to enable device hotplugging
  376. support. As of this writing the exact hardware interface is
  377. strongly in flux, so no good recommendation can be made.
  378. config CRASH_DUMP
  379. bool "Build a kdump crash kernel (EXPERIMENTAL)"
  380. depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
  381. help
  382. Build a kernel suitable for use as a kdump capture kernel.
  383. The kernel will be linked at a different address than normal, and
  384. so can only be used for Kdump.
  385. Don't change this unless you know what you are doing.
  386. config PPCBUG_NVRAM
  387. bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
  388. default y if PPC_PREP
  389. config IRQ_ALL_CPUS
  390. bool "Distribute interrupts on all CPUs by default"
  391. depends on SMP && !MV64360
  392. help
  393. This option gives the kernel permission to distribute IRQs across
  394. multiple CPUs. Saying N here will route all IRQs to the first
  395. CPU. Generally saying Y is safe, although some problems have been
  396. reported with SMP Power Macintoshes with this option enabled.
  397. config NUMA
  398. bool "NUMA support"
  399. depends on PPC64
  400. default y if SMP && PPC_PSERIES
  401. config NODES_SHIFT
  402. int
  403. default "4"
  404. depends on NEED_MULTIPLE_NODES
  405. config ARCH_SELECT_MEMORY_MODEL
  406. def_bool y
  407. depends on PPC64
  408. config ARCH_FLATMEM_ENABLE
  409. def_bool y
  410. depends on (PPC64 && !NUMA) || PPC32
  411. config ARCH_SPARSEMEM_ENABLE
  412. def_bool y
  413. depends on PPC64
  414. config ARCH_SPARSEMEM_DEFAULT
  415. def_bool y
  416. depends on (SMP && PPC_PSERIES) || PPC_PS3
  417. config ARCH_POPULATES_NODE_MAP
  418. def_bool y
  419. source "mm/Kconfig"
  420. config ARCH_MEMORY_PROBE
  421. def_bool y
  422. depends on MEMORY_HOTPLUG
  423. # Some NUMA nodes have memory ranges that span
  424. # other nodes. Even though a pfn is valid and
  425. # between a node's start and end pfns, it may not
  426. # reside on that node. See memmap_init_zone()
  427. # for details.
  428. config NODES_SPAN_OTHER_NODES
  429. def_bool y
  430. depends on NEED_MULTIPLE_NODES
  431. config PPC_HAS_HASH_64K
  432. bool
  433. depends on PPC64
  434. default n
  435. config PPC_64K_PAGES
  436. bool "64k page size"
  437. depends on PPC64
  438. select PPC_HAS_HASH_64K
  439. help
  440. This option changes the kernel logical page size to 64k. On machines
  441. without processor support for 64k pages, the kernel will simulate
  442. them by loading each individual 4k page on demand transparently,
  443. while on hardware with such support, it will be used to map
  444. normal application pages.
  445. config SCHED_SMT
  446. bool "SMT (Hyperthreading) scheduler support"
  447. depends on PPC64 && SMP
  448. help
  449. SMT scheduler support improves the CPU scheduler's decision making
  450. when dealing with POWER5 cpus at a cost of slightly increased
  451. overhead in some places. If unsure say N here.
  452. config PROC_DEVICETREE
  453. bool "Support for device tree in /proc"
  454. depends on PROC_FS
  455. help
  456. This option adds a device-tree directory under /proc which contains
  457. an image of the device tree that the kernel copies from Open
  458. Firmware or other boot firmware. If unsure, say Y here.
  459. config CMDLINE_BOOL
  460. bool "Default bootloader kernel arguments"
  461. config CMDLINE
  462. string "Initial kernel command string"
  463. depends on CMDLINE_BOOL
  464. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  465. help
  466. On some platforms, there is currently no way for the boot loader to
  467. pass arguments to the kernel. For these platforms, you can supply
  468. some command-line options at build time by entering them here. In
  469. most cases you will need to specify the root device here.
  470. if !44x || BROKEN
  471. source kernel/power/Kconfig
  472. endif
  473. config SECCOMP
  474. bool "Enable seccomp to safely compute untrusted bytecode"
  475. depends on PROC_FS
  476. default y
  477. help
  478. This kernel feature is useful for number crunching applications
  479. that may need to compute untrusted bytecode during their
  480. execution. By using pipes or other transports made available to
  481. the process as file descriptors supporting the read/write
  482. syscalls, it's possible to isolate those applications in
  483. their own address space using seccomp. Once seccomp is
  484. enabled via /proc/<pid>/seccomp, it cannot be disabled
  485. and the task is only allowed to execute a few safe syscalls
  486. defined by each seccomp mode.
  487. If unsure, say Y. Only embedded should say N here.
  488. config WANT_DEVICE_TREE
  489. bool
  490. default n
  491. config DEVICE_TREE
  492. string "Static device tree source file"
  493. depends on WANT_DEVICE_TREE
  494. help
  495. This specifies the device tree source (.dts) file to be
  496. compiled and included when building the bootwrapper. If a
  497. relative filename is given, then it will be relative to
  498. arch/powerpc/boot/dts. If you are not using the bootwrapper,
  499. or do not need to build a dts into the bootwrapper, this
  500. field is ignored.
  501. For example, this is required when building a cuImage target
  502. for an older U-Boot, which cannot pass a device tree itself.
  503. Such a kernel will not work with a newer U-Boot that tries to
  504. pass a device tree (unless you tell it not to). If your U-Boot
  505. does not mention a device tree in "help bootm", then use the
  506. cuImage target and specify a device tree here. Otherwise, use
  507. the uImage target and leave this field blank.
  508. endmenu
  509. config ISA_DMA_API
  510. bool
  511. default y
  512. menu "Bus options"
  513. config ISA
  514. bool "Support for ISA-bus hardware"
  515. depends on PPC_PREP || PPC_CHRP
  516. select PPC_I8259
  517. help
  518. Find out whether you have ISA slots on your motherboard. ISA is the
  519. name of a bus system, i.e. the way the CPU talks to the other stuff
  520. inside your box. If you have an Apple machine, say N here; if you
  521. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  522. you have an embedded board, consult your board documentation.
  523. config ZONE_DMA
  524. bool
  525. default y
  526. config GENERIC_ISA_DMA
  527. bool
  528. depends on PPC64 || POWER4 || 6xx && !CPM2
  529. default y
  530. config PPC_INDIRECT_PCI
  531. bool
  532. depends on PCI
  533. default y if 40x || 44x
  534. default n
  535. config PPC_INDIRECT_PCI_BE
  536. bool
  537. depends PPC_INDIRECT_PCI
  538. default n
  539. config EISA
  540. bool
  541. config SBUS
  542. bool
  543. config FSL_SOC
  544. bool
  545. config FSL_PCIE
  546. bool
  547. depends on PPC_86xx
  548. # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
  549. config MCA
  550. bool
  551. config PCI
  552. bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_86xx \
  553. || PPC_MPC52xx || (EMBEDDED && (PPC_PSERIES || PPC_ISERIES)) \
  554. || MPC7448HPC2 || PPC_PS3 || PPC_HOLLY
  555. default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx \
  556. && !PPC_85xx && !PPC_86xx
  557. default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
  558. default PCI_QSPAN if !4xx && !CPM2 && 8xx
  559. select ARCH_SUPPORTS_MSI
  560. help
  561. Find out whether your system includes a PCI bus. PCI is the name of
  562. a bus system, i.e. the way the CPU talks to the other stuff inside
  563. your box. If you say Y here, the kernel will include drivers and
  564. infrastructure code to support PCI bus devices.
  565. config PCI_DOMAINS
  566. def_bool PCI
  567. config PCI_SYSCALL
  568. def_bool PCI
  569. config PCI_QSPAN
  570. bool "QSpan PCI"
  571. depends on !4xx && !CPM2 && 8xx
  572. select PPC_I8259
  573. help
  574. Say Y here if you have a system based on a Motorola 8xx-series
  575. embedded processor with a QSPAN PCI interface, otherwise say N.
  576. config PCI_8260
  577. bool
  578. depends on PCI && 8260
  579. select PPC_INDIRECT_PCI
  580. default y
  581. config 8260_PCI9
  582. bool "Enable workaround for MPC826x erratum PCI 9"
  583. depends on PCI_8260 && !ADS8272
  584. default y
  585. choice
  586. prompt "IDMA channel for PCI 9 workaround"
  587. depends on 8260_PCI9
  588. config 8260_PCI9_IDMA1
  589. bool "IDMA1"
  590. config 8260_PCI9_IDMA2
  591. bool "IDMA2"
  592. config 8260_PCI9_IDMA3
  593. bool "IDMA3"
  594. config 8260_PCI9_IDMA4
  595. bool "IDMA4"
  596. endchoice
  597. source "drivers/pci/pcie/Kconfig"
  598. source "drivers/pci/Kconfig"
  599. source "drivers/pcmcia/Kconfig"
  600. source "drivers/pci/hotplug/Kconfig"
  601. endmenu
  602. menu "Advanced setup"
  603. depends on PPC32
  604. config ADVANCED_OPTIONS
  605. bool "Prompt for advanced kernel configuration options"
  606. help
  607. This option will enable prompting for a variety of advanced kernel
  608. configuration options. These options can cause the kernel to not
  609. work if they are set incorrectly, but can be used to optimize certain
  610. aspects of kernel memory management.
  611. Unless you know what you are doing, say N here.
  612. comment "Default settings for advanced configuration options are used"
  613. depends on !ADVANCED_OPTIONS
  614. config HIGHMEM_START_BOOL
  615. bool "Set high memory pool address"
  616. depends on ADVANCED_OPTIONS && HIGHMEM
  617. help
  618. This option allows you to set the base address of the kernel virtual
  619. area used to map high memory pages. This can be useful in
  620. optimizing the layout of kernel virtual memory.
  621. Say N here unless you know what you are doing.
  622. config HIGHMEM_START
  623. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  624. default "0xfe000000"
  625. config LOWMEM_SIZE_BOOL
  626. bool "Set maximum low memory"
  627. depends on ADVANCED_OPTIONS
  628. help
  629. This option allows you to set the maximum amount of memory which
  630. will be used as "low memory", that is, memory which the kernel can
  631. access directly, without having to set up a kernel virtual mapping.
  632. This can be useful in optimizing the layout of kernel virtual
  633. memory.
  634. Say N here unless you know what you are doing.
  635. config LOWMEM_SIZE
  636. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  637. default "0x30000000"
  638. config KERNEL_START_BOOL
  639. bool "Set custom kernel base address"
  640. depends on ADVANCED_OPTIONS
  641. help
  642. This option allows you to set the kernel virtual address at which
  643. the kernel will map low memory (the kernel image will be linked at
  644. this address). This can be useful in optimizing the virtual memory
  645. layout of the system.
  646. Say N here unless you know what you are doing.
  647. config KERNEL_START
  648. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  649. default "0xc0000000"
  650. config TASK_SIZE_BOOL
  651. bool "Set custom user task size"
  652. depends on ADVANCED_OPTIONS
  653. help
  654. This option allows you to set the amount of virtual address space
  655. allocated to user tasks. This can be useful in optimizing the
  656. virtual memory layout of the system.
  657. Say N here unless you know what you are doing.
  658. config TASK_SIZE
  659. hex "Size of user task space" if TASK_SIZE_BOOL
  660. default "0x80000000"
  661. config CONSISTENT_START_BOOL
  662. bool "Set custom consistent memory pool address"
  663. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  664. help
  665. This option allows you to set the base virtual address
  666. of the consistent memory pool. This pool of virtual
  667. memory is used to make consistent memory allocations.
  668. config CONSISTENT_START
  669. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  670. default "0xff100000" if NOT_COHERENT_CACHE
  671. config CONSISTENT_SIZE_BOOL
  672. bool "Set custom consistent memory pool size"
  673. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  674. help
  675. This option allows you to set the size of the
  676. consistent memory pool. This pool of virtual memory
  677. is used to make consistent memory allocations.
  678. config CONSISTENT_SIZE
  679. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  680. default "0x00200000" if NOT_COHERENT_CACHE
  681. config BOOT_LOAD_BOOL
  682. bool "Set the boot link/load address"
  683. depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
  684. help
  685. This option allows you to set the initial load address of the zImage
  686. or zImage.initrd file. This can be useful if you are on a board
  687. which has a small amount of memory.
  688. Say N here unless you know what you are doing.
  689. config BOOT_LOAD
  690. hex "Link/load address for booting" if BOOT_LOAD_BOOL
  691. default "0x00400000" if 40x || 8xx || 8260
  692. default "0x01000000" if 44x
  693. default "0x00800000"
  694. config PIN_TLB
  695. bool "Pinned Kernel TLBs (860 ONLY)"
  696. depends on ADVANCED_OPTIONS && 8xx
  697. endmenu
  698. if PPC64
  699. config KERNEL_START
  700. hex
  701. default "0xc000000000000000"
  702. endif
  703. source "net/Kconfig"
  704. source "drivers/Kconfig"
  705. source "fs/Kconfig"
  706. # XXX source "arch/ppc/8xx_io/Kconfig"
  707. # XXX source "arch/ppc/8260_io/Kconfig"
  708. source "arch/powerpc/sysdev/qe_lib/Kconfig"
  709. source "lib/Kconfig"
  710. menu "Instrumentation Support"
  711. depends on EXPERIMENTAL
  712. source "arch/powerpc/oprofile/Kconfig"
  713. config KPROBES
  714. bool "Kprobes (EXPERIMENTAL)"
  715. depends on !BOOKE && !4xx && KALLSYMS && EXPERIMENTAL && MODULES
  716. help
  717. Kprobes allows you to trap at almost any kernel address and
  718. execute a callback function. register_kprobe() establishes
  719. a probepoint and specifies the callback. Kprobes is useful
  720. for kernel debugging, non-intrusive instrumentation and testing.
  721. If in doubt, say "N".
  722. endmenu
  723. source "arch/powerpc/Kconfig.debug"
  724. source "security/Kconfig"
  725. config KEYS_COMPAT
  726. bool
  727. depends on COMPAT && KEYS
  728. default y
  729. source "crypto/Kconfig"