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