Merge branch 'drm-intel-next' of git://git.kernel.org/pub/scm/linux/kernel/git/anholt...
[sfrench/cifs-2.6.git] / arch / parisc / Kconfig
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/kconfig-language.txt.
4 #
5
6 mainmenu "Linux/PA-RISC Kernel Configuration"
7
8 config PARISC
9         def_bool y
10         select HAVE_IDE
11         select HAVE_OPROFILE
12         select HAVE_FUNCTION_TRACER if 64BIT
13         select HAVE_FUNCTION_GRAPH_TRACER if 64BIT
14         select HAVE_FUNCTION_TRACE_MCOUNT_TEST if 64BIT
15         select RTC_CLASS
16         select RTC_DRV_GENERIC
17         select INIT_ALL_POSSIBLE
18         select BUG
19         help
20           The PA-RISC microprocessor is designed by Hewlett-Packard and used
21           in many of their workstations & servers (HP9000 700 and 800 series,
22           and later HP3000 series).  The PA-RISC Linux project home page is
23           at <http://www.parisc-linux.org/>.
24
25 config MMU
26         def_bool y
27
28 config STACK_GROWSUP
29         def_bool y
30
31 config GENERIC_LOCKBREAK
32         bool
33         default y
34         depends on SMP && PREEMPT
35
36 config RWSEM_GENERIC_SPINLOCK
37         def_bool y
38
39 config RWSEM_XCHGADD_ALGORITHM
40         bool
41
42 config ARCH_HAS_ILOG2_U32
43         bool
44         default n
45
46 config ARCH_HAS_ILOG2_U64
47         bool
48         default n
49
50 config GENERIC_FIND_NEXT_BIT
51         bool
52         default y
53
54 config GENERIC_BUG
55         bool
56         default y
57         depends on BUG
58
59 config GENERIC_HWEIGHT
60         bool
61         default y
62
63 config GENERIC_CALIBRATE_DELAY
64         bool
65         default y
66
67 config GENERIC_TIME
68         bool
69         default y
70
71 config TIME_LOW_RES
72         bool
73         depends on SMP
74         default y
75
76 config GENERIC_HARDIRQS
77         def_bool y
78
79 config GENERIC_IRQ_PROBE
80         def_bool y
81
82 config HAVE_LATENCYTOP_SUPPORT
83         def_bool y
84
85 config IRQ_PER_CPU
86         bool
87         default y
88
89 # unless you want to implement ACPI on PA-RISC ... ;-)
90 config PM
91         bool
92
93 config STACKTRACE_SUPPORT
94         def_bool y
95
96 config ISA_DMA_API
97         bool
98
99 config ARCH_MAY_HAVE_PC_FDC
100         bool
101         depends on BROKEN
102         default y
103
104 source "init/Kconfig"
105
106 source "kernel/Kconfig.freezer"
107
108
109 menu "Processor type and features"
110
111 choice
112         prompt "Processor type"
113         default PA7000
114
115 config PA7000
116         bool "PA7000/PA7100"
117         ---help---
118           This is the processor type of your CPU.  This information is
119           used for optimizing purposes.  In order to compile a kernel
120           that can run on all 32-bit PA CPUs (albeit not optimally fast),
121           you can specify "PA7000" here.
122
123           Specifying "PA8000" here will allow you to select a 64-bit kernel
124           which is required on some machines.
125
126 config PA7100LC
127         bool "PA7100LC"
128         help
129           Select this option for the PCX-L processor, as used in the
130           712, 715/64, 715/80, 715/100, 715/100XC, 725/100, 743, 748,
131           D200, D210, D300, D310 and E-class
132
133 config PA7200
134         bool "PA7200"
135         help
136           Select this option for the PCX-T' processor, as used in the
137           C100, C110, J100, J110, J210XC, D250, D260, D350, D360,
138           K100, K200, K210, K220, K400, K410 and K420
139
140 config PA7300LC
141         bool "PA7300LC"
142         help
143           Select this option for the PCX-L2 processor, as used in the
144           744, A180, B132L, B160L, B180L, C132L, C160L, C180L,
145           D220, D230, D320 and D330.
146
147 config PA8X00
148         bool "PA8000 and up"
149         help
150           Select this option for PCX-U to PCX-W2 processors.
151
152 endchoice
153
154 # Define implied options from the CPU selection here
155
156 config PA20
157         def_bool y
158         depends on PA8X00
159
160 config PA11
161         def_bool y
162         depends on PA7000 || PA7100LC || PA7200 || PA7300LC
163
164 config PREFETCH
165         def_bool y
166         depends on PA8X00 || PA7200
167
168 config 64BIT
169         bool "64-bit kernel"
170         depends on PA8X00
171         help
172           Enable this if you want to support 64bit kernel on PA-RISC platform.
173
174           At the moment, only people willing to use more than 2GB of RAM,
175           or having a 64bit-only capable PA-RISC machine should say Y here.
176
177           Since there is no 64bit userland on PA-RISC, there is no point to
178           enable this option otherwise. The 64bit kernel is significantly bigger
179           and slower than the 32bit one.
180
181 choice
182         prompt "Kernel page size"
183         default PARISC_PAGE_SIZE_4KB  if !64BIT
184         default PARISC_PAGE_SIZE_4KB  if 64BIT
185 #       default PARISC_PAGE_SIZE_16KB if 64BIT
186
187 config PARISC_PAGE_SIZE_4KB
188         bool "4KB"
189         help
190           This lets you select the page size of the kernel.  For best
191           performance, a page size of 16KB is recommended.  For best
192           compatibility with 32bit applications, a page size of 4KB should be
193           selected (the vast majority of 32bit binaries work perfectly fine
194           with a larger page size).
195
196           4KB                For best 32bit compatibility
197           16KB               For best performance
198           64KB               For best performance, might give more overhead.
199
200           If you don't know what to do, choose 4KB.
201
202 config PARISC_PAGE_SIZE_16KB
203         bool "16KB (EXPERIMENTAL)"
204         depends on PA8X00 && EXPERIMENTAL
205
206 config PARISC_PAGE_SIZE_64KB
207         bool "64KB (EXPERIMENTAL)"
208         depends on PA8X00 && EXPERIMENTAL
209
210 endchoice
211
212 config SMP
213         bool "Symmetric multi-processing support"
214         select USE_GENERIC_SMP_HELPERS
215         ---help---
216           This enables support for systems with more than one CPU. If you have
217           a system with only one CPU, like most personal computers, say N. If
218           you have a system with more than one CPU, say Y.
219
220           If you say N here, the kernel will run on single and multiprocessor
221           machines, but will use only one CPU of a multiprocessor machine. If
222           you say Y here, the kernel will run on many, but not all,
223           singleprocessor machines. On a singleprocessor machine, the kernel
224           will run faster if you say N here.
225
226           See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
227           available at <http://www.tldp.org/docs.html#howto>.
228
229           If you don't know what to do here, say N.
230
231 config HOTPLUG_CPU
232         bool
233         default y if SMP
234         select HOTPLUG
235
236 config ARCH_SELECT_MEMORY_MODEL
237         def_bool y
238         depends on 64BIT
239
240 config ARCH_DISCONTIGMEM_ENABLE
241         def_bool y
242         depends on 64BIT
243
244 config ARCH_FLATMEM_ENABLE
245         def_bool y
246
247 config ARCH_DISCONTIGMEM_DEFAULT
248         def_bool y
249         depends on ARCH_DISCONTIGMEM_ENABLE
250
251 config NODES_SHIFT
252         int
253         default "3"
254         depends on NEED_MULTIPLE_NODES
255
256 source "kernel/Kconfig.preempt"
257 source "kernel/Kconfig.hz"
258 source "mm/Kconfig"
259
260 config COMPAT
261         def_bool y
262         depends on 64BIT
263
264 config HPUX
265         bool "Support for HP-UX binaries"
266         depends on !64BIT
267
268 config NR_CPUS
269         int "Maximum number of CPUs (2-32)"
270         range 2 32
271         depends on SMP
272         default "32"
273
274 endmenu
275
276
277 source "drivers/parisc/Kconfig"
278
279
280 menu "Executable file formats"
281
282 source "fs/Kconfig.binfmt"
283
284 endmenu
285
286 source "net/Kconfig"
287
288 source "drivers/Kconfig"
289
290 source "fs/Kconfig"
291
292 source "arch/parisc/Kconfig.debug"
293
294 source "security/Kconfig"
295
296 source "crypto/Kconfig"
297
298 source "lib/Kconfig"