Kconfig 21 KB

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