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