Kconfig 22 KB

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