Kconfig 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  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 BROKEN_RODATA
  18. select GENERIC_IRQ_PROBE
  19. select GENERIC_PCI_IOMAP
  20. select ARCH_HAVE_NMI_SAFE_CMPXCHG
  21. select GENERIC_SMP_IDLE_THREAD
  22. select GENERIC_STRNCPY_FROM_USER
  23. select SYSCTL_ARCH_UNALIGN_ALLOW
  24. select HAVE_MOD_ARCH_SPECIFIC
  25. select VIRT_TO_BUS
  26. select MODULES_USE_ELF_RELA
  27. select CLONE_BACKWARDS
  28. select TTY # Needed for pdc_cons.c
  29. select HAVE_DEBUG_STACKOVERFLOW
  30. help
  31. The PA-RISC microprocessor is designed by Hewlett-Packard and used
  32. in many of their workstations & servers (HP9000 700 and 800 series,
  33. and later HP3000 series). The PA-RISC Linux project home page is
  34. at <http://www.parisc-linux.org/>.
  35. config MMU
  36. def_bool y
  37. config STACK_GROWSUP
  38. def_bool y
  39. config GENERIC_LOCKBREAK
  40. bool
  41. default y
  42. depends on SMP && PREEMPT
  43. config RWSEM_GENERIC_SPINLOCK
  44. def_bool y
  45. config RWSEM_XCHGADD_ALGORITHM
  46. bool
  47. config ARCH_HAS_ILOG2_U32
  48. bool
  49. default n
  50. config ARCH_HAS_ILOG2_U64
  51. bool
  52. default n
  53. config GENERIC_BUG
  54. bool
  55. default y
  56. depends on BUG
  57. config GENERIC_HWEIGHT
  58. bool
  59. default y
  60. config GENERIC_CALIBRATE_DELAY
  61. bool
  62. default y
  63. config TIME_LOW_RES
  64. bool
  65. depends on SMP
  66. default y
  67. config HAVE_LATENCYTOP_SUPPORT
  68. def_bool y
  69. # unless you want to implement ACPI on PA-RISC ... ;-)
  70. config PM
  71. bool
  72. config STACKTRACE_SUPPORT
  73. def_bool y
  74. config NEED_DMA_MAP_STATE
  75. def_bool y
  76. config NEED_SG_DMA_LENGTH
  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 MLONGCALLS
  133. bool "Enable the -mlong-calls compiler option for big kernels"
  134. def_bool y if (!MODULES)
  135. depends on PA8X00
  136. help
  137. If you configure the kernel to include many drivers built-in instead
  138. as modules, the kernel executable may become too big, so that the
  139. linker will not be able to resolve some long branches and fails to link
  140. your vmlinux kernel. In that case enabling this option will help you
  141. to overcome this limit by using the -mlong-calls compiler option.
  142. Usually you want to say N here, unless you e.g. want to build
  143. a kernel which includes all necessary drivers built-in and which can
  144. be used for TFTP booting without the need to have an initrd ramdisk.
  145. Enabling this option will probably slow down your kernel.
  146. config 64BIT
  147. bool "64-bit kernel"
  148. depends on PA8X00
  149. help
  150. Enable this if you want to support 64bit kernel on PA-RISC platform.
  151. At the moment, only people willing to use more than 2GB of RAM,
  152. or having a 64bit-only capable PA-RISC machine should say Y here.
  153. Since there is no 64bit userland on PA-RISC, there is no point to
  154. enable this option otherwise. The 64bit kernel is significantly bigger
  155. and slower than the 32bit one.
  156. choice
  157. prompt "Kernel page size"
  158. default PARISC_PAGE_SIZE_4KB
  159. config PARISC_PAGE_SIZE_4KB
  160. bool "4KB"
  161. help
  162. This lets you select the page size of the kernel. For best
  163. performance, a page size of 16KB is recommended. For best
  164. compatibility with 32bit applications, a page size of 4KB should be
  165. selected (the vast majority of 32bit binaries work perfectly fine
  166. with a larger page size).
  167. 4KB For best 32bit compatibility
  168. 16KB For best performance
  169. 64KB For best performance, might give more overhead.
  170. If you don't know what to do, choose 4KB.
  171. config PARISC_PAGE_SIZE_16KB
  172. bool "16KB"
  173. depends on PA8X00
  174. config PARISC_PAGE_SIZE_64KB
  175. bool "64KB"
  176. depends on PA8X00
  177. endchoice
  178. config SMP
  179. bool "Symmetric multi-processing support"
  180. select USE_GENERIC_SMP_HELPERS
  181. ---help---
  182. This enables support for systems with more than one CPU. If you have
  183. a system with only one CPU, like most personal computers, say N. If
  184. you have a system with more than one CPU, say Y.
  185. If you say N here, the kernel will run on single and multiprocessor
  186. machines, but will use only one CPU of a multiprocessor machine. If
  187. you say Y here, the kernel will run on many, but not all,
  188. singleprocessor machines. On a singleprocessor machine, the kernel
  189. will run faster if you say N here.
  190. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  191. available at <http://www.tldp.org/docs.html#howto>.
  192. If you don't know what to do here, say N.
  193. config IRQSTACKS
  194. bool "Use separate kernel stacks when processing interrupts"
  195. default y
  196. help
  197. If you say Y here the kernel will use separate kernel stacks
  198. for handling hard and soft interrupts. This can help avoid
  199. overflowing the process kernel stacks.
  200. config HOTPLUG_CPU
  201. bool
  202. default y if SMP
  203. config ARCH_SELECT_MEMORY_MODEL
  204. def_bool y
  205. depends on 64BIT
  206. config ARCH_DISCONTIGMEM_ENABLE
  207. def_bool y
  208. depends on 64BIT
  209. config ARCH_FLATMEM_ENABLE
  210. def_bool y
  211. config ARCH_DISCONTIGMEM_DEFAULT
  212. def_bool y
  213. depends on ARCH_DISCONTIGMEM_ENABLE
  214. config NODES_SHIFT
  215. int
  216. default "3"
  217. depends on NEED_MULTIPLE_NODES
  218. source "kernel/Kconfig.preempt"
  219. source "kernel/Kconfig.hz"
  220. source "mm/Kconfig"
  221. config COMPAT
  222. def_bool y
  223. depends on 64BIT
  224. config SYSVIPC_COMPAT
  225. def_bool y
  226. depends on COMPAT && SYSVIPC
  227. config HPUX
  228. bool "Support for HP-UX binaries"
  229. depends on !64BIT
  230. config NR_CPUS
  231. int "Maximum number of CPUs (2-32)"
  232. range 2 32
  233. depends on SMP
  234. default "32"
  235. endmenu
  236. source "drivers/parisc/Kconfig"
  237. menu "Executable file formats"
  238. source "fs/Kconfig.binfmt"
  239. endmenu
  240. source "net/Kconfig"
  241. source "drivers/Kconfig"
  242. source "fs/Kconfig"
  243. source "arch/parisc/Kconfig.debug"
  244. source "security/Kconfig"
  245. source "crypto/Kconfig"
  246. source "lib/Kconfig"