Kconfig 7.3 KB

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