Kconfig 8.2 KB

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