xref: /linux/arch/parisc/Kconfig (revision d75f054a2cf0614ff63d534ff21ca8eaab41e713)
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
12*d75f054aSHelge Deller	select HAVE_FUNCTION_TRACER if 64BIT
13*d75f054aSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
14*d75f054aSHelge Deller	select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
159eb16864SKyle McMartin	select RTC_CLASS
169eb16864SKyle McMartin	select RTC_DRV_PARISC
1798a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
181da177e4SLinus Torvalds	help
191da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
201da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
211da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
221da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldsconfig MMU
251da177e4SLinus Torvalds	def_bool y
261da177e4SLinus Torvalds
271da177e4SLinus Torvaldsconfig STACK_GROWSUP
281da177e4SLinus Torvalds	def_bool y
291da177e4SLinus Torvalds
3095c354feSNick Pigginconfig GENERIC_LOCKBREAK
3195c354feSNick Piggin	bool
3295c354feSNick Piggin	default y
3395c354feSNick Piggin	depends on SMP && PREEMPT
3495c354feSNick Piggin
351da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
361da177e4SLinus Torvalds	def_bool y
371da177e4SLinus Torvalds
381da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
391da177e4SLinus Torvalds	bool
401da177e4SLinus Torvalds
41f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
42f0d1b0b3SDavid Howells	bool
43f0d1b0b3SDavid Howells	default n
44f0d1b0b3SDavid Howells
45f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
46f0d1b0b3SDavid Howells	bool
47f0d1b0b3SDavid Howells	default n
48f0d1b0b3SDavid Howells
4959e18a2eSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
5059e18a2eSAkinobu Mita	bool
5159e18a2eSAkinobu Mita	default y
5259e18a2eSAkinobu Mita
536891f8a1SHelge Dellerconfig GENERIC_BUG
546891f8a1SHelge Deller	bool
556891f8a1SHelge Deller	default y
566891f8a1SHelge Deller	depends on BUG
576891f8a1SHelge Deller
5859e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
5959e18a2eSAkinobu Mita	bool
6059e18a2eSAkinobu Mita	default y
6159e18a2eSAkinobu Mita
621da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
631da177e4SLinus Torvalds	bool
641da177e4SLinus Torvalds	default y
651da177e4SLinus Torvalds
6612df29b6SHelge Dellerconfig GENERIC_TIME
6712df29b6SHelge Deller	bool
6812df29b6SHelge Deller	default y
6912df29b6SHelge Deller
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
955cae841bSAl Viroconfig ISA_DMA_API
965cae841bSAl Viro	bool
975cae841bSAl Viro
98a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
99a08b6b79Sviro@ZenIV.linux.org.uk	bool
1008b631342SGrant Grundler	depends on BROKEN
101a08b6b79Sviro@ZenIV.linux.org.uk	default y
102a08b6b79Sviro@ZenIV.linux.org.uk
1031da177e4SLinus Torvaldssource "init/Kconfig"
1041da177e4SLinus Torvalds
105dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
106dc52ddc0SMatt Helsley
1071da177e4SLinus Torvalds
1081da177e4SLinus Torvaldsmenu "Processor type and features"
1091da177e4SLinus Torvalds
1101da177e4SLinus Torvaldschoice
1111da177e4SLinus Torvalds	prompt "Processor type"
1121da177e4SLinus Torvalds	default PA7000
1131da177e4SLinus Torvalds
1141da177e4SLinus Torvaldsconfig PA7000
1151da177e4SLinus Torvalds	bool "PA7000/PA7100"
1161da177e4SLinus Torvalds	---help---
1171da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1181da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1191da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1201da177e4SLinus Torvalds	  you can specify "PA7000" here.
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1231da177e4SLinus Torvalds	  which is required on some machines.
1241da177e4SLinus Torvalds
1251da177e4SLinus Torvaldsconfig PA7100LC
1261da177e4SLinus Torvalds	bool "PA7100LC"
1271da177e4SLinus Torvalds	help
1281da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1291da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1301da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1311da177e4SLinus Torvalds
1321da177e4SLinus Torvaldsconfig PA7200
1331da177e4SLinus Torvalds	bool "PA7200"
1341da177e4SLinus Torvalds	help
1351da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1361da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1371da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1381da177e4SLinus Torvalds
1391da177e4SLinus Torvaldsconfig PA7300LC
1401da177e4SLinus Torvalds	bool "PA7300LC"
1411da177e4SLinus Torvalds	help
1421da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1431da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1441da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1451da177e4SLinus Torvalds
1461da177e4SLinus Torvaldsconfig PA8X00
1471da177e4SLinus Torvalds	bool "PA8000 and up"
1481da177e4SLinus Torvalds	help
1491da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1501da177e4SLinus Torvalds
1511da177e4SLinus Torvaldsendchoice
1521da177e4SLinus Torvalds
1531da177e4SLinus Torvalds# Define implied options from the CPU selection here
1541da177e4SLinus Torvalds
1551da177e4SLinus Torvaldsconfig PA20
1561da177e4SLinus Torvalds	def_bool y
1571da177e4SLinus Torvalds	depends on PA8X00
1581da177e4SLinus Torvalds
1591da177e4SLinus Torvaldsconfig PA11
1601da177e4SLinus Torvalds	def_bool y
1611da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1621da177e4SLinus Torvalds
1631da177e4SLinus Torvaldsconfig PREFETCH
1641da177e4SLinus Torvalds	def_bool y
16532104b29SKyle McMartin	depends on PA8X00 || PA7200
1661da177e4SLinus Torvalds
1671da177e4SLinus Torvaldsconfig 64BIT
1681da177e4SLinus Torvalds	bool "64-bit kernel"
1691da177e4SLinus Torvalds	depends on PA8X00
1701da177e4SLinus Torvalds	help
1711da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1741da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1751da177e4SLinus Torvalds
1761da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1771da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1781da177e4SLinus Torvalds	  and slower than the 32bit one.
1791da177e4SLinus Torvalds
1802fd83038SHelge Dellerchoice
1812fd83038SHelge Deller	prompt "Kernel page size"
1822fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if !64BIT
1832fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if 64BIT
1842fd83038SHelge Deller#	default PARISC_PAGE_SIZE_16KB if 64BIT
1852fd83038SHelge Deller
1862fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
1872fd83038SHelge Deller	bool "4KB"
1882fd83038SHelge Deller	help
1892fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
1902fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
1912fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
1922fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
1932fd83038SHelge Deller	  with a larger page size).
1942fd83038SHelge Deller
1952fd83038SHelge Deller	  4KB                For best 32bit compatibility
1962fd83038SHelge Deller	  16KB               For best performance
1972fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
1982fd83038SHelge Deller
1992fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2002fd83038SHelge Deller
2012fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
2022fd83038SHelge Deller	bool "16KB (EXPERIMENTAL)"
2032fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2042fd83038SHelge Deller
2052fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
2062fd83038SHelge Deller	bool "64KB (EXPERIMENTAL)"
2072fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2082fd83038SHelge Deller
2092fd83038SHelge Dellerendchoice
2102fd83038SHelge Deller
2111da177e4SLinus Torvaldsconfig SMP
2121da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
213dbcf4787SJens Axboe	select USE_GENERIC_SMP_HELPERS
2141da177e4SLinus Torvalds	---help---
2151da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2161da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2171da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2181da177e4SLinus Torvalds
2191da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2201da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2211da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2221da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2231da177e4SLinus Torvalds	  will run faster if you say N here.
2241da177e4SLinus Torvalds
22503502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
22603502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2271da177e4SLinus Torvalds
2281da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2291da177e4SLinus Torvalds
2301da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2311da177e4SLinus Torvalds	bool
2321da177e4SLinus Torvalds	default y if SMP
2331da177e4SLinus Torvalds	select HOTPLUG
2341da177e4SLinus Torvalds
235a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
236a2ba82cdSKyle McMartin	def_bool y
237a2ba82cdSKyle McMartin	depends on 64BIT
238a2ba82cdSKyle McMartin
2393f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
240a2ba82cdSKyle McMartin	def_bool y
241a2ba82cdSKyle McMartin	depends on 64BIT
242a2ba82cdSKyle McMartin
243a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
244a2ba82cdSKyle McMartin	def_bool y
245a2ba82cdSKyle McMartin
246a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
247a2ba82cdSKyle McMartin	def_bool y
248a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2491da177e4SLinus Torvalds
250c80d79d7SYasunori Gotoconfig NODES_SHIFT
251c80d79d7SYasunori Goto	int
252c80d79d7SYasunori Goto	default "3"
253c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
254c80d79d7SYasunori Goto
25550a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2568b631342SGrant Grundlersource "kernel/Kconfig.hz"
2573f22ab27SDave Hansensource "mm/Kconfig"
2583f22ab27SDave Hansen
2591da177e4SLinus Torvaldsconfig COMPAT
2601da177e4SLinus Torvalds	def_bool y
2611da177e4SLinus Torvalds	depends on 64BIT
2621da177e4SLinus Torvalds
2631da177e4SLinus Torvaldsconfig HPUX
2641da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2651da177e4SLinus Torvalds	depends on !64BIT
2661da177e4SLinus Torvalds
2671da177e4SLinus Torvaldsconfig NR_CPUS
2681da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2691da177e4SLinus Torvalds	range 2 32
2701da177e4SLinus Torvalds	depends on SMP
2711da177e4SLinus Torvalds	default "32"
2721da177e4SLinus Torvalds
2731da177e4SLinus Torvaldsendmenu
2741da177e4SLinus Torvalds
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
2771da177e4SLinus Torvalds
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvaldsmenu "Executable file formats"
2801da177e4SLinus Torvalds
2811da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
2821da177e4SLinus Torvalds
2831da177e4SLinus Torvaldsendmenu
2841da177e4SLinus Torvalds
285d5950b43SSam Ravnborgsource "net/Kconfig"
286d5950b43SSam Ravnborg
2871da177e4SLinus Torvaldssource "drivers/Kconfig"
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvaldssource "fs/Kconfig"
2901da177e4SLinus Torvalds
2911da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
2921da177e4SLinus Torvalds
2931da177e4SLinus Torvaldssource "security/Kconfig"
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvaldssource "crypto/Kconfig"
2961da177e4SLinus Torvalds
2971da177e4SLinus Torvaldssource "lib/Kconfig"
298