Kconfig 6.1 KB

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