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