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