Kconfig 24 KB

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