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