xref: /linux/arch/parisc/Kconfig (revision f6ae31c23be6926359e9379acfdbbdd945209f05)
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
19cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
2064daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
211da177e4SLinus Torvalds	help
221da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
231da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
241da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
251da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
261da177e4SLinus Torvalds
271da177e4SLinus Torvaldsconfig MMU
281da177e4SLinus Torvalds	def_bool y
291da177e4SLinus Torvalds
301da177e4SLinus Torvaldsconfig STACK_GROWSUP
311da177e4SLinus Torvalds	def_bool y
321da177e4SLinus Torvalds
3395c354feSNick Pigginconfig GENERIC_LOCKBREAK
3495c354feSNick Piggin	bool
3595c354feSNick Piggin	default y
3695c354feSNick Piggin	depends on SMP && PREEMPT
3795c354feSNick Piggin
381da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
391da177e4SLinus Torvalds	def_bool y
401da177e4SLinus Torvalds
411da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
421da177e4SLinus Torvalds	bool
431da177e4SLinus Torvalds
44f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
45f0d1b0b3SDavid Howells	bool
46f0d1b0b3SDavid Howells	default n
47f0d1b0b3SDavid Howells
48f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
49f0d1b0b3SDavid Howells	bool
50f0d1b0b3SDavid Howells	default n
51f0d1b0b3SDavid Howells
5259e18a2eSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
5359e18a2eSAkinobu Mita	bool
5459e18a2eSAkinobu Mita	default y
5559e18a2eSAkinobu Mita
566891f8a1SHelge Dellerconfig GENERIC_BUG
576891f8a1SHelge Deller	bool
586891f8a1SHelge Deller	default y
596891f8a1SHelge Deller	depends on BUG
606891f8a1SHelge Deller
6159e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
6259e18a2eSAkinobu Mita	bool
6359e18a2eSAkinobu Mita	default y
6459e18a2eSAkinobu Mita
651da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
661da177e4SLinus Torvalds	bool
671da177e4SLinus Torvalds	default y
681da177e4SLinus Torvalds
6912df29b6SHelge Dellerconfig GENERIC_TIME
7012df29b6SHelge Deller	bool
7112df29b6SHelge Deller	default y
7212df29b6SHelge Deller
7306027bddSIngo Molnarconfig TIME_LOW_RES
7406027bddSIngo Molnar	bool
7506027bddSIngo Molnar	depends on SMP
7606027bddSIngo Molnar	default y
7706027bddSIngo Molnar
781da177e4SLinus Torvaldsconfig GENERIC_HARDIRQS
791da177e4SLinus Torvalds	def_bool y
801da177e4SLinus Torvalds
811da177e4SLinus Torvaldsconfig GENERIC_IRQ_PROBE
821da177e4SLinus Torvalds	def_bool y
831da177e4SLinus Torvalds
84548f1176SHelge Dellerconfig HAVE_LATENCYTOP_SUPPORT
85548f1176SHelge Deller        def_bool y
86548f1176SHelge Deller
870d7012a9SIngo Molnarconfig IRQ_PER_CPU
880d7012a9SIngo Molnar	bool
890d7012a9SIngo Molnar	default y
900d7012a9SIngo Molnar
911da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
921da177e4SLinus Torvaldsconfig PM
931da177e4SLinus Torvalds	bool
941da177e4SLinus Torvalds
95548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
96548f1176SHelge Deller	def_bool y
97548f1176SHelge Deller
9874a0bd66SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
9974a0bd66SFUJITA Tomonori	def_bool y
10074a0bd66SFUJITA Tomonori
101*f6ae31c2SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
102*f6ae31c2SFUJITA Tomonori	def_bool y
103*f6ae31c2SFUJITA Tomonori
1045cae841bSAl Viroconfig ISA_DMA_API
1055cae841bSAl Viro	bool
1065cae841bSAl Viro
107a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
108a08b6b79Sviro@ZenIV.linux.org.uk	bool
1098b631342SGrant Grundler	depends on BROKEN
110a08b6b79Sviro@ZenIV.linux.org.uk	default y
111a08b6b79Sviro@ZenIV.linux.org.uk
1121da177e4SLinus Torvaldssource "init/Kconfig"
1131da177e4SLinus Torvalds
114dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
115dc52ddc0SMatt Helsley
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvaldsmenu "Processor type and features"
1181da177e4SLinus Torvalds
1191da177e4SLinus Torvaldschoice
1201da177e4SLinus Torvalds	prompt "Processor type"
1211da177e4SLinus Torvalds	default PA7000
1221da177e4SLinus Torvalds
1231da177e4SLinus Torvaldsconfig PA7000
1241da177e4SLinus Torvalds	bool "PA7000/PA7100"
1251da177e4SLinus Torvalds	---help---
1261da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1271da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1281da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1291da177e4SLinus Torvalds	  you can specify "PA7000" here.
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1321da177e4SLinus Torvalds	  which is required on some machines.
1331da177e4SLinus Torvalds
1341da177e4SLinus Torvaldsconfig PA7100LC
1351da177e4SLinus Torvalds	bool "PA7100LC"
1361da177e4SLinus Torvalds	help
1371da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1381da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1391da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1401da177e4SLinus Torvalds
1411da177e4SLinus Torvaldsconfig PA7200
1421da177e4SLinus Torvalds	bool "PA7200"
1431da177e4SLinus Torvalds	help
1441da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1451da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1461da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsconfig PA7300LC
1491da177e4SLinus Torvalds	bool "PA7300LC"
1501da177e4SLinus Torvalds	help
1511da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1521da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1531da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvaldsconfig PA8X00
1561da177e4SLinus Torvalds	bool "PA8000 and up"
1571da177e4SLinus Torvalds	help
1581da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvaldsendchoice
1611da177e4SLinus Torvalds
1621da177e4SLinus Torvalds# Define implied options from the CPU selection here
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvaldsconfig PA20
1651da177e4SLinus Torvalds	def_bool y
1661da177e4SLinus Torvalds	depends on PA8X00
1671da177e4SLinus Torvalds
1681da177e4SLinus Torvaldsconfig PA11
1691da177e4SLinus Torvalds	def_bool y
1701da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1711da177e4SLinus Torvalds
1721da177e4SLinus Torvaldsconfig PREFETCH
1731da177e4SLinus Torvalds	def_bool y
17432104b29SKyle McMartin	depends on PA8X00 || PA7200
1751da177e4SLinus Torvalds
1761da177e4SLinus Torvaldsconfig 64BIT
1771da177e4SLinus Torvalds	bool "64-bit kernel"
1781da177e4SLinus Torvalds	depends on PA8X00
1791da177e4SLinus Torvalds	help
1801da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1831da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1841da177e4SLinus Torvalds
1851da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1861da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1871da177e4SLinus Torvalds	  and slower than the 32bit one.
1881da177e4SLinus Torvalds
1892fd83038SHelge Dellerchoice
1902fd83038SHelge Deller	prompt "Kernel page size"
1912fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if !64BIT
1922fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if 64BIT
1932fd83038SHelge Deller#	default PARISC_PAGE_SIZE_16KB if 64BIT
1942fd83038SHelge Deller
1952fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
1962fd83038SHelge Deller	bool "4KB"
1972fd83038SHelge Deller	help
1982fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
1992fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2002fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2012fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2022fd83038SHelge Deller	  with a larger page size).
2032fd83038SHelge Deller
2042fd83038SHelge Deller	  4KB                For best 32bit compatibility
2052fd83038SHelge Deller	  16KB               For best performance
2062fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2072fd83038SHelge Deller
2082fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2092fd83038SHelge Deller
2102fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
2112fd83038SHelge Deller	bool "16KB (EXPERIMENTAL)"
2122fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2132fd83038SHelge Deller
2142fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
2152fd83038SHelge Deller	bool "64KB (EXPERIMENTAL)"
2162fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2172fd83038SHelge Deller
2182fd83038SHelge Dellerendchoice
2192fd83038SHelge Deller
2201da177e4SLinus Torvaldsconfig SMP
2211da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
222dbcf4787SJens Axboe	select USE_GENERIC_SMP_HELPERS
2231da177e4SLinus Torvalds	---help---
2241da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2251da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2261da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2271da177e4SLinus Torvalds
2281da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2291da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2301da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2311da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2321da177e4SLinus Torvalds	  will run faster if you say N here.
2331da177e4SLinus Torvalds
23403502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
23503502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2361da177e4SLinus Torvalds
2371da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2381da177e4SLinus Torvalds
2391da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2401da177e4SLinus Torvalds	bool
2411da177e4SLinus Torvalds	default y if SMP
2421da177e4SLinus Torvalds	select HOTPLUG
2431da177e4SLinus Torvalds
244a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
245a2ba82cdSKyle McMartin	def_bool y
246a2ba82cdSKyle McMartin	depends on 64BIT
247a2ba82cdSKyle McMartin
2483f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
249a2ba82cdSKyle McMartin	def_bool y
250a2ba82cdSKyle McMartin	depends on 64BIT
251a2ba82cdSKyle McMartin
252a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
253a2ba82cdSKyle McMartin	def_bool y
254a2ba82cdSKyle McMartin
255a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
256a2ba82cdSKyle McMartin	def_bool y
257a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2581da177e4SLinus Torvalds
259c80d79d7SYasunori Gotoconfig NODES_SHIFT
260c80d79d7SYasunori Goto	int
261c80d79d7SYasunori Goto	default "3"
262c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
263c80d79d7SYasunori Goto
26450a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2658b631342SGrant Grundlersource "kernel/Kconfig.hz"
2663f22ab27SDave Hansensource "mm/Kconfig"
2673f22ab27SDave Hansen
2681da177e4SLinus Torvaldsconfig COMPAT
2691da177e4SLinus Torvalds	def_bool y
2701da177e4SLinus Torvalds	depends on 64BIT
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvaldsconfig HPUX
2731da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2741da177e4SLinus Torvalds	depends on !64BIT
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvaldsconfig NR_CPUS
2771da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2781da177e4SLinus Torvalds	range 2 32
2791da177e4SLinus Torvalds	depends on SMP
2801da177e4SLinus Torvalds	default "32"
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvaldsendmenu
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvalds
2851da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
2861da177e4SLinus Torvalds
2871da177e4SLinus Torvalds
2881da177e4SLinus Torvaldsmenu "Executable file formats"
2891da177e4SLinus Torvalds
2901da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvaldsendmenu
2931da177e4SLinus Torvalds
294d5950b43SSam Ravnborgsource "net/Kconfig"
295d5950b43SSam Ravnborg
2961da177e4SLinus Torvaldssource "drivers/Kconfig"
2971da177e4SLinus Torvalds
2981da177e4SLinus Torvaldssource "fs/Kconfig"
2991da177e4SLinus Torvalds
3001da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
3011da177e4SLinus Torvalds
3021da177e4SLinus Torvaldssource "security/Kconfig"
3031da177e4SLinus Torvalds
3041da177e4SLinus Torvaldssource "crypto/Kconfig"
3051da177e4SLinus Torvalds
3061da177e4SLinus Torvaldssource "lib/Kconfig"
307