xref: /linux/arch/parisc/Kconfig (revision 42d4b839c82fd7dd8e412145eb6d9752468478e2)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# For a description of the syntax of this configuration file,
31da177e4SLinus Torvalds# see Documentation/kbuild/kconfig-language.txt.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
61da177e4SLinus Torvaldsmainmenu "Linux/PA-RISC Kernel Configuration"
71da177e4SLinus Torvalds
81da177e4SLinus Torvaldsconfig PARISC
91da177e4SLinus Torvalds	def_bool y
10*42d4b839SMathieu Desnoyers	select HAVE_OPROFILE
111da177e4SLinus Torvalds	help
121da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
131da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
141da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
151da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
161da177e4SLinus Torvalds
171da177e4SLinus Torvaldsconfig MMU
181da177e4SLinus Torvalds	def_bool y
191da177e4SLinus Torvalds
201da177e4SLinus Torvaldsconfig STACK_GROWSUP
211da177e4SLinus Torvalds	def_bool y
221da177e4SLinus Torvalds
2395c354feSNick Pigginconfig GENERIC_LOCKBREAK
2495c354feSNick Piggin	bool
2595c354feSNick Piggin	default y
2695c354feSNick Piggin	depends on SMP && PREEMPT
2795c354feSNick Piggin
281da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
291da177e4SLinus Torvalds	def_bool y
301da177e4SLinus Torvalds
311da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
321da177e4SLinus Torvalds	bool
331da177e4SLinus Torvalds
34f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
35f0d1b0b3SDavid Howells	bool
36f0d1b0b3SDavid Howells	default n
37f0d1b0b3SDavid Howells
38f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
39f0d1b0b3SDavid Howells	bool
40f0d1b0b3SDavid Howells	default n
41f0d1b0b3SDavid Howells
4259e18a2eSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
4359e18a2eSAkinobu Mita	bool
4459e18a2eSAkinobu Mita	default y
4559e18a2eSAkinobu Mita
466891f8a1SHelge Dellerconfig GENERIC_BUG
476891f8a1SHelge Deller	bool
486891f8a1SHelge Deller	default y
496891f8a1SHelge Deller	depends on BUG
506891f8a1SHelge Deller
5159e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
5259e18a2eSAkinobu Mita	bool
5359e18a2eSAkinobu Mita	default y
5459e18a2eSAkinobu Mita
551da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
561da177e4SLinus Torvalds	bool
571da177e4SLinus Torvalds	default y
581da177e4SLinus Torvalds
5912df29b6SHelge Dellerconfig GENERIC_TIME
6012df29b6SHelge Deller	bool
6112df29b6SHelge Deller	default y
6212df29b6SHelge Deller
6306027bddSIngo Molnarconfig TIME_LOW_RES
6406027bddSIngo Molnar	bool
6506027bddSIngo Molnar	depends on SMP
6606027bddSIngo Molnar	default y
6706027bddSIngo Molnar
681da177e4SLinus Torvaldsconfig GENERIC_HARDIRQS
691da177e4SLinus Torvalds	def_bool y
701da177e4SLinus Torvalds
711da177e4SLinus Torvaldsconfig GENERIC_IRQ_PROBE
721da177e4SLinus Torvalds	def_bool y
731da177e4SLinus Torvalds
740d7012a9SIngo Molnarconfig IRQ_PER_CPU
750d7012a9SIngo Molnar	bool
760d7012a9SIngo Molnar	default y
770d7012a9SIngo Molnar
781da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
791da177e4SLinus Torvaldsconfig PM
801da177e4SLinus Torvalds	bool
811da177e4SLinus Torvalds
825cae841bSAl Viroconfig ISA_DMA_API
835cae841bSAl Viro	bool
845cae841bSAl Viro
85a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
86a08b6b79Sviro@ZenIV.linux.org.uk	bool
878b631342SGrant Grundler	depends on BROKEN
88a08b6b79Sviro@ZenIV.linux.org.uk	default y
89a08b6b79Sviro@ZenIV.linux.org.uk
901da177e4SLinus Torvaldssource "init/Kconfig"
911da177e4SLinus Torvalds
921da177e4SLinus Torvalds
931da177e4SLinus Torvaldsmenu "Processor type and features"
941da177e4SLinus Torvalds
951da177e4SLinus Torvaldschoice
961da177e4SLinus Torvalds	prompt "Processor type"
971da177e4SLinus Torvalds	default PA7000
981da177e4SLinus Torvalds
991da177e4SLinus Torvaldsconfig PA7000
1001da177e4SLinus Torvalds	bool "PA7000/PA7100"
1011da177e4SLinus Torvalds	---help---
1021da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1031da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1041da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1051da177e4SLinus Torvalds	  you can specify "PA7000" here.
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1081da177e4SLinus Torvalds	  which is required on some machines.
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldsconfig PA7100LC
1111da177e4SLinus Torvalds	bool "PA7100LC"
1121da177e4SLinus Torvalds	help
1131da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1141da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1151da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvaldsconfig PA7200
1181da177e4SLinus Torvalds	bool "PA7200"
1191da177e4SLinus Torvalds	help
1201da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1211da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1221da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1231da177e4SLinus Torvalds
1241da177e4SLinus Torvaldsconfig PA7300LC
1251da177e4SLinus Torvalds	bool "PA7300LC"
1261da177e4SLinus Torvalds	help
1271da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1281da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1291da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvaldsconfig PA8X00
1321da177e4SLinus Torvalds	bool "PA8000 and up"
1331da177e4SLinus Torvalds	help
1341da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1351da177e4SLinus Torvalds
1361da177e4SLinus Torvaldsendchoice
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvalds# Define implied options from the CPU selection here
1391da177e4SLinus Torvalds
1401da177e4SLinus Torvaldsconfig PA20
1411da177e4SLinus Torvalds	def_bool y
1421da177e4SLinus Torvalds	depends on PA8X00
1431da177e4SLinus Torvalds
1441da177e4SLinus Torvaldsconfig PA11
1451da177e4SLinus Torvalds	def_bool y
1461da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsconfig PREFETCH
1491da177e4SLinus Torvalds	def_bool y
15032104b29SKyle McMartin	depends on PA8X00 || PA7200
1511da177e4SLinus Torvalds
1521da177e4SLinus Torvaldsconfig 64BIT
1531da177e4SLinus Torvalds	bool "64-bit kernel"
1541da177e4SLinus Torvalds	depends on PA8X00
1551da177e4SLinus Torvalds	help
1561da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1591da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1621da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1631da177e4SLinus Torvalds	  and slower than the 32bit one.
1641da177e4SLinus Torvalds
1652fd83038SHelge Dellerchoice
1662fd83038SHelge Deller	prompt "Kernel page size"
1672fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if !64BIT
1682fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if 64BIT
1692fd83038SHelge Deller#	default PARISC_PAGE_SIZE_16KB if 64BIT
1702fd83038SHelge Deller
1712fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
1722fd83038SHelge Deller	bool "4KB"
1732fd83038SHelge Deller	help
1742fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
1752fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
1762fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
1772fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
1782fd83038SHelge Deller	  with a larger page size).
1792fd83038SHelge Deller
1802fd83038SHelge Deller	  4KB                For best 32bit compatibility
1812fd83038SHelge Deller	  16KB               For best performance
1822fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
1832fd83038SHelge Deller
1842fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
1852fd83038SHelge Deller
1862fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
1872fd83038SHelge Deller	bool "16KB (EXPERIMENTAL)"
1882fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
1892fd83038SHelge Deller
1902fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
1912fd83038SHelge Deller	bool "64KB (EXPERIMENTAL)"
1922fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
1932fd83038SHelge Deller
1942fd83038SHelge Dellerendchoice
1952fd83038SHelge Deller
1961da177e4SLinus Torvaldsconfig SMP
1971da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
1981da177e4SLinus Torvalds	---help---
1991da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2001da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2011da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2021da177e4SLinus Torvalds
2031da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2041da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2051da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2061da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2071da177e4SLinus Torvalds	  will run faster if you say N here.
2081da177e4SLinus Torvalds
2091da177e4SLinus Torvalds	  See also the <file:Documentation/smp.txt>,
2101da177e4SLinus Torvalds	  <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO available
2111da177e4SLinus Torvalds	  at <http://www.tldp.org/docs.html#howto>.
2121da177e4SLinus Torvalds
2131da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2141da177e4SLinus Torvalds
2151da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2161da177e4SLinus Torvalds	bool
2171da177e4SLinus Torvalds	default y if SMP
2181da177e4SLinus Torvalds	select HOTPLUG
2191da177e4SLinus Torvalds
220a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
221a2ba82cdSKyle McMartin	def_bool y
222a2ba82cdSKyle McMartin	depends on 64BIT
223a2ba82cdSKyle McMartin
2243f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
225a2ba82cdSKyle McMartin	def_bool y
226a2ba82cdSKyle McMartin	depends on 64BIT
227a2ba82cdSKyle McMartin
228a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
229a2ba82cdSKyle McMartin	def_bool y
230a2ba82cdSKyle McMartin
231a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
232a2ba82cdSKyle McMartin	def_bool y
233a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2341da177e4SLinus Torvalds
235c80d79d7SYasunori Gotoconfig NODES_SHIFT
236c80d79d7SYasunori Goto	int
237c80d79d7SYasunori Goto	default "3"
238c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
239c80d79d7SYasunori Goto
24050a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2418b631342SGrant Grundlersource "kernel/Kconfig.hz"
2423f22ab27SDave Hansensource "mm/Kconfig"
2433f22ab27SDave Hansen
2441da177e4SLinus Torvaldsconfig COMPAT
2451da177e4SLinus Torvalds	def_bool y
2461da177e4SLinus Torvalds	depends on 64BIT
2471da177e4SLinus Torvalds
2481da177e4SLinus Torvaldsconfig HPUX
2491da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2501da177e4SLinus Torvalds	depends on !64BIT
2511da177e4SLinus Torvalds
2521da177e4SLinus Torvaldsconfig NR_CPUS
2531da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2541da177e4SLinus Torvalds	range 2 32
2551da177e4SLinus Torvalds	depends on SMP
2561da177e4SLinus Torvalds	default "32"
2571da177e4SLinus Torvalds
2581da177e4SLinus Torvaldsendmenu
2591da177e4SLinus Torvalds
2601da177e4SLinus Torvalds
2611da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
2621da177e4SLinus Torvalds
2631da177e4SLinus Torvalds
2641da177e4SLinus Torvaldsmenu "Executable file formats"
2651da177e4SLinus Torvalds
2661da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvaldsendmenu
2691da177e4SLinus Torvalds
270d5950b43SSam Ravnborgsource "net/Kconfig"
271d5950b43SSam Ravnborg
2721da177e4SLinus Torvaldssource "drivers/Kconfig"
2731da177e4SLinus Torvalds
2741da177e4SLinus Torvaldssource "fs/Kconfig"
2751da177e4SLinus Torvalds
27609cadedbSMathieu Desnoyerssource "kernel/Kconfig.instrumentation"
2771da177e4SLinus Torvalds
2781da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
2791da177e4SLinus Torvalds
2801da177e4SLinus Torvaldssource "security/Kconfig"
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvaldssource "crypto/Kconfig"
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvaldssource "lib/Kconfig"
285