xref: /linux/arch/parisc/Kconfig (revision e35a2ce692821563583fa8b11ddf4acb24e54580)
11da177e4SLinus Torvaldsconfig PARISC
21da177e4SLinus Torvalds	def_bool y
34a24fb2fSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT
4ec7748b5SSam Ravnborg	select HAVE_IDE
542d4b839SMathieu Desnoyers	select HAVE_OPROFILE
6366dd4eaSHelge Deller	select HAVE_FUNCTION_TRACER
7366dd4eaSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER
8fc79168aSHelge Deller	select HAVE_SYSCALL_TRACEPOINTS
94530c49eSHelge Deller	select ARCH_WANT_FRAME_POINTERS
1018d98a79SHelge Deller	select ARCH_HAS_ELF_RANDOMIZE
11ad21fc4fSLaura Abbott	select ARCH_HAS_STRICT_KERNEL_RWX
12*e35a2ce6SHelge Deller	select ARCH_HAS_UBSAN_SANITIZE_ALL
13*e35a2ce6SHelge Deller	select ARCH_WANTS_UBSAN_NO_NULL
1454ac8fcbSHelge Deller	select ARCH_SUPPORTS_MEMORY_FAILURE
159eb16864SKyle McMartin	select RTC_CLASS
163afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
1798a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
184fe9e1d9SHelge Deller	select HAVE_MEMBLOCK
194fe9e1d9SHelge Deller	select NO_BOOTMEM
20f67d3c83SKyle McMartin	select BUG
210de79858SHelge Deller	select BUILDTIME_EXTABLE_SORT
22cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
2364daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
2472e73af1SThomas Gleixner	select GENERIC_IRQ_PROBE
25629a8581SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
26df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
279a134723SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
28b1195c0eSJames Bottomley	select GENERIC_STRNCPY_FROM_USER
29bf14e3b9SVineet Gupta	select SYSCTL_ARCH_UNALIGN_ALLOW
30fef47e2aSHelge Deller	select SYSCTL_EXCEPTION_TRACE
31786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
324febd95aSStephen Rothwell	select VIRT_TO_BUS
33786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
34415bfae9SAl Viro	select CLONE_BACKWARDS
354f73bc4dSJoe Millenbach	select TTY # Needed for pdc_cons.c
36d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
377a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
38773e1c5fSGeorge Spelvin	select HAVE_ARCH_HASH
39910cd32eSHelge Deller	select HAVE_ARCH_SECCOMP_FILTER
4064e2a42bSHelge Deller	select HAVE_ARCH_TRACEHOOK
4143b1f6abSHelge Deller	select GENERIC_SCHED_CLOCK
4243b1f6abSHelge Deller	select HAVE_UNSTABLE_SCHED_CLOCK if SMP
4343b1f6abSHelge Deller	select GENERIC_CLOCKEVENTS
4479387179SChristoph Hellwig	select ARCH_NO_COHERENT_DMA_MMAP
45fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
4672e73af1SThomas Gleixner
471da177e4SLinus Torvalds	help
481da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
491da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
501da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
511da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
521da177e4SLinus Torvalds
5374ad3d28SBabu Mogerconfig CPU_BIG_ENDIAN
5474ad3d28SBabu Moger	def_bool y
5574ad3d28SBabu Moger
561da177e4SLinus Torvaldsconfig MMU
571da177e4SLinus Torvalds	def_bool y
581da177e4SLinus Torvalds
591da177e4SLinus Torvaldsconfig STACK_GROWSUP
601da177e4SLinus Torvalds	def_bool y
611da177e4SLinus Torvalds
6295c354feSNick Pigginconfig GENERIC_LOCKBREAK
6395c354feSNick Piggin	bool
6495c354feSNick Piggin	default y
6595c354feSNick Piggin	depends on SMP && PREEMPT
6695c354feSNick Piggin
671da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
681da177e4SLinus Torvalds	def_bool y
691da177e4SLinus Torvalds
701da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
711da177e4SLinus Torvalds	bool
721da177e4SLinus Torvalds
73f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
74f0d1b0b3SDavid Howells	bool
75f0d1b0b3SDavid Howells	default n
76f0d1b0b3SDavid Howells
77f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
78f0d1b0b3SDavid Howells	bool
79f0d1b0b3SDavid Howells	default n
80f0d1b0b3SDavid Howells
816891f8a1SHelge Dellerconfig GENERIC_BUG
826891f8a1SHelge Deller	bool
836891f8a1SHelge Deller	default y
846891f8a1SHelge Deller	depends on BUG
856891f8a1SHelge Deller
8659e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
8759e18a2eSAkinobu Mita	bool
8859e18a2eSAkinobu Mita	default y
8959e18a2eSAkinobu Mita
901da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
911da177e4SLinus Torvalds	bool
921da177e4SLinus Torvalds	default y
931da177e4SLinus Torvalds
9406027bddSIngo Molnarconfig TIME_LOW_RES
9506027bddSIngo Molnar	bool
9606027bddSIngo Molnar	depends on SMP
9706027bddSIngo Molnar	default y
9806027bddSIngo Molnar
991da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
1001da177e4SLinus Torvaldsconfig PM
1011da177e4SLinus Torvalds	bool
1021da177e4SLinus Torvalds
103548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
104548f1176SHelge Deller	def_bool y
105548f1176SHelge Deller
10674a0bd66SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
10774a0bd66SFUJITA Tomonori	def_bool y
10874a0bd66SFUJITA Tomonori
109f6ae31c2SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
110f6ae31c2SFUJITA Tomonori	def_bool y
111f6ae31c2SFUJITA Tomonori
1125cae841bSAl Viroconfig ISA_DMA_API
1135cae841bSAl Viro	bool
1145cae841bSAl Viro
115a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
116a08b6b79Sviro@ZenIV.linux.org.uk	bool
1178b631342SGrant Grundler	depends on BROKEN
118a08b6b79Sviro@ZenIV.linux.org.uk	default y
119a08b6b79Sviro@ZenIV.linux.org.uk
120f24ffde4SKirill A. Shutemovconfig PGTABLE_LEVELS
121f24ffde4SKirill A. Shutemov	int
122f24ffde4SKirill A. Shutemov	default 3 if 64BIT && PARISC_PAGE_SIZE_4KB
123f24ffde4SKirill A. Shutemov	default 2
124f24ffde4SKirill A. Shutemov
125736d2169SHelge Dellerconfig SYS_SUPPORTS_HUGETLBFS
126736d2169SHelge Deller	def_bool y if PA20
127736d2169SHelge Deller
1281da177e4SLinus Torvaldssource "init/Kconfig"
1291da177e4SLinus Torvalds
130dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
131dc52ddc0SMatt Helsley
1321da177e4SLinus Torvalds
1331da177e4SLinus Torvaldsmenu "Processor type and features"
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldschoice
1361da177e4SLinus Torvalds	prompt "Processor type"
1371da177e4SLinus Torvalds	default PA7000
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvaldsconfig PA7000
1401da177e4SLinus Torvalds	bool "PA7000/PA7100"
1411da177e4SLinus Torvalds	---help---
1421da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1431da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1441da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1451da177e4SLinus Torvalds	  you can specify "PA7000" here.
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1481da177e4SLinus Torvalds	  which is required on some machines.
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvaldsconfig PA7100LC
1511da177e4SLinus Torvalds	bool "PA7100LC"
1521da177e4SLinus Torvalds	help
1531da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1541da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1551da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvaldsconfig PA7200
1581da177e4SLinus Torvalds	bool "PA7200"
1591da177e4SLinus Torvalds	help
1601da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1611da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1621da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvaldsconfig PA7300LC
1651da177e4SLinus Torvalds	bool "PA7300LC"
1661da177e4SLinus Torvalds	help
1671da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1681da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1691da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1701da177e4SLinus Torvalds
1711da177e4SLinus Torvaldsconfig PA8X00
1721da177e4SLinus Torvalds	bool "PA8000 and up"
1731da177e4SLinus Torvalds	help
1741da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1751da177e4SLinus Torvalds
1761da177e4SLinus Torvaldsendchoice
1771da177e4SLinus Torvalds
1781da177e4SLinus Torvalds# Define implied options from the CPU selection here
1791da177e4SLinus Torvalds
1801da177e4SLinus Torvaldsconfig PA20
1811da177e4SLinus Torvalds	def_bool y
1821da177e4SLinus Torvalds	depends on PA8X00
1831da177e4SLinus Torvalds
1841da177e4SLinus Torvaldsconfig PA11
1851da177e4SLinus Torvalds	def_bool y
1861da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1871da177e4SLinus Torvalds
1881da177e4SLinus Torvaldsconfig PREFETCH
1891da177e4SLinus Torvalds	def_bool y
19032104b29SKyle McMartin	depends on PA8X00 || PA7200
1911da177e4SLinus Torvalds
192ec758f98SHelge Dellerconfig MLONGCALLS
193ec758f98SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels"
194ec758f98SHelge Deller	def_bool y if (!MODULES)
195ec758f98SHelge Deller	depends on PA8X00
196ec758f98SHelge Deller	help
197ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
198ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
199ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
200ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
201ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
202ec758f98SHelge Deller
203ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
204ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
205ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
206ec758f98SHelge Deller
207ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
208ec758f98SHelge Deller
2091da177e4SLinus Torvaldsconfig 64BIT
2101da177e4SLinus Torvalds	bool "64-bit kernel"
2111da177e4SLinus Torvalds	depends on PA8X00
2121da177e4SLinus Torvalds	help
2131da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
2141da177e4SLinus Torvalds
2151da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
2161da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
2171da177e4SLinus Torvalds
2181da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
2191da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
2201da177e4SLinus Torvalds	  and slower than the 32bit one.
2211da177e4SLinus Torvalds
2222fd83038SHelge Dellerchoice
2232fd83038SHelge Deller	prompt "Kernel page size"
2241c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
2252fd83038SHelge Deller
2262fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
2272fd83038SHelge Deller	bool "4KB"
2282fd83038SHelge Deller	help
2292fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2302fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2312fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2322fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2332fd83038SHelge Deller	  with a larger page size).
2342fd83038SHelge Deller
2352fd83038SHelge Deller	  4KB                For best 32bit compatibility
2362fd83038SHelge Deller	  16KB               For best performance
2372fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2382fd83038SHelge Deller
2392fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2402fd83038SHelge Deller
2412fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
242daef22cfSKees Cook	bool "16KB"
243daef22cfSKees Cook	depends on PA8X00
2442fd83038SHelge Deller
2452fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
246daef22cfSKees Cook	bool "64KB"
247daef22cfSKees Cook	depends on PA8X00
2482fd83038SHelge Deller
2492fd83038SHelge Dellerendchoice
2502fd83038SHelge Deller
2511da177e4SLinus Torvaldsconfig SMP
2521da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
2531da177e4SLinus Torvalds	---help---
2541da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2554a474157SRobert Graffham	  a system with only one CPU, say N. If you have a system with more
2564a474157SRobert Graffham	  than one CPU, say Y.
2571da177e4SLinus Torvalds
2584a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
2591da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2601da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2614a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
2621da177e4SLinus Torvalds	  will run faster if you say N here.
2631da177e4SLinus Torvalds
26403502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
26503502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2661da177e4SLinus Torvalds
2671da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2681da177e4SLinus Torvalds
269200c8804SHelge Dellerconfig IRQSTACKS
270200c8804SHelge Deller	bool "Use separate kernel stacks when processing interrupts"
271416821d3SHelge Deller	default y
272200c8804SHelge Deller	help
273200c8804SHelge Deller	  If you say Y here the kernel will use separate kernel stacks
274200c8804SHelge Deller	  for handling hard and soft interrupts.  This can help avoid
275200c8804SHelge Deller	  overflowing the process kernel stacks.
276200c8804SHelge Deller
2771da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2781da177e4SLinus Torvalds	bool
2791da177e4SLinus Torvalds	default y if SMP
2801da177e4SLinus Torvalds
281a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
282a2ba82cdSKyle McMartin	def_bool y
283a2ba82cdSKyle McMartin	depends on 64BIT
284a2ba82cdSKyle McMartin
2853f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
286a2ba82cdSKyle McMartin	def_bool y
287a2ba82cdSKyle McMartin	depends on 64BIT
288a2ba82cdSKyle McMartin
289a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
290a2ba82cdSKyle McMartin	def_bool y
291a2ba82cdSKyle McMartin
292a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
293a2ba82cdSKyle McMartin	def_bool y
294a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2951da177e4SLinus Torvalds
296c80d79d7SYasunori Gotoconfig NODES_SHIFT
297c80d79d7SYasunori Goto	int
298c80d79d7SYasunori Goto	default "3"
299c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
300c80d79d7SYasunori Goto
30150a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
3028b631342SGrant Grundlersource "kernel/Kconfig.hz"
3033f22ab27SDave Hansensource "mm/Kconfig"
3043f22ab27SDave Hansen
3051da177e4SLinus Torvaldsconfig COMPAT
3061da177e4SLinus Torvalds	def_bool y
3071da177e4SLinus Torvalds	depends on 64BIT
3081da177e4SLinus Torvalds
309bf581e15SHelge Dellerconfig SYSVIPC_COMPAT
310bf581e15SHelge Deller	def_bool y
311bf581e15SHelge Deller	depends on COMPAT && SYSVIPC
312bf581e15SHelge Deller
313527973c8SHelge Dellerconfig AUDIT_ARCH
314527973c8SHelge Deller	def_bool y
315527973c8SHelge Deller
3161da177e4SLinus Torvaldsconfig NR_CPUS
3171da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
3181da177e4SLinus Torvalds	range 2 32
3191da177e4SLinus Torvalds	depends on SMP
3201da177e4SLinus Torvalds	default "32"
3211da177e4SLinus Torvalds
3221da177e4SLinus Torvaldsendmenu
3231da177e4SLinus Torvalds
3241da177e4SLinus Torvalds
3251da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
3261da177e4SLinus Torvalds
3271da177e4SLinus Torvalds
3281da177e4SLinus Torvaldsmenu "Executable file formats"
3291da177e4SLinus Torvalds
3301da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
3311da177e4SLinus Torvalds
3321da177e4SLinus Torvaldsendmenu
3331da177e4SLinus Torvalds
334d5950b43SSam Ravnborgsource "net/Kconfig"
335d5950b43SSam Ravnborg
3361da177e4SLinus Torvaldssource "drivers/Kconfig"
3371da177e4SLinus Torvalds
3381da177e4SLinus Torvaldssource "fs/Kconfig"
3391da177e4SLinus Torvalds
3401da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
3411da177e4SLinus Torvalds
342c90f0694SHelge Dellerconfig SECCOMP
343c90f0694SHelge Deller	def_bool y
344c90f0694SHelge Deller	prompt "Enable seccomp to safely compute untrusted bytecode"
345c90f0694SHelge Deller	---help---
346c90f0694SHelge Deller	  This kernel feature is useful for number crunching applications
347c90f0694SHelge Deller	  that may need to compute untrusted bytecode during their
348c90f0694SHelge Deller	  execution. By using pipes or other transports made available to
349c90f0694SHelge Deller	  the process as file descriptors supporting the read/write
350c90f0694SHelge Deller	  syscalls, it's possible to isolate those applications in
351c90f0694SHelge Deller	  their own address space using seccomp. Once seccomp is
352c90f0694SHelge Deller	  enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
353c90f0694SHelge Deller	  and the task is only allowed to execute a few safe syscalls
354c90f0694SHelge Deller	  defined by each seccomp mode.
355c90f0694SHelge Deller
356c90f0694SHelge Deller	  If unsure, say Y. Only embedded should say N here.
357c90f0694SHelge Deller
3581da177e4SLinus Torvaldssource "security/Kconfig"
3591da177e4SLinus Torvalds
3601da177e4SLinus Torvaldssource "crypto/Kconfig"
3611da177e4SLinus Torvalds
3621da177e4SLinus Torvaldssource "lib/Kconfig"
363