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