Kconfig 23 KB

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