xref: /linux/arch/parisc/Kconfig (revision 548f1176f0ac637eff895defb715ce6fde7c460a)
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
129eb16864SKyle McMartin	select RTC_CLASS
139eb16864SKyle McMartin	select RTC_DRV_PARISC
1498a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
151da177e4SLinus Torvalds	help
161da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
171da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
181da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
191da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
201da177e4SLinus Torvalds
211da177e4SLinus Torvaldsconfig MMU
221da177e4SLinus Torvalds	def_bool y
231da177e4SLinus Torvalds
241da177e4SLinus Torvaldsconfig STACK_GROWSUP
251da177e4SLinus Torvalds	def_bool y
261da177e4SLinus Torvalds
2795c354feSNick Pigginconfig GENERIC_LOCKBREAK
2895c354feSNick Piggin	bool
2995c354feSNick Piggin	default y
3095c354feSNick Piggin	depends on SMP && PREEMPT
3195c354feSNick Piggin
321da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
331da177e4SLinus Torvalds	def_bool y
341da177e4SLinus Torvalds
351da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
361da177e4SLinus Torvalds	bool
371da177e4SLinus Torvalds
38f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
39f0d1b0b3SDavid Howells	bool
40f0d1b0b3SDavid Howells	default n
41f0d1b0b3SDavid Howells
42f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
43f0d1b0b3SDavid Howells	bool
44f0d1b0b3SDavid Howells	default n
45f0d1b0b3SDavid Howells
4659e18a2eSAkinobu Mitaconfig GENERIC_FIND_NEXT_BIT
4759e18a2eSAkinobu Mita	bool
4859e18a2eSAkinobu Mita	default y
4959e18a2eSAkinobu Mita
506891f8a1SHelge Dellerconfig GENERIC_BUG
516891f8a1SHelge Deller	bool
526891f8a1SHelge Deller	default y
536891f8a1SHelge Deller	depends on BUG
546891f8a1SHelge Deller
5559e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
5659e18a2eSAkinobu Mita	bool
5759e18a2eSAkinobu Mita	default y
5859e18a2eSAkinobu Mita
591da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
601da177e4SLinus Torvalds	bool
611da177e4SLinus Torvalds	default y
621da177e4SLinus Torvalds
6312df29b6SHelge Dellerconfig GENERIC_TIME
6412df29b6SHelge Deller	bool
6512df29b6SHelge Deller	default y
6612df29b6SHelge Deller
6706027bddSIngo Molnarconfig TIME_LOW_RES
6806027bddSIngo Molnar	bool
6906027bddSIngo Molnar	depends on SMP
7006027bddSIngo Molnar	default y
7106027bddSIngo Molnar
721da177e4SLinus Torvaldsconfig GENERIC_HARDIRQS
731da177e4SLinus Torvalds	def_bool y
741da177e4SLinus Torvalds
751da177e4SLinus Torvaldsconfig GENERIC_IRQ_PROBE
761da177e4SLinus Torvalds	def_bool y
771da177e4SLinus Torvalds
78*548f1176SHelge Dellerconfig HAVE_LATENCYTOP_SUPPORT
79*548f1176SHelge Deller        def_bool y
80*548f1176SHelge Deller
810d7012a9SIngo Molnarconfig IRQ_PER_CPU
820d7012a9SIngo Molnar	bool
830d7012a9SIngo Molnar	default y
840d7012a9SIngo Molnar
851da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
861da177e4SLinus Torvaldsconfig PM
871da177e4SLinus Torvalds	bool
881da177e4SLinus Torvalds
89*548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
90*548f1176SHelge Deller	def_bool y
91*548f1176SHelge Deller
925cae841bSAl Viroconfig ISA_DMA_API
935cae841bSAl Viro	bool
945cae841bSAl Viro
95a08b6b79Sviro@ZenIV.linux.org.ukconfig ARCH_MAY_HAVE_PC_FDC
96a08b6b79Sviro@ZenIV.linux.org.uk	bool
978b631342SGrant Grundler	depends on BROKEN
98a08b6b79Sviro@ZenIV.linux.org.uk	default y
99a08b6b79Sviro@ZenIV.linux.org.uk
1001da177e4SLinus Torvaldssource "init/Kconfig"
1011da177e4SLinus Torvalds
102dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
103dc52ddc0SMatt Helsley
1041da177e4SLinus Torvalds
1051da177e4SLinus Torvaldsmenu "Processor type and features"
1061da177e4SLinus Torvalds
1071da177e4SLinus Torvaldschoice
1081da177e4SLinus Torvalds	prompt "Processor type"
1091da177e4SLinus Torvalds	default PA7000
1101da177e4SLinus Torvalds
1111da177e4SLinus Torvaldsconfig PA7000
1121da177e4SLinus Torvalds	bool "PA7000/PA7100"
1131da177e4SLinus Torvalds	---help---
1141da177e4SLinus Torvalds	  This is the processor type of your CPU.  This information is
1151da177e4SLinus Torvalds	  used for optimizing purposes.  In order to compile a kernel
1161da177e4SLinus Torvalds	  that can run on all 32-bit PA CPUs (albeit not optimally fast),
1171da177e4SLinus Torvalds	  you can specify "PA7000" here.
1181da177e4SLinus Torvalds
1191da177e4SLinus Torvalds	  Specifying "PA8000" here will allow you to select a 64-bit kernel
1201da177e4SLinus Torvalds	  which is required on some machines.
1211da177e4SLinus Torvalds
1221da177e4SLinus Torvaldsconfig PA7100LC
1231da177e4SLinus Torvalds	bool "PA7100LC"
1241da177e4SLinus Torvalds	help
1251da177e4SLinus Torvalds	  Select this option for the PCX-L processor, as used in the
1261da177e4SLinus Torvalds	  712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
1271da177e4SLinus Torvalds	  D200, D210, D300, D310 and E-class
1281da177e4SLinus Torvalds
1291da177e4SLinus Torvaldsconfig PA7200
1301da177e4SLinus Torvalds	bool "PA7200"
1311da177e4SLinus Torvalds	help
1321da177e4SLinus Torvalds	  Select this option for the PCX-T' processor, as used in the
1331da177e4SLinus Torvalds	  C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
1341da177e4SLinus Torvalds	  K100, K200, K210, K220, K400, K410 and K420
1351da177e4SLinus Torvalds
1361da177e4SLinus Torvaldsconfig PA7300LC
1371da177e4SLinus Torvalds	bool "PA7300LC"
1381da177e4SLinus Torvalds	help
1391da177e4SLinus Torvalds	  Select this option for the PCX-L2 processor, as used in the
1401da177e4SLinus Torvalds	  744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
1411da177e4SLinus Torvalds	  D220, D230, D320 and D330.
1421da177e4SLinus Torvalds
1431da177e4SLinus Torvaldsconfig PA8X00
1441da177e4SLinus Torvalds	bool "PA8000 and up"
1451da177e4SLinus Torvalds	help
1461da177e4SLinus Torvalds	  Select this option for PCX-U to PCX-W2 processors.
1471da177e4SLinus Torvalds
1481da177e4SLinus Torvaldsendchoice
1491da177e4SLinus Torvalds
1501da177e4SLinus Torvalds# Define implied options from the CPU selection here
1511da177e4SLinus Torvalds
1521da177e4SLinus Torvaldsconfig PA20
1531da177e4SLinus Torvalds	def_bool y
1541da177e4SLinus Torvalds	depends on PA8X00
1551da177e4SLinus Torvalds
1561da177e4SLinus Torvaldsconfig PA11
1571da177e4SLinus Torvalds	def_bool y
1581da177e4SLinus Torvalds	depends on PA7000 || PA7100LC || PA7200 || PA7300LC
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvaldsconfig PREFETCH
1611da177e4SLinus Torvalds	def_bool y
16232104b29SKyle McMartin	depends on PA8X00 || PA7200
1631da177e4SLinus Torvalds
1641da177e4SLinus Torvaldsconfig 64BIT
1651da177e4SLinus Torvalds	bool "64-bit kernel"
1661da177e4SLinus Torvalds	depends on PA8X00
1671da177e4SLinus Torvalds	help
1681da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1691da177e4SLinus Torvalds
1701da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1711da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1741da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1751da177e4SLinus Torvalds	  and slower than the 32bit one.
1761da177e4SLinus Torvalds
1772fd83038SHelge Dellerchoice
1782fd83038SHelge Deller	prompt "Kernel page size"
1792fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if !64BIT
1802fd83038SHelge Deller	default PARISC_PAGE_SIZE_4KB  if 64BIT
1812fd83038SHelge Deller#	default PARISC_PAGE_SIZE_16KB if 64BIT
1822fd83038SHelge Deller
1832fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
1842fd83038SHelge Deller	bool "4KB"
1852fd83038SHelge Deller	help
1862fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
1872fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
1882fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
1892fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
1902fd83038SHelge Deller	  with a larger page size).
1912fd83038SHelge Deller
1922fd83038SHelge Deller	  4KB                For best 32bit compatibility
1932fd83038SHelge Deller	  16KB               For best performance
1942fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
1952fd83038SHelge Deller
1962fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
1972fd83038SHelge Deller
1982fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
1992fd83038SHelge Deller	bool "16KB (EXPERIMENTAL)"
2002fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2012fd83038SHelge Deller
2022fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
2032fd83038SHelge Deller	bool "64KB (EXPERIMENTAL)"
2042fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2052fd83038SHelge Deller
2062fd83038SHelge Dellerendchoice
2072fd83038SHelge Deller
2081da177e4SLinus Torvaldsconfig SMP
2091da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
210dbcf4787SJens Axboe	select USE_GENERIC_SMP_HELPERS
2111da177e4SLinus Torvalds	---help---
2121da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2131da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2141da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2151da177e4SLinus Torvalds
2161da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2171da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2181da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2191da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2201da177e4SLinus Torvalds	  will run faster if you say N here.
2211da177e4SLinus Torvalds
22203502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
22303502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2241da177e4SLinus Torvalds
2251da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2261da177e4SLinus Torvalds
2271da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2281da177e4SLinus Torvalds	bool
2291da177e4SLinus Torvalds	default y if SMP
2301da177e4SLinus Torvalds	select HOTPLUG
2311da177e4SLinus Torvalds
232a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
233a2ba82cdSKyle McMartin	def_bool y
234a2ba82cdSKyle McMartin	depends on 64BIT
235a2ba82cdSKyle McMartin
2363f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
237a2ba82cdSKyle McMartin	def_bool y
238a2ba82cdSKyle McMartin	depends on 64BIT
239a2ba82cdSKyle McMartin
240a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
241a2ba82cdSKyle McMartin	def_bool y
242a2ba82cdSKyle McMartin
243a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
244a2ba82cdSKyle McMartin	def_bool y
245a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2461da177e4SLinus Torvalds
247c80d79d7SYasunori Gotoconfig NODES_SHIFT
248c80d79d7SYasunori Goto	int
249c80d79d7SYasunori Goto	default "3"
250c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
251c80d79d7SYasunori Goto
25250a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2538b631342SGrant Grundlersource "kernel/Kconfig.hz"
2543f22ab27SDave Hansensource "mm/Kconfig"
2553f22ab27SDave Hansen
2561da177e4SLinus Torvaldsconfig COMPAT
2571da177e4SLinus Torvalds	def_bool y
2581da177e4SLinus Torvalds	depends on 64BIT
2591da177e4SLinus Torvalds
2601da177e4SLinus Torvaldsconfig HPUX
2611da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2621da177e4SLinus Torvalds	depends on !64BIT
2631da177e4SLinus Torvalds
2641da177e4SLinus Torvaldsconfig NR_CPUS
2651da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2661da177e4SLinus Torvalds	range 2 32
2671da177e4SLinus Torvalds	depends on SMP
2681da177e4SLinus Torvalds	default "32"
2691da177e4SLinus Torvalds
2701da177e4SLinus Torvaldsendmenu
2711da177e4SLinus Torvalds
2721da177e4SLinus Torvalds
2731da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
2741da177e4SLinus Torvalds
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvaldsmenu "Executable file formats"
2771da177e4SLinus Torvalds
2781da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
2791da177e4SLinus Torvalds
2801da177e4SLinus Torvaldsendmenu
2811da177e4SLinus Torvalds
282d5950b43SSam Ravnborgsource "net/Kconfig"
283d5950b43SSam Ravnborg
2841da177e4SLinus Torvaldssource "drivers/Kconfig"
2851da177e4SLinus Torvalds
2861da177e4SLinus Torvaldssource "fs/Kconfig"
2871da177e4SLinus Torvalds
2881da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
2891da177e4SLinus Torvalds
2901da177e4SLinus Torvaldssource "security/Kconfig"
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvaldssource "crypto/Kconfig"
2931da177e4SLinus Torvalds
2941da177e4SLinus Torvaldssource "lib/Kconfig"
295