Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "Linux/PA-RISC Kernel Configuration"
  6. config PARISC
  7. def_bool y
  8. select HAVE_IDE
  9. select HAVE_OPROFILE
  10. select HAVE_FUNCTION_TRACER if 64BIT
  11. select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
  12. select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
  13. select RTC_CLASS
  14. select RTC_DRV_GENERIC
  15. select INIT_ALL_POSSIBLE
  16. select BUG
  17. select HAVE_IRQ_WORK
  18. select HAVE_PERF_EVENTS
  19. select GENERIC_ATOMIC64 if !64BIT
  20. select GENERIC_HARDIRQS_NO__DO_IRQ
  21. help
  22. The PA-RISC microprocessor is designed by Hewlett-Packard and used
  23. in many of their workstations & servers (HP9000 700 and 800 series,
  24. and later HP3000 series). The PA-RISC Linux project home page is
  25. at <http://www.parisc-linux.org/>.
  26. config MMU
  27. def_bool y
  28. config STACK_GROWSUP
  29. def_bool y
  30. config GENERIC_LOCKBREAK
  31. bool
  32. default y
  33. depends on SMP && PREEMPT
  34. config RWSEM_GENERIC_SPINLOCK
  35. def_bool y
  36. config RWSEM_XCHGADD_ALGORITHM
  37. bool
  38. config ARCH_HAS_ILOG2_U32
  39. bool
  40. default n
  41. config ARCH_HAS_ILOG2_U64
  42. bool
  43. default n
  44. config GENERIC_FIND_NEXT_BIT
  45. bool
  46. default y
  47. config GENERIC_BUG
  48. bool
  49. default y
  50. depends on BUG
  51. config GENERIC_HWEIGHT
  52. bool
  53. default y
  54. config GENERIC_CALIBRATE_DELAY
  55. bool
  56. default y
  57. config TIME_LOW_RES
  58. bool
  59. depends on SMP
  60. default y
  61. config GENERIC_HARDIRQS
  62. def_bool y
  63. config GENERIC_IRQ_PROBE
  64. def_bool y
  65. config HAVE_LATENCYTOP_SUPPORT
  66. def_bool y
  67. config IRQ_PER_CPU
  68. bool
  69. default y
  70. config GENERIC_HARDIRQS_NO__DO_IRQ
  71. def_bool y
  72. # unless you want to implement ACPI on PA-RISC ... ;-)
  73. config PM
  74. bool
  75. config STACKTRACE_SUPPORT
  76. def_bool y
  77. config NEED_DMA_MAP_STATE
  78. def_bool y
  79. config NEED_SG_DMA_LENGTH
  80. def_bool y
  81. config ISA_DMA_API
  82. bool
  83. config ARCH_MAY_HAVE_PC_FDC
  84. bool
  85. depends on BROKEN
  86. default y
  87. source "init/Kconfig"
  88. source "kernel/Kconfig.freezer"
  89. menu "Processor type and features"
  90. choice
  91. prompt "Processor type"
  92. default PA7000
  93. config PA7000
  94. bool "PA7000/PA7100"
  95. ---help---
  96. This is the processor type of your CPU. This information is
  97. used for optimizing purposes. In order to compile a kernel
  98. that can run on all 32-bit PA CPUs (albeit not optimally fast),
  99. you can specify "PA7000" here.
  100. Specifying "PA8000" here will allow you to select a 64-bit kernel
  101. which is required on some machines.
  102. config PA7100LC
  103. bool "PA7100LC"
  104. help
  105. Select this option for the PCX-L processor, as used in the
  106. 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
  107. D200, D210, D300, D310 and E-class
  108. config PA7200
  109. bool "PA7200"
  110. help
  111. Select this option for the PCX-T' processor, as used in the
  112. C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
  113. K100, K200, K210, K220, K400, K410 and K420
  114. config PA7300LC
  115. bool "PA7300LC"
  116. help
  117. Select this option for the PCX-L2 processor, as used in the
  118. 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
  119. D220, D230, D320 and D330.
  120. config PA8X00
  121. bool "PA8000 and up"
  122. help
  123. Select this option for PCX-U to PCX-W2 processors.
  124. endchoice
  125. # Define implied options from the CPU selection here
  126. config PA20
  127. def_bool y
  128. depends on PA8X00
  129. config PA11
  130. def_bool y
  131. depends on PA7000 || PA7100LC || PA7200 || PA7300LC
  132. config PREFETCH
  133. def_bool y
  134. depends on PA8X00 || PA7200
  135. config 64BIT
  136. bool "64-bit kernel"
  137. depends on PA8X00
  138. help
  139. Enable this if you want to support 64bit kernel on PA-RISC platform.
  140. At the moment, only people willing to use more than 2GB of RAM,
  141. or having a 64bit-only capable PA-RISC machine should say Y here.
  142. Since there is no 64bit userland on PA-RISC, there is no point to
  143. enable this option otherwise. The 64bit kernel is significantly bigger
  144. and slower than the 32bit one.
  145. choice
  146. prompt "Kernel page size"
  147. default PARISC_PAGE_SIZE_4KB if !64BIT
  148. default PARISC_PAGE_SIZE_4KB if 64BIT
  149. # default PARISC_PAGE_SIZE_16KB if 64BIT
  150. config PARISC_PAGE_SIZE_4KB
  151. bool "4KB"
  152. help
  153. This lets you select the page size of the kernel. For best
  154. performance, a page size of 16KB is recommended. For best
  155. compatibility with 32bit applications, a page size of 4KB should be
  156. selected (the vast majority of 32bit binaries work perfectly fine
  157. with a larger page size).
  158. 4KB For best 32bit compatibility
  159. 16KB For best performance
  160. 64KB For best performance, might give more overhead.
  161. If you don't know what to do, choose 4KB.
  162. config PARISC_PAGE_SIZE_16KB
  163. bool "16KB (EXPERIMENTAL)"
  164. depends on PA8X00 && EXPERIMENTAL
  165. config PARISC_PAGE_SIZE_64KB
  166. bool "64KB (EXPERIMENTAL)"
  167. depends on PA8X00 && EXPERIMENTAL
  168. endchoice
  169. config SMP
  170. bool "Symmetric multi-processing support"
  171. select USE_GENERIC_SMP_HELPERS
  172. ---help---
  173. This enables support for systems with more than one CPU. If you have
  174. a system with only one CPU, like most personal computers, say N. If
  175. you have a system with more than one CPU, say Y.
  176. If you say N here, the kernel will run on single and multiprocessor
  177. machines, but will use only one CPU of a multiprocessor machine. If
  178. you say Y here, the kernel will run on many, but not all,
  179. singleprocessor machines. On a singleprocessor machine, the kernel
  180. will run faster if you say N here.
  181. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  182. available at <http://www.tldp.org/docs.html#howto>.
  183. If you don't know what to do here, say N.
  184. config HOTPLUG_CPU
  185. bool
  186. default y if SMP
  187. select HOTPLUG
  188. config ARCH_SELECT_MEMORY_MODEL
  189. def_bool y
  190. depends on 64BIT
  191. config ARCH_DISCONTIGMEM_ENABLE
  192. def_bool y
  193. depends on 64BIT
  194. config ARCH_FLATMEM_ENABLE
  195. def_bool y
  196. config ARCH_DISCONTIGMEM_DEFAULT
  197. def_bool y
  198. depends on ARCH_DISCONTIGMEM_ENABLE
  199. config NODES_SHIFT
  200. int
  201. default "3"
  202. depends on NEED_MULTIPLE_NODES
  203. source "kernel/Kconfig.preempt"
  204. source "kernel/Kconfig.hz"
  205. source "mm/Kconfig"
  206. config COMPAT
  207. def_bool y
  208. depends on 64BIT
  209. config HPUX
  210. bool "Support for HP-UX binaries"
  211. depends on !64BIT
  212. config NR_CPUS
  213. int "Maximum number of CPUs (2-32)"
  214. range 2 32
  215. depends on SMP
  216. default "32"
  217. endmenu
  218. source "drivers/parisc/Kconfig"
  219. menu "Executable file formats"
  220. source "fs/Kconfig.binfmt"
  221. endmenu
  222. source "net/Kconfig"
  223. source "drivers/Kconfig"
  224. source "fs/Kconfig"
  225. source "arch/parisc/Kconfig.debug"
  226. source "security/Kconfig"
  227. source "crypto/Kconfig"
  228. source "lib/Kconfig"