blob: 0339181bf3ac3d377db760ef93a7e74933288eee [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001config PARISC
2 def_bool y
Sam Ravnborgec7748b2008-02-09 10:46:40 +01003 select HAVE_IDE
Mathieu Desnoyers42d4b832008-02-02 15:10:34 -05004 select HAVE_OPROFILE
Helge Dellerd75f0542009-02-09 00:43:36 +01005 select HAVE_FUNCTION_TRACER if 64BIT
6 select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
7 select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
Helge Deller4530c492013-02-27 00:37:12 +01008 select ARCH_WANT_FRAME_POINTERS
Kyle McMartin9eb16862008-09-10 14:24:07 +00009 select RTC_CLASS
Geert Uytterhoeven3afe6d02009-02-19 16:46:49 +010010 select RTC_DRV_GENERIC
Rusty Russell98a79d62008-12-13 21:19:41 +103011 select INIT_ALL_POSSIBLE
Kyle McMartinf67d3c82009-03-25 14:09:10 +000012 select BUG
Ingo Molnarcdd6c482009-09-21 12:02:48 +020013 select HAVE_PERF_EVENTS
Kyle McMartin64daa442009-07-02 13:10:29 -040014 select GENERIC_ATOMIC64 if !64BIT
Thomas Gleixner72e73af2011-01-19 20:38:30 +010015 select HAVE_GENERIC_HARDIRQS
Andi Kleen754b7b62012-10-04 17:11:27 -070016 select BROKEN_RODATA
Thomas Gleixner72e73af2011-01-19 20:38:30 +010017 select GENERIC_IRQ_PROBE
Michael S. Tsirkin629a8582011-11-24 21:11:16 +020018 select GENERIC_PCI_IOMAP
Huang Yingdf013ff2011-07-13 13:14:22 +080019 select ARCH_HAVE_NMI_SAFE_CMPXCHG
Thomas Gleixner9a134722012-04-20 13:05:56 +000020 select GENERIC_SMP_IDLE_THREAD
James Bottomleyb1195c02012-05-26 09:48:19 +010021 select GENERIC_STRNCPY_FROM_USER
Vineet Guptabf14e3b2013-01-18 15:12:24 +053022 select SYSCTL_ARCH_UNALIGN_ALLOW
David Howells786d35d2012-09-28 14:31:03 +093023 select HAVE_MOD_ARCH_SPECIFIC
Stephen Rothwell4febd952013-03-07 15:48:16 +110024 select VIRT_TO_BUS
David Howells786d35d2012-09-28 14:31:03 +093025 select MODULES_USE_ELF_RELA
Al Viro415bfae2012-10-26 19:59:16 -040026 select CLONE_BACKWARDS
Joe Millenbach4f73bc42013-01-17 22:44:22 -080027 select TTY # Needed for pdc_cons.c
Thomas Gleixner72e73af2011-01-19 20:38:30 +010028
Linus Torvalds1da177e2005-04-16 15:20:36 -070029 help
30 The PA-RISC microprocessor is designed by Hewlett-Packard and used
31 in many of their workstations & servers (HP9000 700 and 800 series,
32 and later HP3000 series). The PA-RISC Linux project home page is
33 at <http://www.parisc-linux.org/>.
34
35config MMU
36 def_bool y
37
38config STACK_GROWSUP
39 def_bool y
40
Nick Piggin95c354f2008-01-30 13:31:20 +010041config GENERIC_LOCKBREAK
42 bool
43 default y
44 depends on SMP && PREEMPT
45
Linus Torvalds1da177e2005-04-16 15:20:36 -070046config RWSEM_GENERIC_SPINLOCK
47 def_bool y
48
49config RWSEM_XCHGADD_ALGORITHM
50 bool
51
David Howellsf0d1b0b2006-12-08 02:37:49 -080052config ARCH_HAS_ILOG2_U32
53 bool
54 default n
55
56config ARCH_HAS_ILOG2_U64
57 bool
58 default n
59
Helge Deller6891f8a2006-12-16 16:16:50 +010060config GENERIC_BUG
61 bool
62 default y
63 depends on BUG
64
Akinobu Mita59e18a22006-03-26 01:39:31 -080065config GENERIC_HWEIGHT
66 bool
67 default y
68
Linus Torvalds1da177e2005-04-16 15:20:36 -070069config GENERIC_CALIBRATE_DELAY
70 bool
71 default y
72
Ingo Molnar06027bd2006-02-14 13:53:15 -080073config TIME_LOW_RES
74 bool
75 depends on SMP
76 default y
77
Helge Deller548f1172009-02-06 21:50:39 +010078config HAVE_LATENCYTOP_SUPPORT
79 def_bool y
80
Linus Torvalds1da177e2005-04-16 15:20:36 -070081# unless you want to implement ACPI on PA-RISC ... ;-)
82config PM
83 bool
84
Helge Deller548f1172009-02-06 21:50:39 +010085config STACKTRACE_SUPPORT
86 def_bool y
87
FUJITA Tomonori74a0bd62010-03-10 15:23:26 -080088config NEED_DMA_MAP_STATE
89 def_bool y
90
FUJITA Tomonorif6ae31c2010-05-26 14:44:43 -070091config NEED_SG_DMA_LENGTH
92 def_bool y
93
Al Viro5cae8412005-05-04 05:39:22 +010094config ISA_DMA_API
95 bool
Al Viro5cae8412005-05-04 05:39:22 +010096
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +010097config ARCH_MAY_HAVE_PC_FDC
98 bool
Grant Grundler8b631342005-10-21 22:52:46 -040099 depends on BROKEN
viro@ZenIV.linux.org.uka08b6b72005-09-06 01:48:42 +0100100 default y
101
Linus Torvalds1da177e2005-04-16 15:20:36 -0700102source "init/Kconfig"
103
Matt Helsleydc52ddc2008-10-18 20:27:21 -0700104source "kernel/Kconfig.freezer"
105
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106
107menu "Processor type and features"
108
109choice
110 prompt "Processor type"
111 default PA7000
112
113config PA7000
114 bool "PA7000/PA7100"
115 ---help---
116 This is the processor type of your CPU. This information is
117 used for optimizing purposes. In order to compile a kernel
118 that can run on all 32-bit PA CPUs (albeit not optimally fast),
119 you can specify "PA7000" here.
120
121 Specifying "PA8000" here will allow you to select a 64-bit kernel
122 which is required on some machines.
123
124config PA7100LC
125 bool "PA7100LC"
126 help
127 Select this option for the PCX-L processor, as used in the
128 712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
129 D200, D210, D300, D310 and E-class
130
131config PA7200
132 bool "PA7200"
133 help
134 Select this option for the PCX-T' processor, as used in the
135 C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
136 K100, K200, K210, K220, K400, K410 and K420
137
138config PA7300LC
139 bool "PA7300LC"
140 help
141 Select this option for the PCX-L2 processor, as used in the
142 744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
143 D220, D230, D320 and D330.
144
145config PA8X00
146 bool "PA8000 and up"
147 help
148 Select this option for PCX-U to PCX-W2 processors.
149
150endchoice
151
152# Define implied options from the CPU selection here
153
154config PA20
155 def_bool y
156 depends on PA8X00
157
158config PA11
159 def_bool y
160 depends on PA7000 || PA7100LC || PA7200 || PA7300LC
161
162config PREFETCH
163 def_bool y
Kyle McMartin32104b22006-08-13 20:37:26 -0400164 depends on PA8X00 || PA7200
Linus Torvalds1da177e2005-04-16 15:20:36 -0700165
Helge Dellerec758f92013-01-31 21:44:28 +0000166config MLONGCALLS
167 bool "Enable the -mlong-calls compiler option for big kernels"
168 def_bool y if (!MODULES)
169 depends on PA8X00
170 help
171 If you configure the kernel to include many drivers built-in instead
172 as modules, the kernel executable may become too big, so that the
173 linker will not be able to resolve some long branches and fails to link
174 your vmlinux kernel. In that case enabling this option will help you
175 to overcome this limit by using the -mlong-calls compiler option.
176
177 Usually you want to say N here, unless you e.g. want to build
178 a kernel which includes all necessary drivers built-in and which can
179 be used for TFTP booting without the need to have an initrd ramdisk.
180
181 Enabling this option will probably slow down your kernel.
182
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183config 64BIT
184 bool "64-bit kernel"
185 depends on PA8X00
186 help
187 Enable this if you want to support 64bit kernel on PA-RISC platform.
188
189 At the moment, only people willing to use more than 2GB of RAM,
190 or having a 64bit-only capable PA-RISC machine should say Y here.
191
192 Since there is no 64bit userland on PA-RISC, there is no point to
193 enable this option otherwise. The 64bit kernel is significantly bigger
194 and slower than the 32bit one.
195
Helge Deller2fd83032006-04-20 20:40:23 +0000196choice
197 prompt "Kernel page size"
Paul Bolle1c5f8732011-10-12 14:51:12 +0200198 default PARISC_PAGE_SIZE_4KB
Helge Deller2fd83032006-04-20 20:40:23 +0000199
200config PARISC_PAGE_SIZE_4KB
201 bool "4KB"
202 help
203 This lets you select the page size of the kernel. For best
204 performance, a page size of 16KB is recommended. For best
205 compatibility with 32bit applications, a page size of 4KB should be
206 selected (the vast majority of 32bit binaries work perfectly fine
207 with a larger page size).
208
209 4KB For best 32bit compatibility
210 16KB For best performance
211 64KB For best performance, might give more overhead.
212
213 If you don't know what to do, choose 4KB.
214
215config PARISC_PAGE_SIZE_16KB
Kees Cookdaef22c2013-01-16 18:53:21 -0800216 bool "16KB"
217 depends on PA8X00
Helge Deller2fd83032006-04-20 20:40:23 +0000218
219config PARISC_PAGE_SIZE_64KB
Kees Cookdaef22c2013-01-16 18:53:21 -0800220 bool "64KB"
221 depends on PA8X00
Helge Deller2fd83032006-04-20 20:40:23 +0000222
223endchoice
224
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225config SMP
226 bool "Symmetric multi-processing support"
Jens Axboedbcf4782008-06-10 20:50:56 +0200227 select USE_GENERIC_SMP_HELPERS
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228 ---help---
229 This enables support for systems with more than one CPU. If you have
230 a system with only one CPU, like most personal computers, say N. If
231 you have a system with more than one CPU, say Y.
232
233 If you say N here, the kernel will run on single and multiprocessor
234 machines, but will use only one CPU of a multiprocessor machine. If
235 you say Y here, the kernel will run on many, but not all,
236 singleprocessor machines. On a singleprocessor machine, the kernel
237 will run faster if you say N here.
238
Adrian Bunk03502fa2008-02-03 15:50:21 +0200239 See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
240 available at <http://www.tldp.org/docs.html#howto>.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700241
242 If you don't know what to do here, say N.
243
244config HOTPLUG_CPU
245 bool
246 default y if SMP
247 select HOTPLUG
248
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700249config ARCH_SELECT_MEMORY_MODEL
250 def_bool y
251 depends on 64BIT
252
Dave Hansen3f22ab22005-06-23 00:07:43 -0700253config ARCH_DISCONTIGMEM_ENABLE
Kyle McMartina2ba82c2006-01-27 23:59:36 -0700254 def_bool y
255 depends on 64BIT
256
257config ARCH_FLATMEM_ENABLE
258 def_bool y
259
260config ARCH_DISCONTIGMEM_DEFAULT
261 def_bool y
262 depends on ARCH_DISCONTIGMEM_ENABLE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700263
Yasunori Gotoc80d79d2006-04-10 22:53:53 -0700264config NODES_SHIFT
265 int
266 default "3"
267 depends on NEED_MULTIPLE_NODES
268
Kyle McMartin50a34db2006-03-24 21:24:21 -0700269source "kernel/Kconfig.preempt"
Grant Grundler8b631342005-10-21 22:52:46 -0400270source "kernel/Kconfig.hz"
Dave Hansen3f22ab22005-06-23 00:07:43 -0700271source "mm/Kconfig"
272
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273config COMPAT
274 def_bool y
275 depends on 64BIT
276
Helge Dellerbf581e12013-02-19 20:47:37 +0100277config SYSVIPC_COMPAT
278 def_bool y
279 depends on COMPAT && SYSVIPC
280
Linus Torvalds1da177e2005-04-16 15:20:36 -0700281config HPUX
282 bool "Support for HP-UX binaries"
283 depends on !64BIT
284
285config NR_CPUS
286 int "Maximum number of CPUs (2-32)"
287 range 2 32
288 depends on SMP
289 default "32"
290
291endmenu
292
293
294source "drivers/parisc/Kconfig"
295
296
297menu "Executable file formats"
298
299source "fs/Kconfig.binfmt"
300
301endmenu
302
Sam Ravnborgd5950b42005-07-11 21:03:49 -0700303source "net/Kconfig"
304
Linus Torvalds1da177e2005-04-16 15:20:36 -0700305source "drivers/Kconfig"
306
307source "fs/Kconfig"
308
Linus Torvalds1da177e2005-04-16 15:20:36 -0700309source "arch/parisc/Kconfig.debug"
310
311source "security/Kconfig"
312
313source "crypto/Kconfig"
314
315source "lib/Kconfig"