Kconfig 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  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. source "init/Kconfig"
  87. source "kernel/Kconfig.freezer"
  88. menu "Processor type and features"
  89. choice
  90. prompt "Processor type"
  91. default PA7000
  92. config PA7000
  93. bool "PA7000/PA7100"
  94. ---help---
  95. This is the processor type of your CPU. This information is
  96. used for optimizing purposes. In order to compile a kernel
  97. that can run on all 32-bit PA CPUs (albeit not optimally fast),
  98. you can specify "PA7000" here.
  99. Specifying "PA8000" here will allow you to select a 64-bit kernel
  100. which is required on some machines.
  101. config PA7100LC
  102. bool "PA7100LC"
  103. help
  104. Select this option for the PCX-L processor, as used in the
  105. 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
  106. D200, D210, D300, D310 and E-class
  107. config PA7200
  108. bool "PA7200"
  109. help
  110. Select this option for the PCX-T' processor, as used in the
  111. C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
  112. K100, K200, K210, K220, K400, K410 and K420
  113. config PA7300LC
  114. bool "PA7300LC"
  115. help
  116. Select this option for the PCX-L2 processor, as used in the
  117. 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
  118. D220, D230, D320 and D330.
  119. config PA8X00
  120. bool "PA8000 and up"
  121. help
  122. Select this option for PCX-U to PCX-W2 processors.
  123. endchoice
  124. # Define implied options from the CPU selection here
  125. config PA20
  126. def_bool y
  127. depends on PA8X00
  128. config PA11
  129. def_bool y
  130. depends on PA7000 || PA7100LC || PA7200 || PA7300LC
  131. config PREFETCH
  132. def_bool y
  133. depends on PA8X00 || PA7200
  134. config MLONGCALLS
  135. bool "Enable the -mlong-calls compiler option for big kernels"
  136. def_bool y if (!MODULES)
  137. depends on PA8X00
  138. help
  139. If you configure the kernel to include many drivers built-in instead
  140. as modules, the kernel executable may become too big, so that the
  141. linker will not be able to resolve some long branches and fails to link
  142. your vmlinux kernel. In that case enabling this option will help you
  143. to overcome this limit by using the -mlong-calls compiler option.
  144. Usually you want to say N here, unless you e.g. want to build
  145. a kernel which includes all necessary drivers built-in and which can
  146. be used for TFTP booting without the need to have an initrd ramdisk.
  147. Enabling this option will probably slow down your kernel.
  148. config 64BIT
  149. bool "64-bit kernel"
  150. depends on PA8X00
  151. help
  152. Enable this if you want to support 64bit kernel on PA-RISC platform.
  153. At the moment, only people willing to use more than 2GB of RAM,
  154. or having a 64bit-only capable PA-RISC machine should say Y here.
  155. Since there is no 64bit userland on PA-RISC, there is no point to
  156. enable this option otherwise. The 64bit kernel is significantly bigger
  157. and slower than the 32bit one.
  158. choice
  159. prompt "Kernel page size"
  160. default PARISC_PAGE_SIZE_4KB
  161. config PARISC_PAGE_SIZE_4KB
  162. bool "4KB"
  163. help
  164. This lets you select the page size of the kernel. For best
  165. performance, a page size of 16KB is recommended. For best
  166. compatibility with 32bit applications, a page size of 4KB should be
  167. selected (the vast majority of 32bit binaries work perfectly fine
  168. with a larger page size).
  169. 4KB For best 32bit compatibility
  170. 16KB For best performance
  171. 64KB For best performance, might give more overhead.
  172. If you don't know what to do, choose 4KB.
  173. config PARISC_PAGE_SIZE_16KB
  174. bool "16KB"
  175. depends on PA8X00
  176. config PARISC_PAGE_SIZE_64KB
  177. bool "64KB"
  178. depends on PA8X00
  179. endchoice
  180. config SMP
  181. bool "Symmetric multi-processing support"
  182. ---help---
  183. This enables support for systems with more than one CPU. If you have
  184. a system with only one CPU, say N. If you have a system with more
  185. than one CPU, say Y.
  186. If you say N here, the kernel will run on uni- 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. uniprocessor machines. On a uniprocessor 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 AUDIT_ARCH
  229. def_bool y
  230. config HPUX
  231. bool "Support for HP-UX binaries"
  232. depends on !64BIT
  233. config NR_CPUS
  234. int "Maximum number of CPUs (2-32)"
  235. range 2 32
  236. depends on SMP
  237. default "32"
  238. endmenu
  239. source "drivers/parisc/Kconfig"
  240. menu "Executable file formats"
  241. source "fs/Kconfig.binfmt"
  242. endmenu
  243. source "net/Kconfig"
  244. source "drivers/Kconfig"
  245. source "fs/Kconfig"
  246. source "arch/parisc/Kconfig.debug"
  247. config SECCOMP
  248. def_bool y
  249. prompt "Enable seccomp to safely compute untrusted bytecode"
  250. ---help---
  251. This kernel feature is useful for number crunching applications
  252. that may need to compute untrusted bytecode during their
  253. execution. By using pipes or other transports made available to
  254. the process as file descriptors supporting the read/write
  255. syscalls, it's possible to isolate those applications in
  256. their own address space using seccomp. Once seccomp is
  257. enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
  258. and the task is only allowed to execute a few safe syscalls
  259. defined by each seccomp mode.
  260. If unsure, say Y. Only embedded should say N here.
  261. source "security/Kconfig"
  262. source "crypto/Kconfig"
  263. source "lib/Kconfig"