Kconfig 8.0 KB

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