xref: /linux/arch/parisc/Kconfig (revision 64daa4435a40aa1b7d0ece598ae783b89dda13ee)
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
192d4618dcSKyle McMartin	select HAVE_PERF_COUNTERS
20*64daa443SKyle 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
985cae841bSAl Viroconfig ISA_DMA_API
995cae841bSAl Viro	bool
1005cae841bSAl Viro
101a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
102a08b6b79Sviro@ZenIV.linux.org.uk	bool
1038b631342SGrant Grundler	depends on BROKEN
104a08b6b79Sviro@ZenIV.linux.org.uk	default y
105a08b6b79Sviro@ZenIV.linux.org.uk
1061da177e4SLinus Torvaldssource "init/Kconfig"
1071da177e4SLinus Torvalds
108dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
109dc52ddc0SMatt Helsley
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvaldsmenu "Processor type and features"
1121da177e4SLinus Torvalds
1131da177e4SLinus Torvaldschoice
1141da177e4SLinus Torvalds	prompt "Processor type"
1151da177e4SLinus Torvalds	default PA7000
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvaldsconfig PA7000
1181da177e4SLinus Torvalds	bool "PA7000/PA7100"
1191da177e4SLinus Torvalds	---help---
1201da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1211da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1221da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1231da177e4SLinus Torvalds	  you can specify "PA7000" here.
1241da177e4SLinus Torvalds
1251da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1261da177e4SLinus Torvalds	  which is required on some machines.
1271da177e4SLinus Torvalds
1281da177e4SLinus Torvaldsconfig PA7100LC
1291da177e4SLinus Torvalds	bool "PA7100LC"
1301da177e4SLinus Torvalds	help
1311da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1321da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1331da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldsconfig PA7200
1361da177e4SLinus Torvalds	bool "PA7200"
1371da177e4SLinus Torvalds	help
1381da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1391da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1401da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1411da177e4SLinus Torvalds
1421da177e4SLinus Torvaldsconfig PA7300LC
1431da177e4SLinus Torvalds	bool "PA7300LC"
1441da177e4SLinus Torvalds	help
1451da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1461da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1471da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1481da177e4SLinus Torvalds
1491da177e4SLinus Torvaldsconfig PA8X00
1501da177e4SLinus Torvalds	bool "PA8000 and up"
1511da177e4SLinus Torvalds	help
1521da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1531da177e4SLinus Torvalds
1541da177e4SLinus Torvaldsendchoice
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvalds# Define implied options from the CPU selection here
1571da177e4SLinus Torvalds
1581da177e4SLinus Torvaldsconfig PA20
1591da177e4SLinus Torvalds	def_bool y
1601da177e4SLinus Torvalds	depends on PA8X00
1611da177e4SLinus Torvalds
1621da177e4SLinus Torvaldsconfig PA11
1631da177e4SLinus Torvalds	def_bool y
1641da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1651da177e4SLinus Torvalds
1661da177e4SLinus Torvaldsconfig PREFETCH
1671da177e4SLinus Torvalds	def_bool y
16832104b29SKyle McMartin	depends on PA8X00 || PA7200
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvaldsconfig 64BIT
1711da177e4SLinus Torvalds	bool "64-bit kernel"
1721da177e4SLinus Torvalds	depends on PA8X00
1731da177e4SLinus Torvalds	help
1741da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1751da177e4SLinus Torvalds
1761da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1771da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1801da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1811da177e4SLinus Torvalds	  and slower than the 32bit one.
1821da177e4SLinus Torvalds
1832fd83038SHelge Dellerchoice
1842fd83038SHelge Deller	prompt "Kernel page size"
1852fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if !64BIT
1862fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if 64BIT
1872fd83038SHelge Deller#	default PARISC_PAGE_SIZE_16KB if 64BIT
1882fd83038SHelge Deller
1892fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
1902fd83038SHelge Deller	bool "4KB"
1912fd83038SHelge Deller	help
1922fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
1932fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
1942fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
1952fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
1962fd83038SHelge Deller	  with a larger page size).
1972fd83038SHelge Deller
1982fd83038SHelge Deller	  4KB                For best 32bit compatibility
1992fd83038SHelge Deller	  16KB               For best performance
2002fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2012fd83038SHelge Deller
2022fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2032fd83038SHelge Deller
2042fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
2052fd83038SHelge Deller	bool "16KB (EXPERIMENTAL)"
2062fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2072fd83038SHelge Deller
2082fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
2092fd83038SHelge Deller	bool "64KB (EXPERIMENTAL)"
2102fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2112fd83038SHelge Deller
2122fd83038SHelge Dellerendchoice
2132fd83038SHelge Deller
2141da177e4SLinus Torvaldsconfig SMP
2151da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
216dbcf4787SJens Axboe	select USE_GENERIC_SMP_HELPERS
2171da177e4SLinus Torvalds	---help---
2181da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2191da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2201da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2211da177e4SLinus Torvalds
2221da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2231da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2241da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2251da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2261da177e4SLinus Torvalds	  will run faster if you say N here.
2271da177e4SLinus Torvalds
22803502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
22903502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2301da177e4SLinus Torvalds
2311da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2321da177e4SLinus Torvalds
2331da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2341da177e4SLinus Torvalds	bool
2351da177e4SLinus Torvalds	default y if SMP
2361da177e4SLinus Torvalds	select HOTPLUG
2371da177e4SLinus Torvalds
238a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
239a2ba82cdSKyle McMartin	def_bool y
240a2ba82cdSKyle McMartin	depends on 64BIT
241a2ba82cdSKyle McMartin
2423f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
243a2ba82cdSKyle McMartin	def_bool y
244a2ba82cdSKyle McMartin	depends on 64BIT
245a2ba82cdSKyle McMartin
246a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
247a2ba82cdSKyle McMartin	def_bool y
248a2ba82cdSKyle McMartin
249a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
250a2ba82cdSKyle McMartin	def_bool y
251a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2521da177e4SLinus Torvalds
253c80d79d7SYasunori Gotoconfig NODES_SHIFT
254c80d79d7SYasunori Goto	int
255c80d79d7SYasunori Goto	default "3"
256c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
257c80d79d7SYasunori Goto
25850a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2598b631342SGrant Grundlersource "kernel/Kconfig.hz"
2603f22ab27SDave Hansensource "mm/Kconfig"
2613f22ab27SDave Hansen
2621da177e4SLinus Torvaldsconfig COMPAT
2631da177e4SLinus Torvalds	def_bool y
2641da177e4SLinus Torvalds	depends on 64BIT
2651da177e4SLinus Torvalds
2661da177e4SLinus Torvaldsconfig HPUX
2671da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2681da177e4SLinus Torvalds	depends on !64BIT
2691da177e4SLinus Torvalds
2701da177e4SLinus Torvaldsconfig NR_CPUS
2711da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2721da177e4SLinus Torvalds	range 2 32
2731da177e4SLinus Torvalds	depends on SMP
2741da177e4SLinus Torvalds	default "32"
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvaldsendmenu
2771da177e4SLinus Torvalds
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
2801da177e4SLinus Torvalds
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvaldsmenu "Executable file formats"
2831da177e4SLinus Torvalds
2841da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
2851da177e4SLinus Torvalds
2861da177e4SLinus Torvaldsendmenu
2871da177e4SLinus Torvalds
288d5950b43SSam Ravnborgsource "net/Kconfig"
289d5950b43SSam Ravnborg
2901da177e4SLinus Torvaldssource "drivers/Kconfig"
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvaldssource "fs/Kconfig"
2931da177e4SLinus Torvalds
2941da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
2951da177e4SLinus Torvalds
2961da177e4SLinus Torvaldssource "security/Kconfig"
2971da177e4SLinus Torvalds
2981da177e4SLinus Torvaldssource "crypto/Kconfig"
2991da177e4SLinus Torvalds
3001da177e4SLinus Torvaldssource "lib/Kconfig"
301