Kconfig 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  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. source "arch/powerpc/platforms/Kconfig.cputype"
  6. config PPC32
  7. bool
  8. default y if !PPC64
  9. config 64BIT
  10. bool
  11. default y if PPC64
  12. config WORD_SIZE
  13. int
  14. default 64 if PPC64
  15. default 32 if !PPC64
  16. config ARCH_PHYS_ADDR_T_64BIT
  17. def_bool PPC64 || PHYS_64BIT
  18. config MMU
  19. bool
  20. default y
  21. config GENERIC_CMOS_UPDATE
  22. def_bool y
  23. config GENERIC_TIME
  24. def_bool y
  25. config GENERIC_TIME_VSYSCALL
  26. def_bool y
  27. config GENERIC_CLOCKEVENTS
  28. def_bool y
  29. config GENERIC_HARDIRQS
  30. bool
  31. default y
  32. config HAVE_SETUP_PER_CPU_AREA
  33. def_bool PPC64
  34. config IRQ_PER_CPU
  35. bool
  36. default y
  37. config STACKTRACE_SUPPORT
  38. bool
  39. default y
  40. config HAVE_LATENCYTOP_SUPPORT
  41. def_bool y
  42. config TRACE_IRQFLAGS_SUPPORT
  43. bool
  44. depends on PPC64
  45. default y
  46. config LOCKDEP_SUPPORT
  47. bool
  48. default y
  49. config RWSEM_GENERIC_SPINLOCK
  50. bool
  51. config RWSEM_XCHGADD_ALGORITHM
  52. bool
  53. default y
  54. config GENERIC_LOCKBREAK
  55. bool
  56. default y
  57. depends on SMP && PREEMPT
  58. config ARCH_HAS_ILOG2_U32
  59. bool
  60. default y
  61. config ARCH_HAS_ILOG2_U64
  62. bool
  63. default y if 64BIT
  64. config GENERIC_HWEIGHT
  65. bool
  66. default y
  67. config GENERIC_CALIBRATE_DELAY
  68. bool
  69. default y
  70. config GENERIC_FIND_NEXT_BIT
  71. bool
  72. default y
  73. config GENERIC_GPIO
  74. bool
  75. help
  76. Generic GPIO API support
  77. config ARCH_NO_VIRT_TO_BUS
  78. def_bool PPC64
  79. config PPC
  80. bool
  81. default y
  82. select HAVE_FTRACE_MCOUNT_RECORD
  83. select HAVE_DYNAMIC_FTRACE
  84. select HAVE_FUNCTION_TRACER
  85. select HAVE_FUNCTION_GRAPH_TRACER
  86. select ARCH_WANT_OPTIONAL_GPIOLIB
  87. select HAVE_IDE
  88. select HAVE_IOREMAP_PROT
  89. select HAVE_EFFICIENT_UNALIGNED_ACCESS
  90. select HAVE_KPROBES
  91. select HAVE_ARCH_KGDB
  92. select HAVE_KRETPROBES
  93. select HAVE_ARCH_TRACEHOOK
  94. select HAVE_LMB
  95. select HAVE_DMA_ATTRS if PPC64
  96. select USE_GENERIC_SMP_HELPERS if SMP
  97. select HAVE_OPROFILE
  98. select HAVE_SYSCALL_WRAPPERS if PPC64
  99. config EARLY_PRINTK
  100. bool
  101. default y
  102. config COMPAT
  103. bool
  104. default y if PPC64
  105. select COMPAT_BINFMT_ELF
  106. config SYSVIPC_COMPAT
  107. bool
  108. depends on COMPAT && SYSVIPC
  109. default y
  110. # All PPC32s use generic nvram driver through ppc_md
  111. config GENERIC_NVRAM
  112. bool
  113. default y if PPC32
  114. config SCHED_OMIT_FRAME_POINTER
  115. bool
  116. default y
  117. config ARCH_MAY_HAVE_PC_FDC
  118. bool
  119. default !PPC_PSERIES || PCI
  120. config PPC_OF
  121. def_bool y
  122. config OF
  123. def_bool y
  124. config PPC_UDBG_16550
  125. bool
  126. default n
  127. config GENERIC_TBSYNC
  128. bool
  129. default y if PPC32 && SMP
  130. default n
  131. config AUDIT_ARCH
  132. bool
  133. default y
  134. config GENERIC_BUG
  135. bool
  136. default y
  137. depends on BUG
  138. config SYS_SUPPORTS_APM_EMULATION
  139. default y if PMAC_APM_EMU
  140. bool
  141. config DTC
  142. bool
  143. default y
  144. config DEFAULT_UIMAGE
  145. bool
  146. help
  147. Used to allow a board to specify it wants a uImage built by default
  148. default n
  149. config REDBOOT
  150. bool
  151. config HIBERNATE_32
  152. bool
  153. depends on (PPC_PMAC && !SMP) || BROKEN
  154. default y
  155. config HIBERNATE_64
  156. bool
  157. depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL)
  158. default y
  159. config ARCH_HIBERNATION_POSSIBLE
  160. bool
  161. depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32)
  162. default y
  163. config ARCH_SUSPEND_POSSIBLE
  164. def_bool y
  165. depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx
  166. config PPC_DCR_NATIVE
  167. bool
  168. default n
  169. config PPC_DCR_MMIO
  170. bool
  171. default n
  172. config PPC_DCR
  173. bool
  174. depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
  175. default y
  176. config PPC_OF_PLATFORM_PCI
  177. bool
  178. depends on PCI
  179. depends on PPC64 # not supported on 32 bits yet
  180. default n
  181. config ARCH_SUPPORTS_DEBUG_PAGEALLOC
  182. def_bool y
  183. source "init/Kconfig"
  184. source "kernel/Kconfig.freezer"
  185. source "arch/powerpc/sysdev/Kconfig"
  186. source "arch/powerpc/platforms/Kconfig"
  187. menu "Kernel options"
  188. config HIGHMEM
  189. bool "High memory support"
  190. depends on PPC32
  191. source kernel/time/Kconfig
  192. source kernel/Kconfig.hz
  193. source kernel/Kconfig.preempt
  194. source "fs/Kconfig.binfmt"
  195. config HUGETLB_PAGE_SIZE_VARIABLE
  196. bool
  197. depends on HUGETLB_PAGE
  198. default y
  199. config MATH_EMULATION
  200. bool "Math emulation"
  201. depends on 4xx || 8xx || E200 || PPC_MPC832x || E500
  202. ---help---
  203. Some PowerPC chips designed for embedded applications do not have
  204. a floating-point unit and therefore do not implement the
  205. floating-point instructions in the PowerPC instruction set. If you
  206. say Y here, the kernel will include code to emulate a floating-point
  207. unit, which will allow programs that use floating-point
  208. instructions to run.
  209. config 8XX_MINIMAL_FPEMU
  210. bool "Minimal math emulation for 8xx"
  211. depends on 8xx && !MATH_EMULATION
  212. help
  213. Older arch/ppc kernels still emulated a few floating point
  214. instructions such as load and store, even when full math
  215. emulation is disabled. Say "Y" here if you want to preserve
  216. this behavior.
  217. It is recommended that you build a soft-float userspace instead.
  218. config IOMMU_VMERGE
  219. bool "Enable IOMMU virtual merging"
  220. depends on PPC64
  221. default y
  222. help
  223. Cause IO segments sent to a device for DMA to be merged virtually
  224. by the IOMMU when they happen to have been allocated contiguously.
  225. This doesn't add pressure to the IOMMU allocator. However, some
  226. drivers don't support getting large merged segments coming back
  227. from *_map_sg().
  228. Most drivers don't have this problem; it is safe to say Y here.
  229. config IOMMU_HELPER
  230. def_bool PPC64
  231. config PPC_NEED_DMA_SYNC_OPS
  232. def_bool y
  233. depends on NOT_COHERENT_CACHE
  234. config HOTPLUG_CPU
  235. bool "Support for enabling/disabling CPUs"
  236. depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  237. ---help---
  238. Say Y here to be able to disable and re-enable individual
  239. CPUs at runtime on SMP machines.
  240. Say N if you are unsure.
  241. config ARCH_ENABLE_MEMORY_HOTPLUG
  242. def_bool y
  243. config ARCH_HAS_WALK_MEMORY
  244. def_bool y
  245. config ARCH_ENABLE_MEMORY_HOTREMOVE
  246. def_bool y
  247. config KEXEC
  248. bool "kexec system call (EXPERIMENTAL)"
  249. depends on PPC_BOOK3S && EXPERIMENTAL
  250. help
  251. kexec is a system call that implements the ability to shutdown your
  252. current kernel, and to start another kernel. It is like a reboot
  253. but it is independent of the system firmware. And like a reboot
  254. you can start any kernel with it, not just Linux.
  255. The name comes from the similarity to the exec system call.
  256. It is an ongoing process to be certain the hardware in a machine
  257. is properly shutdown, so do not be surprised if this code does not
  258. initially work for you. It may help to enable device hotplugging
  259. support. As of this writing the exact hardware interface is
  260. strongly in flux, so no good recommendation can be made.
  261. config CRASH_DUMP
  262. bool "Build a kdump crash kernel"
  263. depends on PPC64 || 6xx
  264. select RELOCATABLE if PPC64
  265. help
  266. Build a kernel suitable for use as a kdump capture kernel.
  267. The same kernel binary can be used as production kernel and dump
  268. capture kernel.
  269. config PHYP_DUMP
  270. bool "Hypervisor-assisted dump (EXPERIMENTAL)"
  271. depends on PPC_PSERIES && EXPERIMENTAL
  272. help
  273. Hypervisor-assisted dump is meant to be a kdump replacement
  274. offering robustness and speed not possible without system
  275. hypervisor assistance.
  276. If unsure, say "N"
  277. config PPCBUG_NVRAM
  278. bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
  279. default y if PPC_PREP
  280. config IRQ_ALL_CPUS
  281. bool "Distribute interrupts on all CPUs by default"
  282. depends on SMP && !MV64360
  283. help
  284. This option gives the kernel permission to distribute IRQs across
  285. multiple CPUs. Saying N here will route all IRQs to the first
  286. CPU. Generally saying Y is safe, although some problems have been
  287. reported with SMP Power Macintoshes with this option enabled.
  288. config NUMA
  289. bool "NUMA support"
  290. depends on PPC64
  291. default y if SMP && PPC_PSERIES
  292. config NODES_SHIFT
  293. int
  294. default "4"
  295. depends on NEED_MULTIPLE_NODES
  296. config ARCH_SELECT_MEMORY_MODEL
  297. def_bool y
  298. depends on PPC64
  299. config ARCH_FLATMEM_ENABLE
  300. def_bool y
  301. depends on (PPC64 && !NUMA) || PPC32
  302. config ARCH_SPARSEMEM_ENABLE
  303. def_bool y
  304. depends on PPC64
  305. select SPARSEMEM_VMEMMAP_ENABLE
  306. config ARCH_SPARSEMEM_DEFAULT
  307. def_bool y
  308. depends on (SMP && PPC_PSERIES) || PPC_PS3
  309. config ARCH_POPULATES_NODE_MAP
  310. def_bool y
  311. source "mm/Kconfig"
  312. config ARCH_MEMORY_PROBE
  313. def_bool y
  314. depends on MEMORY_HOTPLUG
  315. # Some NUMA nodes have memory ranges that span
  316. # other nodes. Even though a pfn is valid and
  317. # between a node's start and end pfns, it may not
  318. # reside on that node. See memmap_init_zone()
  319. # for details.
  320. config NODES_SPAN_OTHER_NODES
  321. def_bool y
  322. depends on NEED_MULTIPLE_NODES
  323. config PPC_HAS_HASH_64K
  324. bool
  325. depends on PPC64
  326. default n
  327. config STDBINUTILS
  328. bool "Using standard binutils settings"
  329. depends on 44x
  330. default y
  331. help
  332. Turning this option off allows you to select 256KB PAGE_SIZE on 44x.
  333. Note, that kernel will be able to run only those applications,
  334. which had been compiled using binutils later than 2.17.50.0.3 with
  335. '-zmax-page-size' set to 256K (the default is 64K). Or, if using
  336. the older binutils, you can patch them with a trivial patch, which
  337. changes the ELF_MAXPAGESIZE definition from 0x10000 to 0x40000.
  338. choice
  339. prompt "Page size"
  340. default PPC_4K_PAGES
  341. help
  342. Select the kernel logical page size. Increasing the page size
  343. will reduce software overhead at each page boundary, allow
  344. hardware prefetch mechanisms to be more effective, and allow
  345. larger dma transfers increasing IO efficiency and reducing
  346. overhead. However the utilization of memory will increase.
  347. For example, each cached file will using a multiple of the
  348. page size to hold its contents and the difference between the
  349. end of file and the end of page is wasted.
  350. Some dedicated systems, such as software raid serving with
  351. accelerated calculations, have shown significant increases.
  352. If you configure a 64 bit kernel for 64k pages but the
  353. processor does not support them, then the kernel will simulate
  354. them with 4k pages, loading them on demand, but with the
  355. reduced software overhead and larger internal fragmentation.
  356. For the 32 bit kernel, a large page option will not be offered
  357. unless it is supported by the configured processor.
  358. If unsure, choose 4K_PAGES.
  359. config PPC_4K_PAGES
  360. bool "4k page size"
  361. config PPC_16K_PAGES
  362. bool "16k page size" if 44x
  363. config PPC_64K_PAGES
  364. bool "64k page size" if 44x || PPC_STD_MMU_64
  365. select PPC_HAS_HASH_64K if PPC_STD_MMU_64
  366. config PPC_256K_PAGES
  367. bool "256k page size" if 44x
  368. depends on !STDBINUTILS
  369. help
  370. Make the page size 256k.
  371. As the ELF standard only requires alignment to support page
  372. sizes up to 64k, you will need to compile all of your user
  373. space applications with a non-standard binutils settings
  374. (see the STDBINUTILS description for details).
  375. Say N unless you know what you are doing.
  376. endchoice
  377. config FORCE_MAX_ZONEORDER
  378. int "Maximum zone order"
  379. range 9 64 if PPC_STD_MMU_64 && PPC_64K_PAGES
  380. default "9" if PPC_STD_MMU_64 && PPC_64K_PAGES
  381. range 13 64 if PPC_STD_MMU_64 && !PPC_64K_PAGES
  382. default "13" if PPC_STD_MMU_64 && !PPC_64K_PAGES
  383. range 9 64 if PPC_STD_MMU_32 && PPC_16K_PAGES
  384. default "9" if PPC_STD_MMU_32 && PPC_16K_PAGES
  385. range 7 64 if PPC_STD_MMU_32 && PPC_64K_PAGES
  386. default "7" if PPC_STD_MMU_32 && PPC_64K_PAGES
  387. range 5 64 if PPC_STD_MMU_32 && PPC_256K_PAGES
  388. default "5" if PPC_STD_MMU_32 && PPC_256K_PAGES
  389. range 11 64
  390. default "11"
  391. help
  392. The kernel memory allocator divides physically contiguous memory
  393. blocks into "zones", where each zone is a power of two number of
  394. pages. This option selects the largest power of two that the kernel
  395. keeps in the memory allocator. If you need to allocate very large
  396. blocks of physically contiguous memory, then you may need to
  397. increase this value.
  398. This config option is actually maximum order plus one. For example,
  399. a value of 11 means that the largest free memory block is 2^10 pages.
  400. The page size is not necessarily 4KB. For example, on 64-bit
  401. systems, 64KB pages can be enabled via CONFIG_PPC_64K_PAGES. Keep
  402. this in mind when choosing a value for this option.
  403. config PPC_SUBPAGE_PROT
  404. bool "Support setting protections for 4k subpages"
  405. depends on PPC_STD_MMU_64 && PPC_64K_PAGES
  406. help
  407. This option adds support for a system call to allow user programs
  408. to set access permissions (read/write, readonly, or no access)
  409. on the 4k subpages of each 64k page.
  410. config SCHED_SMT
  411. bool "SMT (Hyperthreading) scheduler support"
  412. depends on PPC64 && SMP
  413. help
  414. SMT scheduler support improves the CPU scheduler's decision making
  415. when dealing with POWER5 cpus at a cost of slightly increased
  416. overhead in some places. If unsure say N here.
  417. config PROC_DEVICETREE
  418. bool "Support for device tree in /proc"
  419. depends on PROC_FS
  420. help
  421. This option adds a device-tree directory under /proc which contains
  422. an image of the device tree that the kernel copies from Open
  423. Firmware or other boot firmware. If unsure, say Y here.
  424. config CMDLINE_BOOL
  425. bool "Default bootloader kernel arguments"
  426. config CMDLINE
  427. string "Initial kernel command string"
  428. depends on CMDLINE_BOOL
  429. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  430. help
  431. On some platforms, there is currently no way for the boot loader to
  432. pass arguments to the kernel. For these platforms, you can supply
  433. some command-line options at build time by entering them here. In
  434. most cases you will need to specify the root device here.
  435. config EXTRA_TARGETS
  436. string "Additional default image types"
  437. help
  438. List additional targets to be built by the bootwrapper here (separated
  439. by spaces). This is useful for targets that depend of device tree
  440. files in the .dts directory.
  441. Targets in this list will be build as part of the default build
  442. target, or when the user does a 'make zImage' or a
  443. 'make zImage.initrd'.
  444. If unsure, leave blank
  445. if !44x || BROKEN
  446. config ARCH_WANTS_FREEZER_CONTROL
  447. def_bool y
  448. depends on ADB_PMU
  449. source kernel/power/Kconfig
  450. endif
  451. config SECCOMP
  452. bool "Enable seccomp to safely compute untrusted bytecode"
  453. depends on PROC_FS
  454. default y
  455. help
  456. This kernel feature is useful for number crunching applications
  457. that may need to compute untrusted bytecode during their
  458. execution. By using pipes or other transports made available to
  459. the process as file descriptors supporting the read/write
  460. syscalls, it's possible to isolate those applications in
  461. their own address space using seccomp. Once seccomp is
  462. enabled via /proc/<pid>/seccomp, it cannot be disabled
  463. and the task is only allowed to execute a few safe syscalls
  464. defined by each seccomp mode.
  465. If unsure, say Y. Only embedded should say N here.
  466. endmenu
  467. config ISA_DMA_API
  468. bool
  469. default !PPC_ISERIES || PCI
  470. menu "Bus options"
  471. config ISA
  472. bool "Support for ISA-bus hardware"
  473. depends on PPC_PREP || PPC_CHRP
  474. select PPC_I8259
  475. help
  476. Find out whether you have ISA slots on your motherboard. ISA is the
  477. name of a bus system, i.e. the way the CPU talks to the other stuff
  478. inside your box. If you have an Apple machine, say N here; if you
  479. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  480. you have an embedded board, consult your board documentation.
  481. config ZONE_DMA
  482. bool
  483. default y
  484. config GENERIC_ISA_DMA
  485. bool
  486. depends on PPC64 || POWER4 || 6xx && !CPM2
  487. default y
  488. config PPC_INDIRECT_PCI
  489. bool
  490. depends on PCI
  491. default y if 40x || 44x
  492. default n
  493. config EISA
  494. bool
  495. config SBUS
  496. bool
  497. config FSL_SOC
  498. bool
  499. config FSL_PCI
  500. bool
  501. select PPC_INDIRECT_PCI
  502. select PCI_QUIRKS
  503. config 4xx_SOC
  504. bool
  505. config FSL_LBC
  506. bool
  507. help
  508. Freescale Localbus support
  509. config FSL_GTM
  510. bool
  511. depends on PPC_83xx || QUICC_ENGINE || CPM2
  512. help
  513. Freescale General-purpose Timers support
  514. # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
  515. config MCA
  516. bool
  517. # Platforms that what PCI turned unconditionally just do select PCI
  518. # in their config node. Platforms that want to choose at config
  519. # time should select PPC_PCI_CHOICE
  520. config PPC_PCI_CHOICE
  521. bool
  522. config PCI
  523. bool "PCI support" if PPC_PCI_CHOICE
  524. default y if !40x && !CPM2 && !8xx && !PPC_83xx \
  525. && !PPC_85xx && !PPC_86xx
  526. default PCI_PERMEDIA if !4xx && !CPM2 && !8xx
  527. default PCI_QSPAN if !4xx && !CPM2 && 8xx
  528. select ARCH_SUPPORTS_MSI
  529. help
  530. Find out whether your system includes a PCI bus. PCI is the name of
  531. a bus system, i.e. the way the CPU talks to the other stuff inside
  532. your box. If you say Y here, the kernel will include drivers and
  533. infrastructure code to support PCI bus devices.
  534. config PCI_DOMAINS
  535. def_bool PCI
  536. config PCI_SYSCALL
  537. def_bool PCI
  538. config PCI_QSPAN
  539. bool "QSpan PCI"
  540. depends on !4xx && !CPM2 && 8xx
  541. select PPC_I8259
  542. help
  543. Say Y here if you have a system based on a Motorola 8xx-series
  544. embedded processor with a QSPAN PCI interface, otherwise say N.
  545. config PCI_8260
  546. bool
  547. depends on PCI && 8260
  548. select PPC_INDIRECT_PCI
  549. default y
  550. config 8260_PCI9
  551. bool "Enable workaround for MPC826x erratum PCI 9"
  552. depends on PCI_8260 && !8272
  553. default y
  554. choice
  555. prompt "IDMA channel for PCI 9 workaround"
  556. depends on 8260_PCI9
  557. config 8260_PCI9_IDMA1
  558. bool "IDMA1"
  559. config 8260_PCI9_IDMA2
  560. bool "IDMA2"
  561. config 8260_PCI9_IDMA3
  562. bool "IDMA3"
  563. config 8260_PCI9_IDMA4
  564. bool "IDMA4"
  565. endchoice
  566. source "drivers/pci/pcie/Kconfig"
  567. source "drivers/pci/Kconfig"
  568. source "drivers/pcmcia/Kconfig"
  569. source "drivers/pci/hotplug/Kconfig"
  570. config HAS_RAPIDIO
  571. bool
  572. default n
  573. config RAPIDIO
  574. bool "RapidIO support"
  575. depends on HAS_RAPIDIO
  576. help
  577. If you say Y here, the kernel will include drivers and
  578. infrastructure code to support RapidIO interconnect devices.
  579. source "drivers/rapidio/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 LOWMEM_SIZE_BOOL
  594. bool "Set maximum low memory"
  595. depends on ADVANCED_OPTIONS
  596. help
  597. This option allows you to set the maximum amount of memory which
  598. will be used as "low memory", that is, memory which the kernel can
  599. access directly, without having to set up a kernel virtual mapping.
  600. This can be useful in optimizing the layout of kernel virtual
  601. memory.
  602. Say N here unless you know what you are doing.
  603. config LOWMEM_SIZE
  604. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  605. default "0x30000000"
  606. config LOWMEM_CAM_NUM_BOOL
  607. bool "Set number of CAMs to use to map low memory"
  608. depends on ADVANCED_OPTIONS && FSL_BOOKE
  609. help
  610. This option allows you to set the maximum number of CAM slots that
  611. will be used to map low memory. There are a limited number of slots
  612. available and even more limited number that will fit in the L1 MMU.
  613. However, using more entries will allow mapping more low memory. This
  614. can be useful in optimizing the layout of kernel virtual memory.
  615. Say N here unless you know what you are doing.
  616. config LOWMEM_CAM_NUM
  617. depends on FSL_BOOKE
  618. int "Number of CAMs to use to map low memory" if LOWMEM_CAM_NUM_BOOL
  619. default 3
  620. config RELOCATABLE
  621. bool "Build a relocatable kernel (EXPERIMENTAL)"
  622. depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
  623. help
  624. This builds a kernel image that is capable of running at the
  625. location the kernel is loaded at (some alignment restrictions may
  626. exist).
  627. One use is for the kexec on panic case where the recovery kernel
  628. must live at a different physical address than the primary
  629. kernel.
  630. Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
  631. it has been loaded at and the compile time physical addresses
  632. CONFIG_PHYSICAL_START is ignored. However CONFIG_PHYSICAL_START
  633. setting can still be useful to bootwrappers that need to know the
  634. load location of the kernel (eg. u-boot/mkimage).
  635. config PAGE_OFFSET_BOOL
  636. bool "Set custom page offset address"
  637. depends on ADVANCED_OPTIONS
  638. help
  639. This option allows you to set the kernel virtual address at which
  640. the kernel will map low memory. This can be useful in optimizing
  641. the virtual memory layout of the system.
  642. Say N here unless you know what you are doing.
  643. config PAGE_OFFSET
  644. hex "Virtual address of memory base" if PAGE_OFFSET_BOOL
  645. default "0xc0000000"
  646. config KERNEL_START_BOOL
  647. bool "Set custom kernel base address"
  648. depends on ADVANCED_OPTIONS
  649. help
  650. This option allows you to set the kernel virtual address at which
  651. the kernel will be loaded. Normally this should match PAGE_OFFSET
  652. however there are times (like kdump) that one might not want them
  653. to be the same.
  654. Say N here unless you know what you are doing.
  655. config KERNEL_START
  656. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  657. default PAGE_OFFSET if PAGE_OFFSET_BOOL
  658. default "0xc2000000" if CRASH_DUMP
  659. default "0xc0000000"
  660. config PHYSICAL_START_BOOL
  661. bool "Set physical address where the kernel is loaded"
  662. depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
  663. help
  664. This gives the physical address where the kernel is loaded.
  665. Say N here unless you know what you are doing.
  666. config PHYSICAL_START
  667. hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL
  668. default "0x02000000" if PPC_STD_MMU && CRASH_DUMP
  669. default "0x00000000"
  670. config PHYSICAL_ALIGN
  671. hex
  672. default "0x04000000" if FSL_BOOKE
  673. help
  674. This value puts the alignment restrictions on physical address
  675. where kernel is loaded and run from. Kernel is compiled for an
  676. address which meets above alignment restriction.
  677. config TASK_SIZE_BOOL
  678. bool "Set custom user task size"
  679. depends on ADVANCED_OPTIONS
  680. help
  681. This option allows you to set the amount of virtual address space
  682. allocated to user tasks. This can be useful in optimizing the
  683. virtual memory layout of the system.
  684. Say N here unless you know what you are doing.
  685. config TASK_SIZE
  686. hex "Size of user task space" if TASK_SIZE_BOOL
  687. default "0x80000000" if PPC_PREP || PPC_8xx
  688. default "0xc0000000"
  689. config PIN_TLB
  690. bool "Pinned Kernel TLBs (860 ONLY)"
  691. depends on ADVANCED_OPTIONS && 8xx
  692. endmenu
  693. if PPC64
  694. config RELOCATABLE
  695. bool "Build a relocatable kernel"
  696. help
  697. This builds a kernel image that is capable of running anywhere
  698. in the RMA (real memory area) at any 16k-aligned base address.
  699. The kernel is linked as a position-independent executable (PIE)
  700. and contains dynamic relocations which are processed early
  701. in the bootup process.
  702. One use is for the kexec on panic case where the recovery kernel
  703. must live at a different physical address than the primary
  704. kernel.
  705. config PAGE_OFFSET
  706. hex
  707. default "0xc000000000000000"
  708. config KERNEL_START
  709. hex
  710. default "0xc000000000000000"
  711. config PHYSICAL_START
  712. hex
  713. default "0x00000000"
  714. endif
  715. source "net/Kconfig"
  716. source "drivers/Kconfig"
  717. source "fs/Kconfig"
  718. source "arch/powerpc/sysdev/qe_lib/Kconfig"
  719. source "lib/Kconfig"
  720. source "arch/powerpc/Kconfig.debug"
  721. source "security/Kconfig"
  722. config KEYS_COMPAT
  723. bool
  724. depends on COMPAT && KEYS
  725. default y
  726. source "crypto/Kconfig"
  727. config PPC_CLOCK
  728. bool
  729. default n
  730. select HAVE_CLK
  731. config PPC_LIB_RHEAP
  732. bool
  733. source "arch/powerpc/kvm/Kconfig"