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