Kconfig 22 KB

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