xen: support pirq_eoi_map
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / lib / Kconfig
CommitLineData
1da177e4
LT
1#
2# Library configuration
3#
4
4370aa4a
LJ
5config BINARY_PRINTF
6 def_bool n
7
1da177e4
LT
8menu "Library routines"
9
f5e70d0f
DW
10config RAID6_PQ
11 tristate
12
a5cfc1ec
AM
13config BITREVERSE
14 tristate
15
8759ef32
OS
16config RATIONAL
17 boolean
18
19870def 19config GENERIC_FIND_FIRST_BIT
9ba16087 20 bool
19870def 21
66eab4df
MT
22config GENERIC_PCI_IOMAP
23 bool
24
4673ca8e
MT
25config GENERIC_IOMAP
26 bool
66eab4df 27 select GENERIC_PCI_IOMAP
4673ca8e 28
1da177e4
LT
29config CRC_CCITT
30 tristate "CRC-CCITT functions"
31 help
32 This option is provided for the case where no in-kernel-tree
33 modules require CRC-CCITT functions, but a module built outside
34 the kernel tree does. Such modules that use library CRC-CCITT
35 functions require M here.
36
7657ec1f
EP
37config CRC16
38 tristate "CRC16 functions"
39 help
40 This option is provided for the case where no in-kernel-tree
41 modules require CRC16 functions, but a module built outside
42 the kernel tree does. Such modules that use library CRC16
43 functions require M here.
44
f11f594e
MP
45config CRC_T10DIF
46 tristate "CRC calculation for the T10 Data Integrity Field"
47 help
48 This option is only needed if a module that's not in the
49 kernel tree needs to calculate CRC checks for use with the
50 SCSI data integrity subsystem.
51
3e7cbae7
ID
52config CRC_ITU_T
53 tristate "CRC ITU-T V.41 functions"
54 help
55 This option is provided for the case where no in-kernel-tree
56 modules require CRC ITU-T V.41 functions, but a module built outside
57 the kernel tree does. Such modules that use library CRC ITU-T V.41
58 functions require M here.
59
1da177e4
LT
60config CRC32
61 tristate "CRC32 functions"
62 default y
906d66df 63 select BITREVERSE
1da177e4
LT
64 help
65 This option is provided for the case where no in-kernel-tree
66 modules require CRC32 functions, but a module built outside the
67 kernel tree does. Such modules that use library CRC32 functions
68 require M here.
69
ad241528
JN
70config CRC7
71 tristate "CRC7 functions"
72 help
73 This option is provided for the case where no in-kernel-tree
74 modules require CRC7 functions, but a module built outside
75 the kernel tree does. Such modules that use library CRC7
76 functions require M here.
77
1da177e4
LT
78config LIBCRC32C
79 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
93027354 80 select CRYPTO
69c35efc 81 select CRYPTO_CRC32C
1da177e4
LT
82 help
83 This option is provided for the case where no in-kernel-tree
84 modules require CRC32c functions, but a module built outside the
85 kernel tree does. Such modules that use library CRC32c functions
86 require M here. See Castagnoli93.
87 Module will be libcrc32c.
88
7150962d
AS
89config CRC8
90 tristate "CRC8 function"
91 help
92 This option provides CRC8 function. Drivers may select this
93 when they need to do cyclic redundancy check according CRC8
94 algorithm. Module will be called crc8.
95
e65e1fc2
AV
96config AUDIT_GENERIC
97 bool
98 depends on AUDIT && !AUDIT_ARCH
99 default y
100
1da177e4
LT
101#
102# compression support is select'ed if needed
103#
104config ZLIB_INFLATE
105 tristate
106
107config ZLIB_DEFLATE
108 tristate
109
64c70b1c
RP
110config LZO_COMPRESS
111 tristate
112
113config LZO_DECOMPRESS
114 tristate
115
24fa0402
LC
116source "lib/xz/Kconfig"
117
c8531ab3
PA
118#
119# These all provide a common interface (hence the apparent duplication with
120# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
121#
122config DECOMPRESS_GZIP
7856a16e 123 select ZLIB_INFLATE
c8531ab3
PA
124 tristate
125
126config DECOMPRESS_BZIP2
127 tristate
128
129config DECOMPRESS_LZMA
130 tristate
131
3ebe1243
LC
132config DECOMPRESS_XZ
133 select XZ_DEC
134 tristate
135
cacb246f
AT
136config DECOMPRESS_LZO
137 select LZO_DECOMPRESS
138 tristate
139
f14f75b8
JS
140#
141# Generic allocator support is selected if needed
142#
143config GENERIC_ALLOCATOR
144 boolean
145
1da177e4
LT
146#
147# reed solomon support is select'ed if needed
148#
149config REED_SOLOMON
150 tristate
151
152config REED_SOLOMON_ENC8
153 boolean
154
155config REED_SOLOMON_DEC8
156 boolean
157
158config REED_SOLOMON_ENC16
159 boolean
160
161config REED_SOLOMON_DEC16
162 boolean
163
437aa565
ID
164#
165# BCH support is selected if needed
166#
167config BCH
168 tristate
169
170config BCH_CONST_PARAMS
171 boolean
172 help
173 Drivers may select this option to force specific constant
174 values for parameters 'm' (Galois field order) and 't'
175 (error correction capability). Those specific values must
176 be set by declaring default values for symbols BCH_CONST_M
177 and BCH_CONST_T.
178 Doing so will enable extra compiler optimizations,
179 improving encoding and decoding performance up to 2x for
180 usual (m,t) values (typically such that m*t < 200).
181 When this option is selected, the BCH library supports
182 only a single (m,t) configuration. This is mainly useful
183 for NAND flash board drivers requiring known, fixed BCH
184 parameters.
185
186config BCH_CONST_M
187 int
188 range 5 15
189 help
190 Constant value for Galois field order 'm'. If 'k' is the
191 number of data bits to protect, 'm' should be chosen such
192 that (k + m*t) <= 2**m - 1.
193 Drivers should declare a default value for this symbol if
194 they select option BCH_CONST_PARAMS.
195
196config BCH_CONST_T
197 int
198 help
199 Constant value for error correction capability in bits 't'.
200 Drivers should declare a default value for this symbol if
201 they select option BCH_CONST_PARAMS.
202
f7704347
DM
203#
204# Textsearch support is select'ed if needed
205#
2de4ff7b 206config TEXTSEARCH
f7704347 207 boolean
1da177e4 208
df3fb93a 209config TEXTSEARCH_KMP
f7704347 210 tristate
df3fb93a 211
8082e4ed 212config TEXTSEARCH_BM
29cb9f9c 213 tristate
8082e4ed 214
6408f79c 215config TEXTSEARCH_FSM
f7704347 216 tristate
6408f79c 217
5db53f3e
JE
218config BTREE
219 boolean
220
5ea81769 221config HAS_IOMEM
ee36c2bf 222 boolean
5ea81769
AV
223 depends on !NO_IOMEM
224 default y
225
226config HAS_IOPORT
227 boolean
228 depends on HAS_IOMEM && !NO_IOPORT
ee36c2bf
AV
229 default y
230
411f0f3e
HC
231config HAS_DMA
232 boolean
233 depends on !NO_DMA
234 default y
235
928923c7
GU
236config CHECK_SIGNATURE
237 bool
238
aab46da0
RR
239config CPUMASK_OFFSTACK
240 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
241 help
242 Use dynamic allocation for cpumask_var_t, instead of putting
243 them on the stack. This is a bit more expensive, but avoids
244 stack overflow.
245
8c384cde
RR
246config DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
247 bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
248 depends on EXPERIMENTAL && BROKEN
249
c39649c3
BH
250config CPU_RMAP
251 bool
252 depends on SMP
253
75957ba3
TH
254config DQL
255 bool
256
e9cc8bdd
GU
257#
258# Netlink attribute parsing support is select'ed if needed
259#
260config NLATTR
261 bool
262
09d4e0ed
PM
263#
264# Generic 64-bit atomic support is selected if needed
265#
266config GENERIC_ATOMIC64
267 bool
268
b411b363
PR
269config LRU_CACHE
270 tristate
271
c5485a7e 272config AVERAGE
a7a9a24d
MB
273 bool "Averaging functions"
274 help
275 This option is provided for the case where no in-kernel-tree
276 modules require averaging functions, but a module built outside
277 the kernel tree does. Such modules that use library averaging
278 functions require Y here.
279
280 If unsure, say N.
c5485a7e 281
10f8113e 282config CORDIC
d89ce936 283 tristate "CORDIC algorithm"
10f8113e 284 help
435a95c5
MW
285 This option provides an implementation of the CORDIC algorithm;
286 calculations are in fixed point. Module will be called cordic.
10f8113e 287
d9c46b18
DK
288config MPILIB
289 tristate "Multiprecision maths library"
290 help
291 Multiprecision maths library from GnuPG.
292 It is used to implement RSA digital signature verification,
293 which is used by IMA/EVM digital signature extension.
294
7e8dec91
DK
295config MPILIB_EXTRA
296 bool "Multiprecision maths library - additional sources"
297 depends on MPILIB
298 help
299 Multiprecision maths library from GnuPG.
300 It is used to implement RSA digital signature verification,
301 which is used by IMA/EVM digital signature extension.
302 This code in unnecessary for RSA digital signature verification,
303 and can be compiled if needed.
304
051dbb91
DK
305config DIGSIG
306 tristate "In-kernel signature checker"
de353533 307 depends on KEYS
051dbb91
DK
308 select MPILIB
309 help
310 Digital signature verification. Currently only RSA is supported.
311 Implementation is done using GnuPG MPI library
312
2de4ff7b 313endmenu