xref: /linux/arch/parisc/Kconfig (revision 4a24fb2f30c362ee63663a232266fd503bb9cdc2)
11da177e4SLinus Torvaldsconfig PARISC
21da177e4SLinus Torvalds	def_bool y
3446f24d1SStephen Boyd	select ARCH_HAS_DEBUG_STRICT_USER_COPY_CHECKS
4*4a24fb2fSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT
5ec7748b5SSam Ravnborg	select HAVE_IDE
642d4b839SMathieu Desnoyers	select HAVE_OPROFILE
7d75f054aSHelge Deller	select HAVE_FUNCTION_TRACER if 64BIT
8d75f054aSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
9d75f054aSHelge Deller	select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
104530c49eSHelge Deller	select ARCH_WANT_FRAME_POINTERS
119eb16864SKyle McMartin	select RTC_CLASS
123afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
1398a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
14f67d3c83SKyle McMartin	select BUG
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
25786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
264febd95aSStephen Rothwell	select VIRT_TO_BUS
27786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
28415bfae9SAl Viro	select CLONE_BACKWARDS
294f73bc4dSJoe Millenbach	select TTY # Needed for pdc_cons.c
30d1a1dc0bSDave Hansen	select HAVE_DEBUG_STACKOVERFLOW
3172e73af1SThomas Gleixner
321da177e4SLinus Torvalds	help
331da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
341da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
351da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
361da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
371da177e4SLinus Torvalds
381da177e4SLinus Torvaldsconfig MMU
391da177e4SLinus Torvalds	def_bool y
401da177e4SLinus Torvalds
411da177e4SLinus Torvaldsconfig STACK_GROWSUP
421da177e4SLinus Torvalds	def_bool y
431da177e4SLinus Torvalds
4495c354feSNick Pigginconfig GENERIC_LOCKBREAK
4595c354feSNick Piggin	bool
4695c354feSNick Piggin	default y
4795c354feSNick Piggin	depends on SMP && PREEMPT
4895c354feSNick Piggin
491da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
501da177e4SLinus Torvalds	def_bool y
511da177e4SLinus Torvalds
521da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
531da177e4SLinus Torvalds	bool
541da177e4SLinus Torvalds
55f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
56f0d1b0b3SDavid Howells	bool
57f0d1b0b3SDavid Howells	default n
58f0d1b0b3SDavid Howells
59f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
60f0d1b0b3SDavid Howells	bool
61f0d1b0b3SDavid Howells	default n
62f0d1b0b3SDavid Howells
636891f8a1SHelge Dellerconfig GENERIC_BUG
646891f8a1SHelge Deller	bool
656891f8a1SHelge Deller	default y
666891f8a1SHelge Deller	depends on BUG
676891f8a1SHelge Deller
6859e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
6959e18a2eSAkinobu Mita	bool
7059e18a2eSAkinobu Mita	default y
7159e18a2eSAkinobu Mita
721da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
731da177e4SLinus Torvalds	bool
741da177e4SLinus Torvalds	default y
751da177e4SLinus Torvalds
7606027bddSIngo Molnarconfig TIME_LOW_RES
7706027bddSIngo Molnar	bool
7806027bddSIngo Molnar	depends on SMP
7906027bddSIngo Molnar	default y
8006027bddSIngo Molnar
81548f1176SHelge Dellerconfig HAVE_LATENCYTOP_SUPPORT
82548f1176SHelge Deller        def_bool y
83548f1176SHelge Deller
841da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
851da177e4SLinus Torvaldsconfig PM
861da177e4SLinus Torvalds	bool
871da177e4SLinus Torvalds
88548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
89548f1176SHelge Deller	def_bool y
90548f1176SHelge Deller
9174a0bd66SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
9274a0bd66SFUJITA Tomonori	def_bool y
9374a0bd66SFUJITA Tomonori
94f6ae31c2SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
95f6ae31c2SFUJITA Tomonori	def_bool y
96f6ae31c2SFUJITA Tomonori
975cae841bSAl Viroconfig ISA_DMA_API
985cae841bSAl Viro	bool
995cae841bSAl Viro
100a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
101a08b6b79Sviro@ZenIV.linux.org.uk	bool
1028b631342SGrant Grundler	depends on BROKEN
103a08b6b79Sviro@ZenIV.linux.org.uk	default y
104a08b6b79Sviro@ZenIV.linux.org.uk
1051da177e4SLinus Torvaldssource "init/Kconfig"
1061da177e4SLinus Torvalds
107dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
108dc52ddc0SMatt Helsley
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsmenu "Processor type and features"
1111da177e4SLinus Torvalds
1121da177e4SLinus Torvaldschoice
1131da177e4SLinus Torvalds	prompt "Processor type"
1141da177e4SLinus Torvalds	default PA7000
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvaldsconfig PA7000
1171da177e4SLinus Torvalds	bool "PA7000/PA7100"
1181da177e4SLinus Torvalds	---help---
1191da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1201da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1211da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1221da177e4SLinus Torvalds	  you can specify "PA7000" here.
1231da177e4SLinus Torvalds
1241da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1251da177e4SLinus Torvalds	  which is required on some machines.
1261da177e4SLinus Torvalds
1271da177e4SLinus Torvaldsconfig PA7100LC
1281da177e4SLinus Torvalds	bool "PA7100LC"
1291da177e4SLinus Torvalds	help
1301da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1311da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1321da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvaldsconfig PA7200
1351da177e4SLinus Torvalds	bool "PA7200"
1361da177e4SLinus Torvalds	help
1371da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1381da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1391da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvaldsconfig PA7300LC
1421da177e4SLinus Torvalds	bool "PA7300LC"
1431da177e4SLinus Torvalds	help
1441da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1451da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1461da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsconfig PA8X00
1491da177e4SLinus Torvalds	bool "PA8000 and up"
1501da177e4SLinus Torvalds	help
1511da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvaldsendchoice
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvalds# Define implied options from the CPU selection here
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvaldsconfig PA20
1581da177e4SLinus Torvalds	def_bool y
1591da177e4SLinus Torvalds	depends on PA8X00
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvaldsconfig PA11
1621da177e4SLinus Torvalds	def_bool y
1631da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvaldsconfig PREFETCH
1661da177e4SLinus Torvalds	def_bool y
16732104b29SKyle McMartin	depends on PA8X00 || PA7200
1681da177e4SLinus Torvalds
169ec758f98SHelge Dellerconfig MLONGCALLS
170ec758f98SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels"
171ec758f98SHelge Deller	def_bool y if (!MODULES)
172ec758f98SHelge Deller	depends on PA8X00
173ec758f98SHelge Deller	help
174ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
175ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
176ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
177ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
178ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
179ec758f98SHelge Deller
180ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
181ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
182ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
183ec758f98SHelge Deller
184ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
185ec758f98SHelge Deller
1861da177e4SLinus Torvaldsconfig 64BIT
1871da177e4SLinus Torvalds	bool "64-bit kernel"
1881da177e4SLinus Torvalds	depends on PA8X00
1891da177e4SLinus Torvalds	help
1901da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1911da177e4SLinus Torvalds
1921da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1931da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1941da177e4SLinus Torvalds
1951da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1961da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1971da177e4SLinus Torvalds	  and slower than the 32bit one.
1981da177e4SLinus Torvalds
1992fd83038SHelge Dellerchoice
2002fd83038SHelge Deller	prompt "Kernel page size"
2011c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
2022fd83038SHelge Deller
2032fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
2042fd83038SHelge Deller	bool "4KB"
2052fd83038SHelge Deller	help
2062fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2072fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2082fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2092fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2102fd83038SHelge Deller	  with a larger page size).
2112fd83038SHelge Deller
2122fd83038SHelge Deller	  4KB                For best 32bit compatibility
2132fd83038SHelge Deller	  16KB               For best performance
2142fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2152fd83038SHelge Deller
2162fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2172fd83038SHelge Deller
2182fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
219daef22cfSKees Cook	bool "16KB"
220daef22cfSKees Cook	depends on PA8X00
2212fd83038SHelge Deller
2222fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
223daef22cfSKees Cook	bool "64KB"
224daef22cfSKees Cook	depends on PA8X00
2252fd83038SHelge Deller
2262fd83038SHelge Dellerendchoice
2272fd83038SHelge Deller
2281da177e4SLinus Torvaldsconfig SMP
2291da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
230dbcf4787SJens Axboe	select USE_GENERIC_SMP_HELPERS
2311da177e4SLinus Torvalds	---help---
2321da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2331da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2341da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2351da177e4SLinus Torvalds
2361da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2371da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2381da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2391da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2401da177e4SLinus Torvalds	  will run faster if you say N here.
2411da177e4SLinus Torvalds
24203502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
24303502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2441da177e4SLinus Torvalds
2451da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2461da177e4SLinus Torvalds
247200c8804SHelge Dellerconfig IRQSTACKS
248200c8804SHelge Deller	bool "Use separate kernel stacks when processing interrupts"
249416821d3SHelge Deller	default y
250200c8804SHelge Deller	help
251200c8804SHelge Deller	  If you say Y here the kernel will use separate kernel stacks
252200c8804SHelge Deller	  for handling hard and soft interrupts.  This can help avoid
253200c8804SHelge Deller	  overflowing the process kernel stacks.
254200c8804SHelge Deller
2551da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2561da177e4SLinus Torvalds	bool
2571da177e4SLinus Torvalds	default y if SMP
2581da177e4SLinus Torvalds
259a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
260a2ba82cdSKyle McMartin	def_bool y
261a2ba82cdSKyle McMartin	depends on 64BIT
262a2ba82cdSKyle McMartin
2633f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
264a2ba82cdSKyle McMartin	def_bool y
265a2ba82cdSKyle McMartin	depends on 64BIT
266a2ba82cdSKyle McMartin
267a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
268a2ba82cdSKyle McMartin	def_bool y
269a2ba82cdSKyle McMartin
270a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
271a2ba82cdSKyle McMartin	def_bool y
272a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2731da177e4SLinus Torvalds
274c80d79d7SYasunori Gotoconfig NODES_SHIFT
275c80d79d7SYasunori Goto	int
276c80d79d7SYasunori Goto	default "3"
277c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
278c80d79d7SYasunori Goto
27950a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2808b631342SGrant Grundlersource "kernel/Kconfig.hz"
2813f22ab27SDave Hansensource "mm/Kconfig"
2823f22ab27SDave Hansen
2831da177e4SLinus Torvaldsconfig COMPAT
2841da177e4SLinus Torvalds	def_bool y
2851da177e4SLinus Torvalds	depends on 64BIT
2861da177e4SLinus Torvalds
287bf581e15SHelge Dellerconfig SYSVIPC_COMPAT
288bf581e15SHelge Deller	def_bool y
289bf581e15SHelge Deller	depends on COMPAT && SYSVIPC
290bf581e15SHelge Deller
2911da177e4SLinus Torvaldsconfig HPUX
2921da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2931da177e4SLinus Torvalds	depends on !64BIT
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvaldsconfig NR_CPUS
2961da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2971da177e4SLinus Torvalds	range 2 32
2981da177e4SLinus Torvalds	depends on SMP
2991da177e4SLinus Torvalds	default "32"
3001da177e4SLinus Torvalds
3011da177e4SLinus Torvaldsendmenu
3021da177e4SLinus Torvalds
3031da177e4SLinus Torvalds
3041da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
3051da177e4SLinus Torvalds
3061da177e4SLinus Torvalds
3071da177e4SLinus Torvaldsmenu "Executable file formats"
3081da177e4SLinus Torvalds
3091da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
3101da177e4SLinus Torvalds
3111da177e4SLinus Torvaldsendmenu
3121da177e4SLinus Torvalds
313d5950b43SSam Ravnborgsource "net/Kconfig"
314d5950b43SSam Ravnborg
3151da177e4SLinus Torvaldssource "drivers/Kconfig"
3161da177e4SLinus Torvalds
3171da177e4SLinus Torvaldssource "fs/Kconfig"
3181da177e4SLinus Torvalds
3191da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
3201da177e4SLinus Torvalds
3211da177e4SLinus Torvaldssource "security/Kconfig"
3221da177e4SLinus Torvalds
3231da177e4SLinus Torvaldssource "crypto/Kconfig"
3241da177e4SLinus Torvalds
3251da177e4SLinus Torvaldssource "lib/Kconfig"
326