xref: /linux/arch/parisc/Kconfig (revision e360adbe29241a0194e10e20595360dd7b98a2b3)
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
10ec7748b5SSam Ravnborg	select HAVE_IDE
1142d4b839SMathieu Desnoyers	select HAVE_OPROFILE
12d75f054aSHelge Deller	select HAVE_FUNCTION_TRACER if 64BIT
13d75f054aSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
14d75f054aSHelge Deller	select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
159eb16864SKyle McMartin	select RTC_CLASS
163afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
1798a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
18f67d3c83SKyle McMartin	select BUG
19*e360adbeSPeter Zijlstra	select HAVE_IRQ_WORK
20cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
2164daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
221da177e4SLinus Torvalds	help
231da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
241da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
251da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
261da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
271da177e4SLinus Torvalds
281da177e4SLinus Torvaldsconfig MMU
291da177e4SLinus Torvalds	def_bool y
301da177e4SLinus Torvalds
311da177e4SLinus Torvaldsconfig STACK_GROWSUP
321da177e4SLinus Torvalds	def_bool y
331da177e4SLinus Torvalds
3495c354feSNick Pigginconfig GENERIC_LOCKBREAK
3595c354feSNick Piggin	bool
3695c354feSNick Piggin	default y
3795c354feSNick Piggin	depends on SMP && PREEMPT
3895c354feSNick Piggin
391da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
401da177e4SLinus Torvalds	def_bool y
411da177e4SLinus Torvalds
421da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
431da177e4SLinus Torvalds	bool
441da177e4SLinus Torvalds
45f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
46f0d1b0b3SDavid Howells	bool
47f0d1b0b3SDavid Howells	default n
48f0d1b0b3SDavid Howells
49f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
50f0d1b0b3SDavid Howells	bool
51f0d1b0b3SDavid Howells	default n
52f0d1b0b3SDavid Howells
5359e18a2eSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
5459e18a2eSAkinobu Mita	bool
5559e18a2eSAkinobu Mita	default y
5659e18a2eSAkinobu Mita
576891f8a1SHelge Dellerconfig GENERIC_BUG
586891f8a1SHelge Deller	bool
596891f8a1SHelge Deller	default y
606891f8a1SHelge Deller	depends on BUG
616891f8a1SHelge Deller
6259e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
6359e18a2eSAkinobu Mita	bool
6459e18a2eSAkinobu Mita	default y
6559e18a2eSAkinobu Mita
661da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
671da177e4SLinus Torvalds	bool
681da177e4SLinus Torvalds	default y
691da177e4SLinus Torvalds
7006027bddSIngo Molnarconfig TIME_LOW_RES
7106027bddSIngo Molnar	bool
7206027bddSIngo Molnar	depends on SMP
7306027bddSIngo Molnar	default y
7406027bddSIngo Molnar
751da177e4SLinus Torvaldsconfig GENERIC_HARDIRQS
761da177e4SLinus Torvalds	def_bool y
771da177e4SLinus Torvalds
781da177e4SLinus Torvaldsconfig GENERIC_IRQ_PROBE
791da177e4SLinus Torvalds	def_bool y
801da177e4SLinus Torvalds
81548f1176SHelge Dellerconfig HAVE_LATENCYTOP_SUPPORT
82548f1176SHelge Deller        def_bool y
83548f1176SHelge Deller
840d7012a9SIngo Molnarconfig IRQ_PER_CPU
850d7012a9SIngo Molnar	bool
860d7012a9SIngo Molnar	default y
870d7012a9SIngo Molnar
881da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
891da177e4SLinus Torvaldsconfig PM
901da177e4SLinus Torvalds	bool
911da177e4SLinus Torvalds
92548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
93548f1176SHelge Deller	def_bool y
94548f1176SHelge Deller
9574a0bd66SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
9674a0bd66SFUJITA Tomonori	def_bool y
9774a0bd66SFUJITA Tomonori
98f6ae31c2SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
99f6ae31c2SFUJITA Tomonori	def_bool y
100f6ae31c2SFUJITA Tomonori
1015cae841bSAl Viroconfig ISA_DMA_API
1025cae841bSAl Viro	bool
1035cae841bSAl Viro
104a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
105a08b6b79Sviro@ZenIV.linux.org.uk	bool
1068b631342SGrant Grundler	depends on BROKEN
107a08b6b79Sviro@ZenIV.linux.org.uk	default y
108a08b6b79Sviro@ZenIV.linux.org.uk
1091da177e4SLinus Torvaldssource "init/Kconfig"
1101da177e4SLinus Torvalds
111dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
112dc52ddc0SMatt Helsley
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvaldsmenu "Processor type and features"
1151da177e4SLinus Torvalds
1161da177e4SLinus Torvaldschoice
1171da177e4SLinus Torvalds	prompt "Processor type"
1181da177e4SLinus Torvalds	default PA7000
1191da177e4SLinus Torvalds
1201da177e4SLinus Torvaldsconfig PA7000
1211da177e4SLinus Torvalds	bool "PA7000/PA7100"
1221da177e4SLinus Torvalds	---help---
1231da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1241da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1251da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1261da177e4SLinus Torvalds	  you can specify "PA7000" here.
1271da177e4SLinus Torvalds
1281da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1291da177e4SLinus Torvalds	  which is required on some machines.
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvaldsconfig PA7100LC
1321da177e4SLinus Torvalds	bool "PA7100LC"
1331da177e4SLinus Torvalds	help
1341da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1351da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1361da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1371da177e4SLinus Torvalds
1381da177e4SLinus Torvaldsconfig PA7200
1391da177e4SLinus Torvalds	bool "PA7200"
1401da177e4SLinus Torvalds	help
1411da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1421da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1431da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1441da177e4SLinus Torvalds
1451da177e4SLinus Torvaldsconfig PA7300LC
1461da177e4SLinus Torvalds	bool "PA7300LC"
1471da177e4SLinus Torvalds	help
1481da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1491da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1501da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1511da177e4SLinus Torvalds
1521da177e4SLinus Torvaldsconfig PA8X00
1531da177e4SLinus Torvalds	bool "PA8000 and up"
1541da177e4SLinus Torvalds	help
1551da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1561da177e4SLinus Torvalds
1571da177e4SLinus Torvaldsendchoice
1581da177e4SLinus Torvalds
1591da177e4SLinus Torvalds# Define implied options from the CPU selection here
1601da177e4SLinus Torvalds
1611da177e4SLinus Torvaldsconfig PA20
1621da177e4SLinus Torvalds	def_bool y
1631da177e4SLinus Torvalds	depends on PA8X00
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvaldsconfig PA11
1661da177e4SLinus Torvalds	def_bool y
1671da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1681da177e4SLinus Torvalds
1691da177e4SLinus Torvaldsconfig PREFETCH
1701da177e4SLinus Torvalds	def_bool y
17132104b29SKyle McMartin	depends on PA8X00 || PA7200
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvaldsconfig 64BIT
1741da177e4SLinus Torvalds	bool "64-bit kernel"
1751da177e4SLinus Torvalds	depends on PA8X00
1761da177e4SLinus Torvalds	help
1771da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1801da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1831da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1841da177e4SLinus Torvalds	  and slower than the 32bit one.
1851da177e4SLinus Torvalds
1862fd83038SHelge Dellerchoice
1872fd83038SHelge Deller	prompt "Kernel page size"
1882fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if !64BIT
1892fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if 64BIT
1902fd83038SHelge Deller#	default PARISC_PAGE_SIZE_16KB if 64BIT
1912fd83038SHelge Deller
1922fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
1932fd83038SHelge Deller	bool "4KB"
1942fd83038SHelge Deller	help
1952fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
1962fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
1972fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
1982fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
1992fd83038SHelge Deller	  with a larger page size).
2002fd83038SHelge Deller
2012fd83038SHelge Deller	  4KB                For best 32bit compatibility
2022fd83038SHelge Deller	  16KB               For best performance
2032fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2042fd83038SHelge Deller
2052fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2062fd83038SHelge Deller
2072fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
2082fd83038SHelge Deller	bool "16KB (EXPERIMENTAL)"
2092fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2102fd83038SHelge Deller
2112fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
2122fd83038SHelge Deller	bool "64KB (EXPERIMENTAL)"
2132fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2142fd83038SHelge Deller
2152fd83038SHelge Dellerendchoice
2162fd83038SHelge Deller
2171da177e4SLinus Torvaldsconfig SMP
2181da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
219dbcf4787SJens Axboe	select USE_GENERIC_SMP_HELPERS
2201da177e4SLinus Torvalds	---help---
2211da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2221da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2231da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2241da177e4SLinus Torvalds
2251da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2261da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2271da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2281da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2291da177e4SLinus Torvalds	  will run faster if you say N here.
2301da177e4SLinus Torvalds
23103502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
23203502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2331da177e4SLinus Torvalds
2341da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2351da177e4SLinus Torvalds
2361da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2371da177e4SLinus Torvalds	bool
2381da177e4SLinus Torvalds	default y if SMP
2391da177e4SLinus Torvalds	select HOTPLUG
2401da177e4SLinus Torvalds
241a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
242a2ba82cdSKyle McMartin	def_bool y
243a2ba82cdSKyle McMartin	depends on 64BIT
244a2ba82cdSKyle McMartin
2453f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
246a2ba82cdSKyle McMartin	def_bool y
247a2ba82cdSKyle McMartin	depends on 64BIT
248a2ba82cdSKyle McMartin
249a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
250a2ba82cdSKyle McMartin	def_bool y
251a2ba82cdSKyle McMartin
252a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
253a2ba82cdSKyle McMartin	def_bool y
254a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2551da177e4SLinus Torvalds
256c80d79d7SYasunori Gotoconfig NODES_SHIFT
257c80d79d7SYasunori Goto	int
258c80d79d7SYasunori Goto	default "3"
259c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
260c80d79d7SYasunori Goto
26150a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2628b631342SGrant Grundlersource "kernel/Kconfig.hz"
2633f22ab27SDave Hansensource "mm/Kconfig"
2643f22ab27SDave Hansen
2651da177e4SLinus Torvaldsconfig COMPAT
2661da177e4SLinus Torvalds	def_bool y
2671da177e4SLinus Torvalds	depends on 64BIT
2681da177e4SLinus Torvalds
2691da177e4SLinus Torvaldsconfig HPUX
2701da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2711da177e4SLinus Torvalds	depends on !64BIT
2721da177e4SLinus Torvalds
2731da177e4SLinus Torvaldsconfig NR_CPUS
2741da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2751da177e4SLinus Torvalds	range 2 32
2761da177e4SLinus Torvalds	depends on SMP
2771da177e4SLinus Torvalds	default "32"
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvaldsendmenu
2801da177e4SLinus Torvalds
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvalds
2851da177e4SLinus Torvaldsmenu "Executable file formats"
2861da177e4SLinus Torvalds
2871da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvaldsendmenu
2901da177e4SLinus Torvalds
291d5950b43SSam Ravnborgsource "net/Kconfig"
292d5950b43SSam Ravnborg
2931da177e4SLinus Torvaldssource "drivers/Kconfig"
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvaldssource "fs/Kconfig"
2961da177e4SLinus Torvalds
2971da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
2981da177e4SLinus Torvalds
2991da177e4SLinus Torvaldssource "security/Kconfig"
3001da177e4SLinus Torvalds
3011da177e4SLinus Torvaldssource "crypto/Kconfig"
3021da177e4SLinus Torvalds
3031da177e4SLinus Torvaldssource "lib/Kconfig"
304