Kconfig 8.1 KB

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