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