xref: /linux/arch/parisc/Kconfig (revision b0b933c08bd5fd053bbba8ba6387f543be03d49f)
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
1042d4b839SMathieu 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
78*b0b933c0SDavid Howellsconfig ARCH_SUPPORTS_AOUT
79*b0b933c0SDavid Howells	def_bool y
80*b0b933c0SDavid Howells
811da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
821da177e4SLinus Torvaldsconfig PM
831da177e4SLinus Torvalds	bool
841da177e4SLinus Torvalds
855cae841bSAl Viroconfig ISA_DMA_API
865cae841bSAl Viro	bool
875cae841bSAl Viro
88a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
89a08b6b79Sviro@ZenIV.linux.org.uk	bool
908b631342SGrant Grundler	depends on BROKEN
91a08b6b79Sviro@ZenIV.linux.org.uk	default y
92a08b6b79Sviro@ZenIV.linux.org.uk
931da177e4SLinus Torvaldssource "init/Kconfig"
941da177e4SLinus Torvalds
951da177e4SLinus Torvalds
961da177e4SLinus Torvaldsmenu "Processor type and features"
971da177e4SLinus Torvalds
981da177e4SLinus Torvaldschoice
991da177e4SLinus Torvalds	prompt "Processor type"
1001da177e4SLinus Torvalds	default PA7000
1011da177e4SLinus Torvalds
1021da177e4SLinus Torvaldsconfig PA7000
1031da177e4SLinus Torvalds	bool "PA7000/PA7100"
1041da177e4SLinus Torvalds	---help---
1051da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1061da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1071da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1081da177e4SLinus Torvalds	  you can specify "PA7000" here.
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1111da177e4SLinus Torvalds	  which is required on some machines.
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvaldsconfig PA7100LC
1141da177e4SLinus Torvalds	bool "PA7100LC"
1151da177e4SLinus Torvalds	help
1161da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1171da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1181da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1191da177e4SLinus Torvalds
1201da177e4SLinus Torvaldsconfig PA7200
1211da177e4SLinus Torvalds	bool "PA7200"
1221da177e4SLinus Torvalds	help
1231da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1241da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1251da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1261da177e4SLinus Torvalds
1271da177e4SLinus Torvaldsconfig PA7300LC
1281da177e4SLinus Torvalds	bool "PA7300LC"
1291da177e4SLinus Torvalds	help
1301da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1311da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1321da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvaldsconfig PA8X00
1351da177e4SLinus Torvalds	bool "PA8000 and up"
1361da177e4SLinus Torvalds	help
1371da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvaldsendchoice
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvalds# Define implied options from the CPU selection here
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvaldsconfig PA20
1441da177e4SLinus Torvalds	def_bool y
1451da177e4SLinus Torvalds	depends on PA8X00
1461da177e4SLinus Torvalds
1471da177e4SLinus Torvaldsconfig PA11
1481da177e4SLinus Torvalds	def_bool y
1491da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvaldsconfig PREFETCH
1521da177e4SLinus Torvalds	def_bool y
15332104b29SKyle McMartin	depends on PA8X00 || PA7200
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvaldsconfig 64BIT
1561da177e4SLinus Torvalds	bool "64-bit kernel"
1571da177e4SLinus Torvalds	depends on PA8X00
1581da177e4SLinus Torvalds	help
1591da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1621da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1651da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1661da177e4SLinus Torvalds	  and slower than the 32bit one.
1671da177e4SLinus Torvalds
1682fd83038SHelge Dellerchoice
1692fd83038SHelge Deller	prompt "Kernel page size"
1702fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if !64BIT
1712fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if 64BIT
1722fd83038SHelge Deller#	default PARISC_PAGE_SIZE_16KB if 64BIT
1732fd83038SHelge Deller
1742fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
1752fd83038SHelge Deller	bool "4KB"
1762fd83038SHelge Deller	help
1772fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
1782fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
1792fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
1802fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
1812fd83038SHelge Deller	  with a larger page size).
1822fd83038SHelge Deller
1832fd83038SHelge Deller	  4KB                For best 32bit compatibility
1842fd83038SHelge Deller	  16KB               For best performance
1852fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
1862fd83038SHelge Deller
1872fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
1882fd83038SHelge Deller
1892fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
1902fd83038SHelge Deller	bool "16KB (EXPERIMENTAL)"
1912fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
1922fd83038SHelge Deller
1932fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
1942fd83038SHelge Deller	bool "64KB (EXPERIMENTAL)"
1952fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
1962fd83038SHelge Deller
1972fd83038SHelge Dellerendchoice
1982fd83038SHelge Deller
1991da177e4SLinus Torvaldsconfig SMP
2001da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
2011da177e4SLinus Torvalds	---help---
2021da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2031da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2041da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2051da177e4SLinus Torvalds
2061da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2071da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2081da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2091da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2101da177e4SLinus Torvalds	  will run faster if you say N here.
2111da177e4SLinus Torvalds
21203502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
21303502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2141da177e4SLinus Torvalds
2151da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2161da177e4SLinus Torvalds
2171da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2181da177e4SLinus Torvalds	bool
2191da177e4SLinus Torvalds	default y if SMP
2201da177e4SLinus Torvalds	select HOTPLUG
2211da177e4SLinus Torvalds
222a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
223a2ba82cdSKyle McMartin	def_bool y
224a2ba82cdSKyle McMartin	depends on 64BIT
225a2ba82cdSKyle McMartin
2263f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
227a2ba82cdSKyle McMartin	def_bool y
228a2ba82cdSKyle McMartin	depends on 64BIT
229a2ba82cdSKyle McMartin
230a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
231a2ba82cdSKyle McMartin	def_bool y
232a2ba82cdSKyle McMartin
233a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
234a2ba82cdSKyle McMartin	def_bool y
235a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2361da177e4SLinus Torvalds
237c80d79d7SYasunori Gotoconfig NODES_SHIFT
238c80d79d7SYasunori Goto	int
239c80d79d7SYasunori Goto	default "3"
240c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
241c80d79d7SYasunori Goto
24250a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2438b631342SGrant Grundlersource "kernel/Kconfig.hz"
2443f22ab27SDave Hansensource "mm/Kconfig"
2453f22ab27SDave Hansen
2461da177e4SLinus Torvaldsconfig COMPAT
2471da177e4SLinus Torvalds	def_bool y
2481da177e4SLinus Torvalds	depends on 64BIT
2491da177e4SLinus Torvalds
2501da177e4SLinus Torvaldsconfig HPUX
2511da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2521da177e4SLinus Torvalds	depends on !64BIT
2531da177e4SLinus Torvalds
2541da177e4SLinus Torvaldsconfig NR_CPUS
2551da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2561da177e4SLinus Torvalds	range 2 32
2571da177e4SLinus Torvalds	depends on SMP
2581da177e4SLinus Torvalds	default "32"
2591da177e4SLinus Torvalds
2601da177e4SLinus Torvaldsendmenu
2611da177e4SLinus Torvalds
2621da177e4SLinus Torvalds
2631da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
2641da177e4SLinus Torvalds
2651da177e4SLinus Torvalds
2661da177e4SLinus Torvaldsmenu "Executable file formats"
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
2691da177e4SLinus Torvalds
2701da177e4SLinus Torvaldsendmenu
2711da177e4SLinus Torvalds
272d5950b43SSam Ravnborgsource "net/Kconfig"
273d5950b43SSam Ravnborg
2741da177e4SLinus Torvaldssource "drivers/Kconfig"
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvaldssource "fs/Kconfig"
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