Kconfig 22 KB

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