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