Kconfig 22 KB

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