Kconfig 7.9 KB

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