xref: /linux/arch/parisc/Kconfig (revision fff7fb0b2d908dec779783d8eaf3d7725230f75e)
11da177e4SLinus Torvaldsconfig PARISC
21da177e4SLinus Torvalds	def_bool y
3446f24d1SStephen Boyd	select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
44a24fb2fSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT
5ec7748b5SSam Ravnborg	select HAVE_IDE
642d4b839SMathieu Desnoyers	select HAVE_OPROFILE
7366dd4eaSHelge Deller	select HAVE_FUNCTION_TRACER
8366dd4eaSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER
94530c49eSHelge Deller	select ARCH_WANT_FRAME_POINTERS
109eb16864SKyle McMartin	select RTC_CLASS
113afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
1298a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
13f67d3c83SKyle McMartin	select BUG
140de79858SHelge Deller	select BUILDTIME_EXTABLE_SORT
15cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
1664daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
17f21dda02SHelge Deller	select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
18754b7b63SAndi Kleen	select BROKEN_RODATA
1972e73af1SThomas Gleixner	select GENERIC_IRQ_PROBE
20629a8581SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
21df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
229a134723SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
23b1195c0eSJames Bottomley	select GENERIC_STRNCPY_FROM_USER
24bf14e3b9SVineet Gupta	select SYSCTL_ARCH_UNALIGN_ALLOW
25fef47e2aSHelge Deller	select SYSCTL_EXCEPTION_TRACE
26786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
274febd95aSStephen Rothwell	select VIRT_TO_BUS
28786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
29415bfae9SAl Viro	select CLONE_BACKWARDS
304f73bc4dSJoe Millenbach	select TTY # Needed for pdc_cons.c
31d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
327a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
33910cd32eSHelge Deller	select HAVE_ARCH_SECCOMP_FILTER
3479387179SChristoph Hellwig	select ARCH_NO_COHERENT_DMA_MMAP
35*fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
3672e73af1SThomas Gleixner
371da177e4SLinus Torvalds	help
381da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
391da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
401da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
411da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
421da177e4SLinus Torvalds
431da177e4SLinus Torvaldsconfig MMU
441da177e4SLinus Torvalds	def_bool y
451da177e4SLinus Torvalds
461da177e4SLinus Torvaldsconfig STACK_GROWSUP
471da177e4SLinus Torvalds	def_bool y
481da177e4SLinus Torvalds
4995c354feSNick Pigginconfig GENERIC_LOCKBREAK
5095c354feSNick Piggin	bool
5195c354feSNick Piggin	default y
5295c354feSNick Piggin	depends on SMP && PREEMPT
5395c354feSNick Piggin
541da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
551da177e4SLinus Torvalds	def_bool y
561da177e4SLinus Torvalds
571da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
581da177e4SLinus Torvalds	bool
591da177e4SLinus Torvalds
60f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
61f0d1b0b3SDavid Howells	bool
62f0d1b0b3SDavid Howells	default n
63f0d1b0b3SDavid Howells
64f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
65f0d1b0b3SDavid Howells	bool
66f0d1b0b3SDavid Howells	default n
67f0d1b0b3SDavid Howells
686891f8a1SHelge Dellerconfig GENERIC_BUG
696891f8a1SHelge Deller	bool
706891f8a1SHelge Deller	default y
716891f8a1SHelge Deller	depends on BUG
726891f8a1SHelge Deller
7359e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
7459e18a2eSAkinobu Mita	bool
7559e18a2eSAkinobu Mita	default y
7659e18a2eSAkinobu Mita
771da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
781da177e4SLinus Torvalds	bool
791da177e4SLinus Torvalds	default y
801da177e4SLinus Torvalds
8106027bddSIngo Molnarconfig TIME_LOW_RES
8206027bddSIngo Molnar	bool
8306027bddSIngo Molnar	depends on SMP
8406027bddSIngo Molnar	default y
8506027bddSIngo Molnar
861da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
871da177e4SLinus Torvaldsconfig PM
881da177e4SLinus Torvalds	bool
891da177e4SLinus Torvalds
90548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
91548f1176SHelge Deller	def_bool y
92548f1176SHelge Deller
9374a0bd66SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
9474a0bd66SFUJITA Tomonori	def_bool y
9574a0bd66SFUJITA Tomonori
96f6ae31c2SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
97f6ae31c2SFUJITA Tomonori	def_bool y
98f6ae31c2SFUJITA Tomonori
995cae841bSAl Viroconfig ISA_DMA_API
1005cae841bSAl Viro	bool
1015cae841bSAl Viro
102a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
103a08b6b79Sviro@ZenIV.linux.org.uk	bool
1048b631342SGrant Grundler	depends on BROKEN
105a08b6b79Sviro@ZenIV.linux.org.uk	default y
106a08b6b79Sviro@ZenIV.linux.org.uk
107f24ffde4SKirill A. Shutemovconfig PGTABLE_LEVELS
108f24ffde4SKirill A. Shutemov	int
109f24ffde4SKirill A. Shutemov	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
110f24ffde4SKirill A. Shutemov	default 2
111f24ffde4SKirill A. Shutemov
112736d2169SHelge Dellerconfig SYS_SUPPORTS_HUGETLBFS
113736d2169SHelge Deller	def_bool y if PA20
114736d2169SHelge Deller
1151da177e4SLinus Torvaldssource "init/Kconfig"
1161da177e4SLinus Torvalds
117dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
118dc52ddc0SMatt Helsley
1191da177e4SLinus Torvalds
1201da177e4SLinus Torvaldsmenu "Processor type and features"
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvaldschoice
1231da177e4SLinus Torvalds	prompt "Processor type"
1241da177e4SLinus Torvalds	default PA7000
1251da177e4SLinus Torvalds
1261da177e4SLinus Torvaldsconfig PA7000
1271da177e4SLinus Torvalds	bool "PA7000/PA7100"
1281da177e4SLinus Torvalds	---help---
1291da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1301da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1311da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1321da177e4SLinus Torvalds	  you can specify "PA7000" here.
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1351da177e4SLinus Torvalds	  which is required on some machines.
1361da177e4SLinus Torvalds
1371da177e4SLinus Torvaldsconfig PA7100LC
1381da177e4SLinus Torvalds	bool "PA7100LC"
1391da177e4SLinus Torvalds	help
1401da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1411da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1421da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1431da177e4SLinus Torvalds
1441da177e4SLinus Torvaldsconfig PA7200
1451da177e4SLinus Torvalds	bool "PA7200"
1461da177e4SLinus Torvalds	help
1471da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1481da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1491da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvaldsconfig PA7300LC
1521da177e4SLinus Torvalds	bool "PA7300LC"
1531da177e4SLinus Torvalds	help
1541da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1551da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1561da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvaldsconfig PA8X00
1591da177e4SLinus Torvalds	bool "PA8000 and up"
1601da177e4SLinus Torvalds	help
1611da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvaldsendchoice
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvalds# Define implied options from the CPU selection here
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvaldsconfig PA20
1681da177e4SLinus Torvalds	def_bool y
1691da177e4SLinus Torvalds	depends on PA8X00
1701da177e4SLinus Torvalds
1711da177e4SLinus Torvaldsconfig PA11
1721da177e4SLinus Torvalds	def_bool y
1731da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1741da177e4SLinus Torvalds
1751da177e4SLinus Torvaldsconfig PREFETCH
1761da177e4SLinus Torvalds	def_bool y
17732104b29SKyle McMartin	depends on PA8X00 || PA7200
1781da177e4SLinus Torvalds
179ec758f98SHelge Dellerconfig MLONGCALLS
180ec758f98SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels"
181ec758f98SHelge Deller	def_bool y if (!MODULES)
182ec758f98SHelge Deller	depends on PA8X00
183ec758f98SHelge Deller	help
184ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
185ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
186ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
187ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
188ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
189ec758f98SHelge Deller
190ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
191ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
192ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
193ec758f98SHelge Deller
194ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
195ec758f98SHelge Deller
1961da177e4SLinus Torvaldsconfig 64BIT
1971da177e4SLinus Torvalds	bool "64-bit kernel"
1981da177e4SLinus Torvalds	depends on PA8X00
1991da177e4SLinus Torvalds	help
2001da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
2011da177e4SLinus Torvalds
2021da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
2031da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
2041da177e4SLinus Torvalds
2051da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
2061da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
2071da177e4SLinus Torvalds	  and slower than the 32bit one.
2081da177e4SLinus Torvalds
2092fd83038SHelge Dellerchoice
2102fd83038SHelge Deller	prompt "Kernel page size"
2111c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
2122fd83038SHelge Deller
2132fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
2142fd83038SHelge Deller	bool "4KB"
2152fd83038SHelge Deller	help
2162fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2172fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2182fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2192fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2202fd83038SHelge Deller	  with a larger page size).
2212fd83038SHelge Deller
2222fd83038SHelge Deller	  4KB                For best 32bit compatibility
2232fd83038SHelge Deller	  16KB               For best performance
2242fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2252fd83038SHelge Deller
2262fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2272fd83038SHelge Deller
2282fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
229daef22cfSKees Cook	bool "16KB"
230daef22cfSKees Cook	depends on PA8X00
2312fd83038SHelge Deller
2322fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
233daef22cfSKees Cook	bool "64KB"
234daef22cfSKees Cook	depends on PA8X00
2352fd83038SHelge Deller
2362fd83038SHelge Dellerendchoice
2372fd83038SHelge Deller
2381da177e4SLinus Torvaldsconfig SMP
2391da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
2401da177e4SLinus Torvalds	---help---
2411da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2424a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
2434a474157SRobert Graffham	  than one CPU, say Y.
2441da177e4SLinus Torvalds
2454a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
2461da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2471da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2484a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
2491da177e4SLinus Torvalds	  will run faster if you say N here.
2501da177e4SLinus Torvalds
25103502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
25203502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2551da177e4SLinus Torvalds
256200c8804SHelge Dellerconfig IRQSTACKS
257200c8804SHelge Deller	bool "Use separate kernel stacks when processing interrupts"
258416821d3SHelge Deller	default y
259200c8804SHelge Deller	help
260200c8804SHelge Deller	  If you say Y here the kernel will use separate kernel stacks
261200c8804SHelge Deller	  for handling hard and soft interrupts.  This can help avoid
262200c8804SHelge Deller	  overflowing the process kernel stacks.
263200c8804SHelge Deller
2641da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2651da177e4SLinus Torvalds	bool
2661da177e4SLinus Torvalds	default y if SMP
2671da177e4SLinus Torvalds
268a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
269a2ba82cdSKyle McMartin	def_bool y
270a2ba82cdSKyle McMartin	depends on 64BIT
271a2ba82cdSKyle McMartin
2723f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
273a2ba82cdSKyle McMartin	def_bool y
274a2ba82cdSKyle McMartin	depends on 64BIT
275a2ba82cdSKyle McMartin
276a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
277a2ba82cdSKyle McMartin	def_bool y
278a2ba82cdSKyle McMartin
279a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
280a2ba82cdSKyle McMartin	def_bool y
281a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2821da177e4SLinus Torvalds
283c80d79d7SYasunori Gotoconfig NODES_SHIFT
284c80d79d7SYasunori Goto	int
285c80d79d7SYasunori Goto	default "3"
286c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
287c80d79d7SYasunori Goto
28850a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2898b631342SGrant Grundlersource "kernel/Kconfig.hz"
2903f22ab27SDave Hansensource "mm/Kconfig"
2913f22ab27SDave Hansen
2921da177e4SLinus Torvaldsconfig COMPAT
2931da177e4SLinus Torvalds	def_bool y
2941da177e4SLinus Torvalds	depends on 64BIT
2951da177e4SLinus Torvalds
296bf581e15SHelge Dellerconfig SYSVIPC_COMPAT
297bf581e15SHelge Deller	def_bool y
298bf581e15SHelge Deller	depends on COMPAT && SYSVIPC
299bf581e15SHelge Deller
300527973c8SHelge Dellerconfig AUDIT_ARCH
301527973c8SHelge Deller	def_bool y
302527973c8SHelge Deller
3031da177e4SLinus Torvaldsconfig NR_CPUS
3041da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
3051da177e4SLinus Torvalds	range 2 32
3061da177e4SLinus Torvalds	depends on SMP
3071da177e4SLinus Torvalds	default "32"
3081da177e4SLinus Torvalds
3091da177e4SLinus Torvaldsendmenu
3101da177e4SLinus Torvalds
3111da177e4SLinus Torvalds
3121da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
3131da177e4SLinus Torvalds
3141da177e4SLinus Torvalds
3151da177e4SLinus Torvaldsmenu "Executable file formats"
3161da177e4SLinus Torvalds
3171da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
3181da177e4SLinus Torvalds
3191da177e4SLinus Torvaldsendmenu
3201da177e4SLinus Torvalds
321d5950b43SSam Ravnborgsource "net/Kconfig"
322d5950b43SSam Ravnborg
3231da177e4SLinus Torvaldssource "drivers/Kconfig"
3241da177e4SLinus Torvalds
3251da177e4SLinus Torvaldssource "fs/Kconfig"
3261da177e4SLinus Torvalds
3271da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
3281da177e4SLinus Torvalds
329c90f0694SHelge Dellerconfig SECCOMP
330c90f0694SHelge Deller	def_bool y
331c90f0694SHelge Deller	prompt "Enable seccomp to safely compute untrusted bytecode"
332c90f0694SHelge Deller	---help---
333c90f0694SHelge Deller	  This kernel feature is useful for number crunching applications
334c90f0694SHelge Deller	  that may need to compute untrusted bytecode during their
335c90f0694SHelge Deller	  execution. By using pipes or other transports made available to
336c90f0694SHelge Deller	  the process as file descriptors supporting the read/write
337c90f0694SHelge Deller	  syscalls, it's possible to isolate those applications in
338c90f0694SHelge Deller	  their own address space using seccomp. Once seccomp is
339c90f0694SHelge Deller	  enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
340c90f0694SHelge Deller	  and the task is only allowed to execute a few safe syscalls
341c90f0694SHelge Deller	  defined by each seccomp mode.
342c90f0694SHelge Deller
343c90f0694SHelge Deller	  If unsure, say Y. Only embedded should say N here.
344c90f0694SHelge Deller
3451da177e4SLinus Torvaldssource "security/Kconfig"
3461da177e4SLinus Torvalds
3471da177e4SLinus Torvaldssource "crypto/Kconfig"
3481da177e4SLinus Torvalds
3491da177e4SLinus Torvaldssource "lib/Kconfig"
350