xref: /linux/arch/parisc/Kconfig (revision bf581e15a443fa3569d9def96b512315ba509d6f)
11da177e4SLinus Torvaldsconfig PARISC
21da177e4SLinus Torvalds	def_bool y
3ec7748b5SSam Ravnborg	select HAVE_IDE
442d4b839SMathieu Desnoyers	select HAVE_OPROFILE
5d75f054aSHelge Deller	select HAVE_FUNCTION_TRACER if 64BIT
6d75f054aSHelge Deller	select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
7d75f054aSHelge Deller	select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
89eb16864SKyle McMartin	select RTC_CLASS
93afe6d04SGeert Uytterhoeven	select RTC_DRV_GENERIC
1098a79d6aSRusty Russell	select INIT_ALL_POSSIBLE
11f67d3c83SKyle McMartin	select BUG
12e360adbeSPeter Zijlstra	select HAVE_IRQ_WORK
13cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
1464daa443SKyle McMartin	select GENERIC_ATOMIC64 if !64BIT
1572e73af1SThomas Gleixner	select HAVE_GENERIC_HARDIRQS
16754b7b63SAndi Kleen	select BROKEN_RODATA
1772e73af1SThomas Gleixner	select GENERIC_IRQ_PROBE
18629a8581SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
1972e73af1SThomas Gleixner	select IRQ_PER_CPU
20df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
219a134723SThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
22b1195c0eSJames Bottomley	select GENERIC_STRNCPY_FROM_USER
23786d35d4SDavid Howells	select HAVE_MOD_ARCH_SPECIFIC
24786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
25415bfae9SAl Viro	select CLONE_BACKWARDS
2672e73af1SThomas Gleixner
271da177e4SLinus Torvalds	help
281da177e4SLinus Torvalds	  The PA-RISC microprocessor is designed by Hewlett-Packard and used
291da177e4SLinus Torvalds	  in many of their workstations & servers (HP9000 700 and 800 series,
301da177e4SLinus Torvalds	  and later HP3000 series).  The PA-RISC Linux project home page is
311da177e4SLinus Torvalds	  at <http://www.parisc-linux.org/>.
321da177e4SLinus Torvalds
331da177e4SLinus Torvaldsconfig MMU
341da177e4SLinus Torvalds	def_bool y
351da177e4SLinus Torvalds
361da177e4SLinus Torvaldsconfig STACK_GROWSUP
371da177e4SLinus Torvalds	def_bool y
381da177e4SLinus Torvalds
3995c354feSNick Pigginconfig GENERIC_LOCKBREAK
4095c354feSNick Piggin	bool
4195c354feSNick Piggin	default y
4295c354feSNick Piggin	depends on SMP && PREEMPT
4395c354feSNick Piggin
441da177e4SLinus Torvaldsconfig RWSEM_GENERIC_SPINLOCK
451da177e4SLinus Torvalds	def_bool y
461da177e4SLinus Torvalds
471da177e4SLinus Torvaldsconfig RWSEM_XCHGADD_ALGORITHM
481da177e4SLinus Torvalds	bool
491da177e4SLinus Torvalds
50f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U32
51f0d1b0b3SDavid Howells	bool
52f0d1b0b3SDavid Howells	default n
53f0d1b0b3SDavid Howells
54f0d1b0b3SDavid Howellsconfig ARCH_HAS_ILOG2_U64
55f0d1b0b3SDavid Howells	bool
56f0d1b0b3SDavid Howells	default n
57f0d1b0b3SDavid Howells
586891f8a1SHelge Dellerconfig GENERIC_BUG
596891f8a1SHelge Deller	bool
606891f8a1SHelge Deller	default y
616891f8a1SHelge Deller	depends on BUG
626891f8a1SHelge Deller
6359e18a2eSAkinobu Mitaconfig GENERIC_HWEIGHT
6459e18a2eSAkinobu Mita	bool
6559e18a2eSAkinobu Mita	default y
6659e18a2eSAkinobu Mita
671da177e4SLinus Torvaldsconfig GENERIC_CALIBRATE_DELAY
681da177e4SLinus Torvalds	bool
691da177e4SLinus Torvalds	default y
701da177e4SLinus Torvalds
7106027bddSIngo Molnarconfig TIME_LOW_RES
7206027bddSIngo Molnar	bool
7306027bddSIngo Molnar	depends on SMP
7406027bddSIngo Molnar	default y
7506027bddSIngo Molnar
76548f1176SHelge Dellerconfig HAVE_LATENCYTOP_SUPPORT
77548f1176SHelge Deller        def_bool y
78548f1176SHelge Deller
791da177e4SLinus Torvalds# unless you want to implement ACPI on PA-RISC ... ;-)
801da177e4SLinus Torvaldsconfig PM
811da177e4SLinus Torvalds	bool
821da177e4SLinus Torvalds
83548f1176SHelge Dellerconfig STACKTRACE_SUPPORT
84548f1176SHelge Deller	def_bool y
85548f1176SHelge Deller
8674a0bd66SFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
8774a0bd66SFUJITA Tomonori	def_bool y
8874a0bd66SFUJITA Tomonori
89f6ae31c2SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
90f6ae31c2SFUJITA Tomonori	def_bool y
91f6ae31c2SFUJITA Tomonori
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
164ec758f98SHelge Dellerconfig MLONGCALLS
165ec758f98SHelge Deller	bool "Enable the -mlong-calls compiler option for big kernels"
166ec758f98SHelge Deller	def_bool y if (!MODULES)
167ec758f98SHelge Deller	depends on PA8X00
168ec758f98SHelge Deller	help
169ec758f98SHelge Deller	  If you configure the kernel to include many drivers built-in instead
170ec758f98SHelge Deller	  as modules, the kernel executable may become too big, so that the
171ec758f98SHelge Deller	  linker will not be able to resolve some long branches and fails to link
172ec758f98SHelge Deller	  your vmlinux kernel. In that case enabling this option will help you
173ec758f98SHelge Deller	  to overcome this limit by using the -mlong-calls compiler option.
174ec758f98SHelge Deller
175ec758f98SHelge Deller	  Usually you want to say N here, unless you e.g. want to build
176ec758f98SHelge Deller	  a kernel which includes all necessary drivers built-in and which can
177ec758f98SHelge Deller	  be used for TFTP booting without the need to have an initrd ramdisk.
178ec758f98SHelge Deller
179ec758f98SHelge Deller	  Enabling this option will probably slow down your kernel.
180ec758f98SHelge Deller
1811da177e4SLinus Torvaldsconfig 64BIT
1821da177e4SLinus Torvalds	bool "64-bit kernel"
1831da177e4SLinus Torvalds	depends on PA8X00
1841da177e4SLinus Torvalds	help
1851da177e4SLinus Torvalds	  Enable this if you want to support 64bit kernel on PA-RISC platform.
1861da177e4SLinus Torvalds
1871da177e4SLinus Torvalds	  At the moment, only people willing to use more than 2GB of RAM,
1881da177e4SLinus Torvalds	  or having a 64bit-only capable PA-RISC machine should say Y here.
1891da177e4SLinus Torvalds
1901da177e4SLinus Torvalds	  Since there is no 64bit userland on PA-RISC, there is no point to
1911da177e4SLinus Torvalds	  enable this option otherwise. The 64bit kernel is significantly bigger
1921da177e4SLinus Torvalds	  and slower than the 32bit one.
1931da177e4SLinus Torvalds
1942fd83038SHelge Dellerchoice
1952fd83038SHelge Deller	prompt "Kernel page size"
1961c5f873dSPaul Bolle	default PARISC_PAGE_SIZE_4KB
1972fd83038SHelge Deller
1982fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_4KB
1992fd83038SHelge Deller	bool "4KB"
2002fd83038SHelge Deller	help
2012fd83038SHelge Deller	  This lets you select the page size of the kernel.  For best
2022fd83038SHelge Deller	  performance, a page size of 16KB is recommended.  For best
2032fd83038SHelge Deller	  compatibility with 32bit applications, a page size of 4KB should be
2042fd83038SHelge Deller	  selected (the vast majority of 32bit binaries work perfectly fine
2052fd83038SHelge Deller	  with a larger page size).
2062fd83038SHelge Deller
2072fd83038SHelge Deller	  4KB                For best 32bit compatibility
2082fd83038SHelge Deller	  16KB               For best performance
2092fd83038SHelge Deller	  64KB               For best performance, might give more overhead.
2102fd83038SHelge Deller
2112fd83038SHelge Deller	  If you don't know what to do, choose 4KB.
2122fd83038SHelge Deller
2132fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_16KB
2142fd83038SHelge Deller	bool "16KB (EXPERIMENTAL)"
2152fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2162fd83038SHelge Deller
2172fd83038SHelge Dellerconfig PARISC_PAGE_SIZE_64KB
2182fd83038SHelge Deller	bool "64KB (EXPERIMENTAL)"
2192fd83038SHelge Deller	depends on PA8X00 && EXPERIMENTAL
2202fd83038SHelge Deller
2212fd83038SHelge Dellerendchoice
2222fd83038SHelge Deller
2231da177e4SLinus Torvaldsconfig SMP
2241da177e4SLinus Torvalds	bool "Symmetric multi-processing support"
225dbcf4787SJens Axboe	select USE_GENERIC_SMP_HELPERS
2261da177e4SLinus Torvalds	---help---
2271da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
2281da177e4SLinus Torvalds	  a system with only one CPU, like most personal computers, say N. If
2291da177e4SLinus Torvalds	  you have a system with more than one CPU, say Y.
2301da177e4SLinus Torvalds
2311da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
2321da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
2331da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
2341da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
2351da177e4SLinus Torvalds	  will run faster if you say N here.
2361da177e4SLinus Torvalds
23703502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
23803502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
2391da177e4SLinus Torvalds
2401da177e4SLinus Torvalds	  If you don't know what to do here, say N.
2411da177e4SLinus Torvalds
2421da177e4SLinus Torvaldsconfig HOTPLUG_CPU
2431da177e4SLinus Torvalds	bool
2441da177e4SLinus Torvalds	default y if SMP
2451da177e4SLinus Torvalds	select HOTPLUG
2461da177e4SLinus Torvalds
247a2ba82cdSKyle McMartinconfig ARCH_SELECT_MEMORY_MODEL
248a2ba82cdSKyle McMartin	def_bool y
249a2ba82cdSKyle McMartin	depends on 64BIT
250a2ba82cdSKyle McMartin
2513f22ab27SDave Hansenconfig ARCH_DISCONTIGMEM_ENABLE
252a2ba82cdSKyle McMartin	def_bool y
253a2ba82cdSKyle McMartin	depends on 64BIT
254a2ba82cdSKyle McMartin
255a2ba82cdSKyle McMartinconfig ARCH_FLATMEM_ENABLE
256a2ba82cdSKyle McMartin	def_bool y
257a2ba82cdSKyle McMartin
258a2ba82cdSKyle McMartinconfig ARCH_DISCONTIGMEM_DEFAULT
259a2ba82cdSKyle McMartin	def_bool y
260a2ba82cdSKyle McMartin	depends on ARCH_DISCONTIGMEM_ENABLE
2611da177e4SLinus Torvalds
262c80d79d7SYasunori Gotoconfig NODES_SHIFT
263c80d79d7SYasunori Goto	int
264c80d79d7SYasunori Goto	default "3"
265c80d79d7SYasunori Goto	depends on NEED_MULTIPLE_NODES
266c80d79d7SYasunori Goto
26750a34dbdSKyle McMartinsource "kernel/Kconfig.preempt"
2688b631342SGrant Grundlersource "kernel/Kconfig.hz"
2693f22ab27SDave Hansensource "mm/Kconfig"
2703f22ab27SDave Hansen
2711da177e4SLinus Torvaldsconfig COMPAT
2721da177e4SLinus Torvalds	def_bool y
2731da177e4SLinus Torvalds	depends on 64BIT
2741da177e4SLinus Torvalds
275*bf581e15SHelge Dellerconfig SYSVIPC_COMPAT
276*bf581e15SHelge Deller	def_bool y
277*bf581e15SHelge Deller	depends on COMPAT && SYSVIPC
278*bf581e15SHelge Deller
2791da177e4SLinus Torvaldsconfig HPUX
2801da177e4SLinus Torvalds	bool "Support for HP-UX binaries"
2811da177e4SLinus Torvalds	depends on !64BIT
2821da177e4SLinus Torvalds
2831da177e4SLinus Torvaldsconfig NR_CPUS
2841da177e4SLinus Torvalds	int "Maximum number of CPUs (2-32)"
2851da177e4SLinus Torvalds	range 2 32
2861da177e4SLinus Torvalds	depends on SMP
2871da177e4SLinus Torvalds	default "32"
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvaldsendmenu
2901da177e4SLinus Torvalds
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvaldssource "drivers/parisc/Kconfig"
2931da177e4SLinus Torvalds
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvaldsmenu "Executable file formats"
2961da177e4SLinus Torvalds
2971da177e4SLinus Torvaldssource "fs/Kconfig.binfmt"
2981da177e4SLinus Torvalds
2991da177e4SLinus Torvaldsendmenu
3001da177e4SLinus Torvalds
301d5950b43SSam Ravnborgsource "net/Kconfig"
302d5950b43SSam Ravnborg
3031da177e4SLinus Torvaldssource "drivers/Kconfig"
3041da177e4SLinus Torvalds
3051da177e4SLinus Torvaldssource "fs/Kconfig"
3061da177e4SLinus Torvalds
3071da177e4SLinus Torvaldssource "arch/parisc/Kconfig.debug"
3081da177e4SLinus Torvalds
3091da177e4SLinus Torvaldssource "security/Kconfig"
3101da177e4SLinus Torvalds
3111da177e4SLinus Torvaldssource "crypto/Kconfig"
3121da177e4SLinus Torvalds
3131da177e4SLinus Torvaldssource "lib/Kconfig"
314