]>
Commit | Line | Data |
---|---|---|
ec8f24b7 | 1 | # SPDX-License-Identifier: GPL-2.0-only |
1da177e4 LT |
2 | # |
3 | # Library configuration | |
4 | # | |
5 | ||
4370aa4a LJ |
6 | config BINARY_PRINTF |
7 | def_bool n | |
8 | ||
1da177e4 LT |
9 | menu "Library routines" |
10 | ||
f5e70d0f DW |
11 | config RAID6_PQ |
12 | tristate | |
13 | ||
be85f93a DV |
14 | config RAID6_PQ_BENCHMARK |
15 | bool "Automatically choose fastest RAID6 PQ functions" | |
16 | depends on RAID6_PQ | |
17 | default y | |
18 | help | |
19 | Benchmark all available RAID6 PQ functions on init and choose the | |
20 | fastest one. | |
21 | ||
d2218d4e MV |
22 | config LINEAR_RANGES |
23 | tristate | |
24 | ||
554aae35 VO |
25 | config PACKING |
26 | bool "Generic bitfield packing and unpacking" | |
27 | default n | |
28 | help | |
29 | This option provides the packing() helper function, which permits | |
30 | converting bitfields between a CPU-usable representation and a | |
31 | memory representation that can have any combination of these quirks: | |
32 | - Is little endian (bytes are reversed within a 32-bit group) | |
33 | - The least-significant 32-bit word comes first (within a 64-bit | |
34 | group) | |
35 | - The most significant bit of a byte is at its right (bit 0 of a | |
36 | register description is numerically 2^7). | |
37 | Drivers may use these helpers to match the bit indices as described | |
38 | in the data sheets of the peripherals they are in control of. | |
39 | ||
40 | When in doubt, say N. | |
41 | ||
a5cfc1ec AM |
42 | config BITREVERSE |
43 | tristate | |
44 | ||
556d2f05 | 45 | config HAVE_ARCH_BITREVERSE |
841c0090 | 46 | bool |
556d2f05 | 47 | default n |
556d2f05 | 48 | help |
9e522c0d AM |
49 | This option enables the use of hardware bit-reversal instructions on |
50 | architectures which support such operations. | |
556d2f05 | 51 | |
e6226997 | 52 | config ARCH_HAS_STRNCPY_FROM_USER |
2922585b DM |
53 | bool |
54 | ||
e6226997 | 55 | config ARCH_HAS_STRNLEN_USER |
a08c5356 LT |
56 | bool |
57 | ||
e6226997 AB |
58 | config GENERIC_STRNCPY_FROM_USER |
59 | def_bool !ARCH_HAS_STRNCPY_FROM_USER | |
60 | ||
61 | config GENERIC_STRNLEN_USER | |
62 | def_bool !ARCH_HAS_STRNLEN_USER | |
63 | ||
4cd5773a AS |
64 | config GENERIC_NET_UTILS |
65 | bool | |
66 | ||
2c64e9cb AS |
67 | source "lib/math/Kconfig" |
68 | ||
b923650b MT |
69 | config NO_GENERIC_PCI_IOPORT_MAP |
70 | bool | |
71 | ||
66eab4df MT |
72 | config GENERIC_PCI_IOMAP |
73 | bool | |
74 | ||
4673ca8e MT |
75 | config GENERIC_IOMAP |
76 | bool | |
66eab4df | 77 | select GENERIC_PCI_IOMAP |
4673ca8e | 78 | |
4ccf4bea WS |
79 | config STMP_DEVICE |
80 | bool | |
22b361d1 | 81 | |
bc08b449 LT |
82 | config ARCH_USE_CMPXCHG_LOCKREF |
83 | bool | |
84 | ||
72d93104 LT |
85 | config ARCH_HAS_FAST_MULTIPLIER |
86 | bool | |
87 | ||
2ce0d7f9 MB |
88 | config ARCH_USE_SYM_ANNOTATIONS |
89 | bool | |
90 | ||
031e3601 ZY |
91 | config INDIRECT_PIO |
92 | bool "Access I/O in non-MMIO mode" | |
93 | depends on ARM64 | |
94 | help | |
95 | On some platforms where no separate I/O space exists, there are I/O | |
96 | hosts which can not be accessed in MMIO mode. Using the logical PIO | |
97 | mechanism, the host-local I/O resource can be mapped into system | |
98 | logic PIO space shared with MMIO hosts, such as PCI/PCIe, then the | |
99 | system can access the I/O devices with the mapped-logic PIO through | |
100 | I/O accessors. | |
101 | ||
102 | This way has relatively little I/O performance cost. Please make | |
103 | sure your devices really need this configure item enabled. | |
104 | ||
105 | When in doubt, say N. | |
106 | ||
ca2e3342 JB |
107 | config INDIRECT_IOMEM |
108 | bool | |
109 | help | |
110 | This is selected by other options/architectures to provide the | |
111 | emulated iomem accessors. | |
112 | ||
113 | config INDIRECT_IOMEM_FALLBACK | |
114 | bool | |
115 | depends on INDIRECT_IOMEM | |
116 | help | |
117 | If INDIRECT_IOMEM is selected, this enables falling back to plain | |
118 | mmio accesses when the IO memory address is not a registered | |
119 | emulated region. | |
120 | ||
e56e1898 JF |
121 | source "lib/crypto/Kconfig" |
122 | ||
1da177e4 LT |
123 | config CRC_CCITT |
124 | tristate "CRC-CCITT functions" | |
125 | help | |
126 | This option is provided for the case where no in-kernel-tree | |
127 | modules require CRC-CCITT functions, but a module built outside | |
128 | the kernel tree does. Such modules that use library CRC-CCITT | |
129 | functions require M here. | |
130 | ||
7657ec1f EP |
131 | config CRC16 |
132 | tristate "CRC16 functions" | |
133 | help | |
134 | This option is provided for the case where no in-kernel-tree | |
135 | modules require CRC16 functions, but a module built outside | |
136 | the kernel tree does. Such modules that use library CRC16 | |
137 | functions require M here. | |
138 | ||
f11f594e MP |
139 | config CRC_T10DIF |
140 | tristate "CRC calculation for the T10 Data Integrity Field" | |
68411521 HX |
141 | select CRYPTO |
142 | select CRYPTO_CRCT10DIF | |
f11f594e MP |
143 | help |
144 | This option is only needed if a module that's not in the | |
145 | kernel tree needs to calculate CRC checks for use with the | |
146 | SCSI data integrity subsystem. | |
147 | ||
3e7cbae7 ID |
148 | config CRC_ITU_T |
149 | tristate "CRC ITU-T V.41 functions" | |
150 | help | |
151 | This option is provided for the case where no in-kernel-tree | |
152 | modules require CRC ITU-T V.41 functions, but a module built outside | |
153 | the kernel tree does. Such modules that use library CRC ITU-T V.41 | |
154 | functions require M here. | |
155 | ||
1da177e4 | 156 | config CRC32 |
46c5801e | 157 | tristate "CRC32/CRC32c functions" |
1da177e4 | 158 | default y |
906d66df | 159 | select BITREVERSE |
1da177e4 LT |
160 | help |
161 | This option is provided for the case where no in-kernel-tree | |
46c5801e DW |
162 | modules require CRC32/CRC32c functions, but a module built outside |
163 | the kernel tree does. Such modules that use library CRC32/CRC32c | |
164 | functions require M here. | |
1da177e4 | 165 | |
3863ef31 | 166 | config CRC32_SELFTEST |
5fb7f874 | 167 | tristate "CRC32 perform self test on init" |
3863ef31 BP |
168 | depends on CRC32 |
169 | help | |
170 | This option enables the CRC32 library functions to perform a | |
171 | self test on initialization. The self test computes crc32_le | |
172 | and crc32_be over byte strings with random alignment and length | |
173 | and computes the total elapsed time and number of bytes processed. | |
174 | ||
5cde7656 DW |
175 | choice |
176 | prompt "CRC32 implementation" | |
177 | depends on CRC32 | |
178 | default CRC32_SLICEBY8 | |
82edb4ba DW |
179 | help |
180 | This option allows a kernel builder to override the default choice | |
181 | of CRC32 algorithm. Choose the default ("slice by 8") unless you | |
182 | know that you need one of the others. | |
5cde7656 DW |
183 | |
184 | config CRC32_SLICEBY8 | |
185 | bool "Slice by 8 bytes" | |
186 | help | |
187 | Calculate checksum 8 bytes at a time with a clever slicing algorithm. | |
188 | This is the fastest algorithm, but comes with a 8KiB lookup table. | |
189 | Most modern processors have enough cache to hold this table without | |
190 | thrashing the cache. | |
191 | ||
192 | This is the default implementation choice. Choose this one unless | |
193 | you have a good reason not to. | |
194 | ||
195 | config CRC32_SLICEBY4 | |
196 | bool "Slice by 4 bytes" | |
197 | help | |
198 | Calculate checksum 4 bytes at a time with a clever slicing algorithm. | |
199 | This is a bit slower than slice by 8, but has a smaller 4KiB lookup | |
200 | table. | |
201 | ||
202 | Only choose this option if you know what you are doing. | |
203 | ||
204 | config CRC32_SARWATE | |
205 | bool "Sarwate's Algorithm (one byte at a time)" | |
206 | help | |
207 | Calculate checksum a byte at a time using Sarwate's algorithm. This | |
208 | is not particularly fast, but has a small 256 byte lookup table. | |
209 | ||
210 | Only choose this option if you know what you are doing. | |
211 | ||
212 | config CRC32_BIT | |
213 | bool "Classic Algorithm (one bit at a time)" | |
214 | help | |
215 | Calculate checksum one bit at a time. This is VERY slow, but has | |
216 | no lookup table. This is provided as a debugging option. | |
217 | ||
218 | Only choose this option if you are debugging crc32. | |
219 | ||
220 | endchoice | |
221 | ||
feba04fd CL |
222 | config CRC64 |
223 | tristate "CRC64 functions" | |
224 | help | |
225 | This option is provided for the case where no in-kernel-tree | |
226 | modules require CRC64 functions, but a module built outside | |
227 | the kernel tree does. Such modules that use library CRC64 | |
228 | functions require M here. | |
229 | ||
0cbaa448 JK |
230 | config CRC4 |
231 | tristate "CRC4 functions" | |
232 | help | |
233 | This option is provided for the case where no in-kernel-tree | |
234 | modules require CRC4 functions, but a module built outside | |
235 | the kernel tree does. Such modules that use library CRC4 | |
236 | functions require M here. | |
237 | ||
ad241528 JN |
238 | config CRC7 |
239 | tristate "CRC7 functions" | |
240 | help | |
241 | This option is provided for the case where no in-kernel-tree | |
242 | modules require CRC7 functions, but a module built outside | |
243 | the kernel tree does. Such modules that use library CRC7 | |
244 | functions require M here. | |
245 | ||
1da177e4 LT |
246 | config LIBCRC32C |
247 | tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check" | |
93027354 | 248 | select CRYPTO |
69c35efc | 249 | select CRYPTO_CRC32C |
1da177e4 LT |
250 | help |
251 | This option is provided for the case where no in-kernel-tree | |
252 | modules require CRC32c functions, but a module built outside the | |
253 | kernel tree does. Such modules that use library CRC32c functions | |
254 | require M here. See Castagnoli93. | |
255 | Module will be libcrc32c. | |
256 | ||
7150962d AS |
257 | config CRC8 |
258 | tristate "CRC8 function" | |
259 | help | |
260 | This option provides CRC8 function. Drivers may select this | |
261 | when they need to do cyclic redundancy check according CRC8 | |
262 | algorithm. Module will be called crc8. | |
263 | ||
5d240522 NT |
264 | config XXHASH |
265 | tristate | |
266 | ||
e65e1fc2 AV |
267 | config AUDIT_GENERIC |
268 | bool | |
269 | depends on AUDIT && !AUDIT_ARCH | |
270 | default y | |
271 | ||
4b588411 AT |
272 | config AUDIT_ARCH_COMPAT_GENERIC |
273 | bool | |
274 | default n | |
275 | ||
276 | config AUDIT_COMPAT_GENERIC | |
277 | bool | |
278 | depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT | |
279 | default y | |
280 | ||
a6a9c0f1 DB |
281 | config RANDOM32_SELFTEST |
282 | bool "PRNG perform self test on init" | |
a6a9c0f1 DB |
283 | help |
284 | This option enables the 32 bit PRNG library functions to perform a | |
285 | self test on initialization. | |
286 | ||
1da177e4 LT |
287 | # |
288 | # compression support is select'ed if needed | |
289 | # | |
2da572c9 | 290 | config 842_COMPRESS |
5b571677 | 291 | select CRC32 |
2da572c9 DS |
292 | tristate |
293 | ||
294 | config 842_DECOMPRESS | |
5b571677 | 295 | select CRC32 |
2da572c9 DS |
296 | tristate |
297 | ||
1da177e4 LT |
298 | config ZLIB_INFLATE |
299 | tristate | |
300 | ||
301 | config ZLIB_DEFLATE | |
302 | tristate | |
1fd4e5c3 | 303 | select BITREVERSE |
1da177e4 | 304 | |
aa5b395b MZ |
305 | config ZLIB_DFLTCC |
306 | def_bool y | |
307 | depends on S390 | |
308 | prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib" | |
309 | help | |
310 | Enable s390x hardware support for zlib in the kernel. | |
311 | ||
64c70b1c RP |
312 | config LZO_COMPRESS |
313 | tristate | |
314 | ||
315 | config LZO_DECOMPRESS | |
316 | tristate | |
317 | ||
c72ac7a1 CM |
318 | config LZ4_COMPRESS |
319 | tristate | |
320 | ||
321 | config LZ4HC_COMPRESS | |
322 | tristate | |
323 | ||
e76e1fdf KL |
324 | config LZ4_DECOMPRESS |
325 | tristate | |
326 | ||
73f3d1b4 NT |
327 | config ZSTD_COMPRESS |
328 | select XXHASH | |
329 | tristate | |
330 | ||
331 | config ZSTD_DECOMPRESS | |
332 | select XXHASH | |
333 | tristate | |
334 | ||
24fa0402 LC |
335 | source "lib/xz/Kconfig" |
336 | ||
c8531ab3 PA |
337 | # |
338 | # These all provide a common interface (hence the apparent duplication with | |
339 | # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.) | |
340 | # | |
341 | config DECOMPRESS_GZIP | |
7856a16e | 342 | select ZLIB_INFLATE |
c8531ab3 PA |
343 | tristate |
344 | ||
345 | config DECOMPRESS_BZIP2 | |
346 | tristate | |
347 | ||
348 | config DECOMPRESS_LZMA | |
349 | tristate | |
350 | ||
3ebe1243 LC |
351 | config DECOMPRESS_XZ |
352 | select XZ_DEC | |
353 | tristate | |
354 | ||
cacb246f AT |
355 | config DECOMPRESS_LZO |
356 | select LZO_DECOMPRESS | |
357 | tristate | |
358 | ||
e76e1fdf KL |
359 | config DECOMPRESS_LZ4 |
360 | select LZ4_DECOMPRESS | |
361 | tristate | |
362 | ||
4963bb2b NT |
363 | config DECOMPRESS_ZSTD |
364 | select ZSTD_DECOMPRESS | |
365 | tristate | |
366 | ||
f14f75b8 JS |
367 | # |
368 | # Generic allocator support is selected if needed | |
369 | # | |
370 | config GENERIC_ALLOCATOR | |
6341e62b | 371 | bool |
f14f75b8 | 372 | |
1da177e4 LT |
373 | # |
374 | # reed solomon support is select'ed if needed | |
375 | # | |
376 | config REED_SOLOMON | |
377 | tristate | |
378 | ||
379 | config REED_SOLOMON_ENC8 | |
6341e62b | 380 | bool |
1da177e4 LT |
381 | |
382 | config REED_SOLOMON_DEC8 | |
6341e62b | 383 | bool |
1da177e4 LT |
384 | |
385 | config REED_SOLOMON_ENC16 | |
6341e62b | 386 | bool |
1da177e4 LT |
387 | |
388 | config REED_SOLOMON_DEC16 | |
6341e62b | 389 | bool |
1da177e4 | 390 | |
437aa565 ID |
391 | # |
392 | # BCH support is selected if needed | |
393 | # | |
394 | config BCH | |
395 | tristate | |
396 | ||
397 | config BCH_CONST_PARAMS | |
6341e62b | 398 | bool |
437aa565 ID |
399 | help |
400 | Drivers may select this option to force specific constant | |
401 | values for parameters 'm' (Galois field order) and 't' | |
402 | (error correction capability). Those specific values must | |
403 | be set by declaring default values for symbols BCH_CONST_M | |
404 | and BCH_CONST_T. | |
405 | Doing so will enable extra compiler optimizations, | |
406 | improving encoding and decoding performance up to 2x for | |
407 | usual (m,t) values (typically such that m*t < 200). | |
408 | When this option is selected, the BCH library supports | |
409 | only a single (m,t) configuration. This is mainly useful | |
410 | for NAND flash board drivers requiring known, fixed BCH | |
411 | parameters. | |
412 | ||
413 | config BCH_CONST_M | |
414 | int | |
415 | range 5 15 | |
416 | help | |
417 | Constant value for Galois field order 'm'. If 'k' is the | |
418 | number of data bits to protect, 'm' should be chosen such | |
419 | that (k + m*t) <= 2**m - 1. | |
420 | Drivers should declare a default value for this symbol if | |
421 | they select option BCH_CONST_PARAMS. | |
422 | ||
423 | config BCH_CONST_T | |
424 | int | |
425 | help | |
426 | Constant value for error correction capability in bits 't'. | |
427 | Drivers should declare a default value for this symbol if | |
428 | they select option BCH_CONST_PARAMS. | |
429 | ||
f7704347 DM |
430 | # |
431 | # Textsearch support is select'ed if needed | |
432 | # | |
2de4ff7b | 433 | config TEXTSEARCH |
6341e62b | 434 | bool |
1da177e4 | 435 | |
df3fb93a | 436 | config TEXTSEARCH_KMP |
f7704347 | 437 | tristate |
df3fb93a | 438 | |
8082e4ed | 439 | config TEXTSEARCH_BM |
29cb9f9c | 440 | tristate |
8082e4ed | 441 | |
6408f79c | 442 | config TEXTSEARCH_FSM |
f7704347 | 443 | tristate |
6408f79c | 444 | |
5db53f3e | 445 | config BTREE |
6341e62b | 446 | bool |
5db53f3e | 447 | |
a88cc108 | 448 | config INTERVAL_TREE |
6341e62b | 449 | bool |
a88cc108 CW |
450 | help |
451 | Simple, embeddable, interval-tree. Can find the start of an | |
452 | overlapping range in log(n) time and then iterate over all | |
453 | overlapping nodes. The algorithm is implemented as an | |
454 | augmented rbtree. | |
455 | ||
456 | See: | |
457 | ||
14bbe3e3 | 458 | Documentation/core-api/rbtree.rst |
a88cc108 CW |
459 | |
460 | for more information. | |
461 | ||
02c02bf1 | 462 | config XARRAY_MULTI |
57578c2e | 463 | bool |
02c02bf1 MW |
464 | help |
465 | Support entries which occupy multiple consecutive indices in the | |
466 | XArray. | |
57578c2e | 467 | |
3cb98950 DH |
468 | config ASSOCIATIVE_ARRAY |
469 | bool | |
470 | help | |
471 | Generic associative array. Can be searched and iterated over whilst | |
472 | it is being modified. It is also reasonably quick to search and | |
473 | modify. The algorithms are non-recursive, and the trees are highly | |
474 | capacious. | |
475 | ||
476 | See: | |
477 | ||
5fb94e9c | 478 | Documentation/core-api/assoc_array.rst |
3cb98950 DH |
479 | |
480 | for more information. | |
481 | ||
5ea81769 | 482 | config HAS_IOMEM |
6341e62b | 483 | bool |
5ea81769 AV |
484 | depends on !NO_IOMEM |
485 | default y | |
486 | ||
ce816fa8 | 487 | config HAS_IOPORT_MAP |
6341e62b | 488 | bool |
ce816fa8 | 489 | depends on HAS_IOMEM && !NO_IOPORT_MAP |
ee36c2bf AV |
490 | default y |
491 | ||
cf65a0f6 | 492 | source "kernel/dma/Kconfig" |
411f0f3e | 493 | |
e80a0af4 BVA |
494 | config SGL_ALLOC |
495 | bool | |
496 | default n | |
497 | ||
a4ce5a48 CH |
498 | config IOMMU_HELPER |
499 | bool | |
500 | ||
928923c7 GU |
501 | config CHECK_SIGNATURE |
502 | bool | |
503 | ||
aab46da0 RR |
504 | config CPUMASK_OFFSTACK |
505 | bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS | |
506 | help | |
507 | Use dynamic allocation for cpumask_var_t, instead of putting | |
508 | them on the stack. This is a bit more expensive, but avoids | |
509 | stack overflow. | |
510 | ||
c39649c3 BH |
511 | config CPU_RMAP |
512 | bool | |
513 | depends on SMP | |
514 | ||
75957ba3 TH |
515 | config DQL |
516 | bool | |
517 | ||
b0125085 GS |
518 | config GLOB |
519 | bool | |
520 | # This actually supports modular compilation, but the module overhead | |
521 | # is ridiculous for the amount of code involved. Until an out-of-tree | |
522 | # driver asks for it, we'll just link it directly it into the kernel | |
523 | # when required. Since we're ignoring out-of-tree users, there's also | |
524 | # no need bother prompting for a manual decision: | |
525 | # prompt "glob_match() function" | |
526 | help | |
527 | This option provides a glob_match function for performing | |
528 | simple text pattern matching. It originated in the ATA code | |
529 | to blacklist particular drive models, but other device drivers | |
530 | may need similar functionality. | |
531 | ||
532 | All drivers in the Linux kernel tree that require this function | |
533 | should automatically select this option. Say N unless you | |
534 | are compiling an out-of tree driver which tells you that it | |
535 | depends on this. | |
536 | ||
5f9be824 | 537 | config GLOB_SELFTEST |
ba95b045 | 538 | tristate "glob self-test on init" |
5f9be824 GS |
539 | depends on GLOB |
540 | help | |
541 | This option enables a simple self-test of the glob_match | |
542 | function on startup. It is primarily useful for people | |
543 | working on the code to ensure they haven't introduced any | |
544 | regressions. | |
545 | ||
546 | It only adds a little bit of code and slows kernel boot (or | |
547 | module load) by a small amount, so you're welcome to play with | |
548 | it, but you probably don't need it. | |
549 | ||
e9cc8bdd GU |
550 | # |
551 | # Netlink attribute parsing support is select'ed if needed | |
552 | # | |
553 | config NLATTR | |
554 | bool | |
555 | ||
09d4e0ed PM |
556 | # |
557 | # Generic 64-bit atomic support is selected if needed | |
558 | # | |
559 | config GENERIC_ATOMIC64 | |
560 | bool | |
561 | ||
b411b363 PR |
562 | config LRU_CACHE |
563 | tristate | |
564 | ||
c6df4b17 DM |
565 | config CLZ_TAB |
566 | bool | |
567 | ||
511cbce2 CH |
568 | config IRQ_POLL |
569 | bool "IRQ polling library" | |
570 | help | |
571 | Helper library to poll interrupt mitigation using polling. | |
572 | ||
d9c46b18 | 573 | config MPILIB |
2e5f094b | 574 | tristate |
c6df4b17 | 575 | select CLZ_TAB |
d9c46b18 DK |
576 | help |
577 | Multiprecision maths library from GnuPG. | |
578 | It is used to implement RSA digital signature verification, | |
579 | which is used by IMA/EVM digital signature extension. | |
580 | ||
5e8898e9 | 581 | config SIGNATURE |
2e5f094b | 582 | tristate |
0d1f64f6 DK |
583 | depends on KEYS |
584 | select CRYPTO | |
be440ec7 | 585 | select CRYPTO_SHA1 |
051dbb91 DK |
586 | select MPILIB |
587 | help | |
588 | Digital signature verification. Currently only RSA is supported. | |
589 | Implementation is done using GnuPG MPI library | |
590 | ||
4f75da36 | 591 | config DIMLIB |
424adc32 | 592 | bool |
4f75da36 TG |
593 | help |
594 | Dynamic Interrupt Moderation library. | |
991ad2b2 | 595 | Implements an algorithm for dynamically changing CQ moderation values |
4f75da36 TG |
596 | according to run time performance. |
597 | ||
ab253839 DD |
598 | # |
599 | # libfdt files, only selected if needed. | |
600 | # | |
601 | config LIBFDT | |
602 | bool | |
603 | ||
a77ad6ea DH |
604 | config OID_REGISTRY |
605 | tristate | |
606 | help | |
607 | Enable fast lookup object identifier registry. | |
608 | ||
0635eb8a | 609 | config UCS2_STRING |
68d4b3df | 610 | tristate |
0635eb8a | 611 | |
00b26474 VF |
612 | # |
613 | # generic vdso | |
614 | # | |
615 | source "lib/vdso/Kconfig" | |
616 | ||
ee89bd6b GU |
617 | source "lib/fonts/Kconfig" |
618 | ||
f8bcbe62 RJ |
619 | config SG_SPLIT |
620 | def_bool n | |
621 | help | |
7f7e92f7 GU |
622 | Provides a helper to split scatterlists into chunks, each chunk being |
623 | a scatterlist. This should be selected by a driver or an API which | |
624 | whishes to split a scatterlist amongst multiple DMA channels. | |
f8bcbe62 | 625 | |
9b1d6c89 ML |
626 | config SG_POOL |
627 | def_bool n | |
628 | help | |
629 | Provides a helper to allocate chained scatterlists. This should be | |
630 | selected by a driver or an API which whishes to allocate chained | |
631 | scatterlist. | |
632 | ||
308c09f1 LA |
633 | # |
634 | # sg chaining option | |
635 | # | |
636 | ||
7c703e54 | 637 | config ARCH_NO_SG_CHAIN |
308c09f1 LA |
638 | def_bool n |
639 | ||
61031952 RZ |
640 | config ARCH_HAS_PMEM_API |
641 | bool | |
642 | ||
33dd7075 DW |
643 | config MEMREGION |
644 | bool | |
645 | ||
9ffc1d19 DW |
646 | config ARCH_HAS_MEMREMAP_COMPAT_ALIGN |
647 | bool | |
648 | ||
bd79f947 CH |
649 | # use memcpy to implement user copies for nommu architectures |
650 | config UACCESS_MEMCPY | |
651 | bool | |
652 | ||
0aed55af DW |
653 | config ARCH_HAS_UACCESS_FLUSHCACHE |
654 | bool | |
655 | ||
ec6347bb DW |
656 | # arch has a concept of a recoverable synchronous exception due to a |
657 | # memory-read error like x86 machine-check or ARM data-abort, and | |
658 | # implements copy_mc_to_{user,kernel} to abort and report | |
659 | # 'bytes-transferred' if that exception fires when accessing the source | |
660 | # buffer. | |
661 | config ARCH_HAS_COPY_MC | |
522239b4 DW |
662 | bool |
663 | ||
214d8ca6 TG |
664 | # Temporary. Goes away when all archs are cleaned up |
665 | config ARCH_STACKWALK | |
666 | bool | |
667 | ||
cd11016e AP |
668 | config STACKDEPOT |
669 | bool | |
670 | select STACKTRACE | |
671 | ||
2dba5eb1 VB |
672 | config STACKDEPOT_ALWAYS_INIT |
673 | bool | |
674 | select STACKDEPOT | |
675 | ||
d2620936 YL |
676 | config STACK_HASH_ORDER |
677 | int "stack depot hash size (12 => 4KB, 20 => 1024KB)" | |
678 | range 12 20 | |
679 | default 20 | |
680 | depends on STACKDEPOT | |
681 | help | |
682 | Select the hash size as a power of 2 for the stackdepot hash table. | |
683 | Choose a lower value to reduce the memory impact. | |
684 | ||
4e66934e ED |
685 | config REF_TRACKER |
686 | bool | |
687 | depends on STACKTRACE_SUPPORT | |
688 | select STACKDEPOT | |
689 | ||
88459642 OS |
690 | config SBITMAP |
691 | bool | |
692 | ||
44091d29 | 693 | config PARMAN |
9d25af69 | 694 | tristate "parman" if COMPILE_TEST |
44091d29 | 695 | |
3dfdecc6 RD |
696 | config OBJAGG |
697 | tristate "objagg" if COMPILE_TEST | |
698 | ||
2de4ff7b | 699 | endmenu |
b35cd988 | 700 | |
80b0ca98 CH |
701 | config GENERIC_IOREMAP |
702 | bool | |
703 | ||
e3d59805 | 704 | config GENERIC_LIB_ASHLDI3 |
b35cd988 PD |
705 | bool |
706 | ||
e3d59805 | 707 | config GENERIC_LIB_ASHRDI3 |
b35cd988 PD |
708 | bool |
709 | ||
e3d59805 | 710 | config GENERIC_LIB_LSHRDI3 |
b35cd988 PD |
711 | bool |
712 | ||
e3d59805 | 713 | config GENERIC_LIB_MULDI3 |
b35cd988 PD |
714 | bool |
715 | ||
e3d59805 | 716 | config GENERIC_LIB_CMPDI2 |
b35cd988 PD |
717 | bool |
718 | ||
e3d59805 | 719 | config GENERIC_LIB_UCMPDI2 |
b35cd988 | 720 | bool |
b8265621 | 721 | |
527701ed PD |
722 | config GENERIC_LIB_DEVMEM_IS_ALLOWED |
723 | bool | |
724 | ||
b8265621 JK |
725 | config PLDMFW |
726 | bool | |
727 | default n | |
b0706762 JB |
728 | |
729 | config ASN1_ENCODER | |
730 | tristate |