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