blob: c5e84fbcb30b7562656dcbbc050bcc0ec4cb7a90 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Library configuration
3#
4
Lai Jiangshan4370aa42009-03-06 17:21:46 +01005config BINARY_PRINTF
6 def_bool n
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008menu "Library routines"
9
David Woodhousef5e70d02009-07-13 11:35:12 +010010config RAID6_PQ
11 tristate
12
Akinobu Mitaa5cfc1ec582006-12-08 02:36:25 -080013config BITREVERSE
14 tristate
15
Yalin Wang556d2f02014-11-03 03:01:03 +010016config HAVE_ARCH_BITREVERSE
Christoph Jaeger841c0092015-02-16 16:00:20 -080017 bool
Yalin Wang556d2f02014-11-03 03:01:03 +010018 default n
19 depends on BITREVERSE
20 help
Andrew Morton9e522c02015-04-16 12:49:07 -070021 This option enables the use of hardware bit-reversal instructions on
22 architectures which support such operations.
Yalin Wang556d2f02014-11-03 03:01:03 +010023
Oskar Schirmer8759ef32009-06-11 14:51:15 +010024config RATIONAL
Christoph Jaeger6341e622014-12-20 15:41:11 -050025 bool
Oskar Schirmer8759ef32009-06-11 14:51:15 +010026
David S. Miller29225852012-05-24 13:12:28 -070027config GENERIC_STRNCPY_FROM_USER
28 bool
29
Linus Torvaldsa08c5352012-05-26 11:06:38 -070030config GENERIC_STRNLEN_USER
31 bool
32
Andy Shevchenko4cd57732013-06-04 19:46:26 +030033config GENERIC_NET_UTILS
34 bool
35
Alexander van Heukelum19870de2008-04-25 13:12:53 +020036config GENERIC_FIND_FIRST_BIT
Jan Beulich9ba16082008-10-15 22:01:38 -070037 bool
Alexander van Heukelum19870de2008-04-25 13:12:53 +020038
Michael S. Tsirkinb9236502012-01-30 00:20:48 +020039config NO_GENERIC_PCI_IOPORT_MAP
40 bool
41
Michael S. Tsirkin66eab4d2011-11-24 20:45:20 +020042config GENERIC_PCI_IOMAP
43 bool
44
Michael S. Tsirkin4673ca82011-11-24 14:54:28 +020045config GENERIC_IOMAP
46 bool
Michael S. Tsirkin66eab4d2011-11-24 20:45:20 +020047 select GENERIC_PCI_IOMAP
Michael S. Tsirkin4673ca82011-11-24 14:54:28 +020048
Wolfram Sang4ccf4be2011-08-31 20:35:40 +020049config STMP_DEVICE
50 bool
51
Linus Torvaldsbc08b442013-09-02 12:12:15 -070052config ARCH_USE_CMPXCHG_LOCKREF
53 bool
54
Linus Torvalds72d93102014-09-13 11:14:53 -070055config ARCH_HAS_FAST_MULTIPLIER
56 bool
57
Linus Torvalds1da177e2005-04-16 15:20:36 -070058config CRC_CCITT
59 tristate "CRC-CCITT functions"
60 help
61 This option is provided for the case where no in-kernel-tree
62 modules require CRC-CCITT functions, but a module built outside
63 the kernel tree does. Such modules that use library CRC-CCITT
64 functions require M here.
65
Evgeniy Polyakov7657ec12005-08-17 15:17:26 +040066config CRC16
67 tristate "CRC16 functions"
68 help
69 This option is provided for the case where no in-kernel-tree
70 modules require CRC16 functions, but a module built outside
71 the kernel tree does. Such modules that use library CRC16
72 functions require M here.
73
Martin K. Petersenf11f5942008-06-25 11:22:42 -040074config CRC_T10DIF
75 tristate "CRC calculation for the T10 Data Integrity Field"
Herbert Xu684115212013-09-07 12:56:26 +100076 select CRYPTO
77 select CRYPTO_CRCT10DIF
Martin K. Petersenf11f5942008-06-25 11:22:42 -040078 help
79 This option is only needed if a module that's not in the
80 kernel tree needs to calculate CRC checks for use with the
81 SCSI data integrity subsystem.
82
Ivo van Doorn3e7cbae2006-06-12 16:17:04 +020083config CRC_ITU_T
84 tristate "CRC ITU-T V.41 functions"
85 help
86 This option is provided for the case where no in-kernel-tree
87 modules require CRC ITU-T V.41 functions, but a module built outside
88 the kernel tree does. Such modules that use library CRC ITU-T V.41
89 functions require M here.
90
Linus Torvalds1da177e2005-04-16 15:20:36 -070091config CRC32
Darrick J. Wong46c58012012-03-23 15:02:25 -070092 tristate "CRC32/CRC32c functions"
Linus Torvalds1da177e2005-04-16 15:20:36 -070093 default y
Akinobu Mita906d66d2006-12-08 02:36:25 -080094 select BITREVERSE
Linus Torvalds1da177e2005-04-16 15:20:36 -070095 help
96 This option is provided for the case where no in-kernel-tree
Darrick J. Wong46c58012012-03-23 15:02:25 -070097 modules require CRC32/CRC32c functions, but a module built outside
98 the kernel tree does. Such modules that use library CRC32/CRC32c
99 functions require M here.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100
Bob Pearson3863ef32012-03-23 15:02:22 -0700101config CRC32_SELFTEST
Geert Uytterhoeven5fb7f872017-02-24 15:00:49 -0800102 tristate "CRC32 perform self test on init"
Bob Pearson3863ef32012-03-23 15:02:22 -0700103 depends on CRC32
104 help
105 This option enables the CRC32 library functions to perform a
106 self test on initialization. The self test computes crc32_le
107 and crc32_be over byte strings with random alignment and length
108 and computes the total elapsed time and number of bytes processed.
109
Darrick J. Wong5cde7652012-03-23 15:02:26 -0700110choice
111 prompt "CRC32 implementation"
112 depends on CRC32
113 default CRC32_SLICEBY8
Darrick J. Wong82edb4b2012-03-28 14:42:56 -0700114 help
115 This option allows a kernel builder to override the default choice
116 of CRC32 algorithm. Choose the default ("slice by 8") unless you
117 know that you need one of the others.
Darrick J. Wong5cde7652012-03-23 15:02:26 -0700118
119config CRC32_SLICEBY8
120 bool "Slice by 8 bytes"
121 help
122 Calculate checksum 8 bytes at a time with a clever slicing algorithm.
123 This is the fastest algorithm, but comes with a 8KiB lookup table.
124 Most modern processors have enough cache to hold this table without
125 thrashing the cache.
126
127 This is the default implementation choice. Choose this one unless
128 you have a good reason not to.
129
130config CRC32_SLICEBY4
131 bool "Slice by 4 bytes"
132 help
133 Calculate checksum 4 bytes at a time with a clever slicing algorithm.
134 This is a bit slower than slice by 8, but has a smaller 4KiB lookup
135 table.
136
137 Only choose this option if you know what you are doing.
138
139config CRC32_SARWATE
140 bool "Sarwate's Algorithm (one byte at a time)"
141 help
142 Calculate checksum a byte at a time using Sarwate's algorithm. This
143 is not particularly fast, but has a small 256 byte lookup table.
144
145 Only choose this option if you know what you are doing.
146
147config CRC32_BIT
148 bool "Classic Algorithm (one bit at a time)"
149 help
150 Calculate checksum one bit at a time. This is VERY slow, but has
151 no lookup table. This is provided as a debugging option.
152
153 Only choose this option if you are debugging crc32.
154
155endchoice
156
Jeremy Kerr0cbaa442017-06-06 16:08:39 -0500157config CRC4
158 tristate "CRC4 functions"
159 help
160 This option is provided for the case where no in-kernel-tree
161 modules require CRC4 functions, but a module built outside
162 the kernel tree does. Such modules that use library CRC4
163 functions require M here.
164
Jan Nikitenkoad241522007-07-17 04:04:03 -0700165config CRC7
166 tristate "CRC7 functions"
167 help
168 This option is provided for the case where no in-kernel-tree
169 modules require CRC7 functions, but a module built outside
170 the kernel tree does. Such modules that use library CRC7
171 functions require M here.
172
Linus Torvalds1da177e2005-04-16 15:20:36 -0700173config LIBCRC32C
174 tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
Herbert Xu93027352008-11-13 22:05:13 +0800175 select CRYPTO
Herbert Xu69c35ef2008-11-07 15:11:47 +0800176 select CRYPTO_CRC32C
Linus Torvalds1da177e2005-04-16 15:20:36 -0700177 help
178 This option is provided for the case where no in-kernel-tree
179 modules require CRC32c functions, but a module built outside the
180 kernel tree does. Such modules that use library CRC32c functions
181 require M here. See Castagnoli93.
182 Module will be libcrc32c.
183
Arend van Spriel71509622011-05-31 11:22:15 +0200184config CRC8
185 tristate "CRC8 function"
186 help
187 This option provides CRC8 function. Drivers may select this
188 when they need to do cyclic redundancy check according CRC8
189 algorithm. Module will be called crc8.
190
Nick Terrell5d240522017-08-04 13:19:17 -0700191config XXHASH
192 tristate
193
Al Viroe65e1fc2006-09-12 03:04:40 -0400194config AUDIT_GENERIC
195 bool
196 depends on AUDIT && !AUDIT_ARCH
197 default y
198
AKASHI Takahiro4b588412014-03-15 14:48:00 +0900199config AUDIT_ARCH_COMPAT_GENERIC
200 bool
201 default n
202
203config AUDIT_COMPAT_GENERIC
204 bool
205 depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
206 default y
207
Daniel Borkmanna6a9c0f2013-11-11 12:20:37 +0100208config RANDOM32_SELFTEST
209 bool "PRNG perform self test on init"
210 default n
211 help
212 This option enables the 32 bit PRNG library functions to perform a
213 self test on initialization.
214
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215#
216# compression support is select'ed if needed
217#
Dan Streetman2da572c2015-05-07 13:49:14 -0400218config 842_COMPRESS
Arnd Bergmann5b571672016-01-13 23:24:02 +0100219 select CRC32
Dan Streetman2da572c2015-05-07 13:49:14 -0400220 tristate
221
222config 842_DECOMPRESS
Arnd Bergmann5b571672016-01-13 23:24:02 +0100223 select CRC32
Dan Streetman2da572c2015-05-07 13:49:14 -0400224 tristate
225
Linus Torvalds1da177e2005-04-16 15:20:36 -0700226config ZLIB_INFLATE
227 tristate
228
229config ZLIB_DEFLATE
230 tristate
Andrew Morton1fd4e5c2015-10-15 15:28:35 -0700231 select BITREVERSE
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232
Richard Purdie64c70b12007-07-10 17:22:24 -0700233config LZO_COMPRESS
234 tristate
235
236config LZO_DECOMPRESS
237 tristate
238
Chanho Minc72ac7a2013-07-08 16:01:49 -0700239config LZ4_COMPRESS
240 tristate
241
242config LZ4HC_COMPRESS
243 tristate
244
Kyungsik Leee76e1fd2013-07-08 16:01:46 -0700245config LZ4_DECOMPRESS
246 tristate
247
Nick Terrell73f3d1b2017-08-09 19:35:53 -0700248config ZSTD_COMPRESS
249 select XXHASH
250 tristate
251
252config ZSTD_DECOMPRESS
253 select XXHASH
254 tristate
255
Lasse Collin24fa0402011-01-12 17:01:22 -0800256source "lib/xz/Kconfig"
257
Linus Torvalds1da177e2005-04-16 15:20:36 -0700258#
H. Peter Anvinc8531ab2009-01-05 13:48:31 -0800259# These all provide a common interface (hence the apparent duplication with
260# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
261#
262config DECOMPRESS_GZIP
H. Peter Anvin7856a16e2009-01-07 00:01:43 -0800263 select ZLIB_INFLATE
H. Peter Anvinc8531ab2009-01-05 13:48:31 -0800264 tristate
265
266config DECOMPRESS_BZIP2
267 tristate
268
269config DECOMPRESS_LZMA
270 tristate
271
Lasse Collin3ebe1242011-01-12 17:01:23 -0800272config DECOMPRESS_XZ
273 select XZ_DEC
274 tristate
275
Albin Tonnerrecacb2462010-01-08 14:42:46 -0800276config DECOMPRESS_LZO
277 select LZO_DECOMPRESS
278 tristate
279
Kyungsik Leee76e1fd2013-07-08 16:01:46 -0700280config DECOMPRESS_LZ4
281 select LZ4_DECOMPRESS
282 tristate
283
H. Peter Anvinc8531ab2009-01-05 13:48:31 -0800284#
Jes Sorensenf14f75b2005-06-21 17:15:02 -0700285# Generic allocator support is selected if needed
286#
287config GENERIC_ALLOCATOR
Christoph Jaeger6341e622014-12-20 15:41:11 -0500288 bool
Jes Sorensenf14f75b2005-06-21 17:15:02 -0700289
290#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700291# reed solomon support is select'ed if needed
292#
293config REED_SOLOMON
294 tristate
295
296config REED_SOLOMON_ENC8
Christoph Jaeger6341e622014-12-20 15:41:11 -0500297 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700298
299config REED_SOLOMON_DEC8
Christoph Jaeger6341e622014-12-20 15:41:11 -0500300 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700301
302config REED_SOLOMON_ENC16
Christoph Jaeger6341e622014-12-20 15:41:11 -0500303 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700304
305config REED_SOLOMON_DEC16
Christoph Jaeger6341e622014-12-20 15:41:11 -0500306 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700307
David S. Millerf7704342005-06-24 17:39:03 -0700308#
Ivan Djelic437aa562011-03-11 11:05:32 +0100309# BCH support is selected if needed
310#
311config BCH
312 tristate
313
314config BCH_CONST_PARAMS
Christoph Jaeger6341e622014-12-20 15:41:11 -0500315 bool
Ivan Djelic437aa562011-03-11 11:05:32 +0100316 help
317 Drivers may select this option to force specific constant
318 values for parameters 'm' (Galois field order) and 't'
319 (error correction capability). Those specific values must
320 be set by declaring default values for symbols BCH_CONST_M
321 and BCH_CONST_T.
322 Doing so will enable extra compiler optimizations,
323 improving encoding and decoding performance up to 2x for
324 usual (m,t) values (typically such that m*t < 200).
325 When this option is selected, the BCH library supports
326 only a single (m,t) configuration. This is mainly useful
327 for NAND flash board drivers requiring known, fixed BCH
328 parameters.
329
330config BCH_CONST_M
331 int
332 range 5 15
333 help
334 Constant value for Galois field order 'm'. If 'k' is the
335 number of data bits to protect, 'm' should be chosen such
336 that (k + m*t) <= 2**m - 1.
337 Drivers should declare a default value for this symbol if
338 they select option BCH_CONST_PARAMS.
339
340config BCH_CONST_T
341 int
342 help
343 Constant value for error correction capability in bits 't'.
344 Drivers should declare a default value for this symbol if
345 they select option BCH_CONST_PARAMS.
346
347#
David S. Millerf7704342005-06-24 17:39:03 -0700348# Textsearch support is select'ed if needed
349#
Thomas Graf2de4ff72005-06-23 20:49:30 -0700350config TEXTSEARCH
Christoph Jaeger6341e622014-12-20 15:41:11 -0500351 bool
Linus Torvalds1da177e2005-04-16 15:20:36 -0700352
Thomas Grafdf3fb932005-06-23 20:58:37 -0700353config TEXTSEARCH_KMP
David S. Millerf7704342005-06-24 17:39:03 -0700354 tristate
Thomas Grafdf3fb932005-06-23 20:58:37 -0700355
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700356config TEXTSEARCH_BM
David S. Miller29cb9f92005-08-25 16:23:11 -0700357 tristate
Pablo Neira Ayuso8082e4e2005-08-25 16:12:22 -0700358
Thomas Graf6408f792005-06-23 20:59:16 -0700359config TEXTSEARCH_FSM
David S. Millerf7704342005-06-24 17:39:03 -0700360 tristate
Thomas Graf6408f792005-06-23 20:59:16 -0700361
Joern Engel5db53f32009-11-20 20:13:39 +0100362config BTREE
Christoph Jaeger6341e622014-12-20 15:41:11 -0500363 bool
Joern Engel5db53f32009-11-20 20:13:39 +0100364
Chris Wilsona88cc102014-03-17 12:21:54 +0000365config INTERVAL_TREE
Christoph Jaeger6341e622014-12-20 15:41:11 -0500366 bool
Chris Wilsona88cc102014-03-17 12:21:54 +0000367 help
368 Simple, embeddable, interval-tree. Can find the start of an
369 overlapping range in log(n) time and then iterate over all
370 overlapping nodes. The algorithm is implemented as an
371 augmented rbtree.
372
373 See:
374
375 Documentation/rbtree.txt
376
377 for more information.
378
Matthew Wilcox57578c22016-05-20 17:01:54 -0700379config RADIX_TREE_MULTIORDER
380 bool
381
David Howells3cb98952013-09-24 10:35:17 +0100382config ASSOCIATIVE_ARRAY
383 bool
384 help
385 Generic associative array. Can be searched and iterated over whilst
386 it is being modified. It is also reasonably quick to search and
387 modify. The algorithms are non-recursive, and the trees are highly
388 capacious.
389
390 See:
391
392 Documentation/assoc_array.txt
393
394 for more information.
395
Al Viro5ea81762007-02-11 15:41:31 +0000396config HAS_IOMEM
Christoph Jaeger6341e622014-12-20 15:41:11 -0500397 bool
Al Viro5ea81762007-02-11 15:41:31 +0000398 depends on !NO_IOMEM
Richard Weinberger087fafd2012-02-07 01:22:46 +0100399 select GENERIC_IO
Al Viro5ea81762007-02-11 15:41:31 +0000400 default y
401
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -0700402config HAS_IOPORT_MAP
Christoph Jaeger6341e622014-12-20 15:41:11 -0500403 bool
Uwe Kleine-Königce816fa2014-04-07 15:39:19 -0700404 depends on HAS_IOMEM && !NO_IOPORT_MAP
Al Viroee36c2b2006-12-13 00:35:00 -0800405 default y
406
Heiko Carstens411f0f32007-05-06 14:49:09 -0700407config HAS_DMA
Christoph Jaeger6341e622014-12-20 15:41:11 -0500408 bool
Heiko Carstens411f0f32007-05-06 14:49:09 -0700409 depends on !NO_DMA
410 default y
411
Bart Van Assche78445722017-01-20 13:04:06 -0800412config DMA_NOOP_OPS
413 bool
414 depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
415 default n
416
Bart Van Assche551199a2017-01-20 13:04:07 -0800417config DMA_VIRT_OPS
418 bool
419 depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
420 default n
421
Geert Uytterhoeven928923c2007-08-22 14:01:36 -0700422config CHECK_SIGNATURE
423 bool
424
Rusty Russellaab46da2008-12-13 21:20:27 +1030425config CPUMASK_OFFSTACK
426 bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
427 help
428 Use dynamic allocation for cpumask_var_t, instead of putting
429 them on the stack. This is a bit more expensive, but avoids
430 stack overflow.
431
Ben Hutchingsc39649c2011-01-19 11:03:25 +0000432config CPU_RMAP
433 bool
434 depends on SMP
435
Tom Herbert75957ba2011-11-28 16:32:35 +0000436config DQL
437 bool
438
George Spelvinb0125082014-08-06 16:09:23 -0700439config GLOB
440 bool
441# This actually supports modular compilation, but the module overhead
442# is ridiculous for the amount of code involved. Until an out-of-tree
443# driver asks for it, we'll just link it directly it into the kernel
444# when required. Since we're ignoring out-of-tree users, there's also
445# no need bother prompting for a manual decision:
446# prompt "glob_match() function"
447 help
448 This option provides a glob_match function for performing
449 simple text pattern matching. It originated in the ATA code
450 to blacklist particular drive models, but other device drivers
451 may need similar functionality.
452
453 All drivers in the Linux kernel tree that require this function
454 should automatically select this option. Say N unless you
455 are compiling an out-of tree driver which tells you that it
456 depends on this.
457
George Spelvin5f9be822014-08-06 16:09:25 -0700458config GLOB_SELFTEST
Geert Uytterhoevenba95b042017-02-24 15:00:52 -0800459 tristate "glob self-test on init"
George Spelvin5f9be822014-08-06 16:09:25 -0700460 depends on GLOB
461 help
462 This option enables a simple self-test of the glob_match
463 function on startup. It is primarily useful for people
464 working on the code to ensure they haven't introduced any
465 regressions.
466
467 It only adds a little bit of code and slows kernel boot (or
468 module load) by a small amount, so you're welcome to play with
469 it, but you probably don't need it.
470
Geert Uytterhoevene9cc8bd2009-03-04 14:53:30 +0800471#
472# Netlink attribute parsing support is select'ed if needed
473#
474config NLATTR
475 bool
476
Paul Mackerras09d4e0e2009-06-12 21:10:05 +0000477#
478# Generic 64-bit atomic support is selected if needed
479#
480config GENERIC_ATOMIC64
481 bool
482
Philipp Reisnerb411b362009-09-25 16:07:19 -0700483config LRU_CACHE
484 tristate
485
David Millerc6df4b12012-02-02 00:17:54 +0200486config CLZ_TAB
487 bool
488
Arend van Spriel10f81132011-05-31 11:22:16 +0200489config CORDIC
Michael Wittend89ce932011-07-29 12:59:51 +0000490 tristate "CORDIC algorithm"
Arend van Spriel10f81132011-05-31 11:22:16 +0200491 help
Michael Witten435a95c2011-07-29 13:36:04 +0000492 This option provides an implementation of the CORDIC algorithm;
493 calculations are in fixed point. Module will be called cordic.
Arend van Spriel10f81132011-05-31 11:22:16 +0200494
Aneesh V9c1c21a2012-04-27 17:54:03 +0530495config DDR
496 bool "JEDEC DDR data"
497 help
498 Data from JEDEC specs for DDR SDRAM memories,
499 particularly the AC timing parameters and addressing
500 information. This data is useful for drivers handling
501 DDR SDRAM controllers.
502
Christoph Hellwig511cbce2015-11-10 14:56:14 +0100503config IRQ_POLL
504 bool "IRQ polling library"
505 help
506 Helper library to poll interrupt mitigation using polling.
507
Dmitry Kasatkind9c46b12011-08-31 14:05:16 +0300508config MPILIB
Dmitry Kasatkin2e5f0942012-01-17 17:12:06 +0200509 tristate
David Millerc6df4b12012-02-02 00:17:54 +0200510 select CLZ_TAB
Dmitry Kasatkind9c46b12011-08-31 14:05:16 +0300511 help
512 Multiprecision maths library from GnuPG.
513 It is used to implement RSA digital signature verification,
514 which is used by IMA/EVM digital signature extension.
515
Dmitry Kasatkin5e8898e2012-01-17 17:12:03 +0200516config SIGNATURE
Dmitry Kasatkin2e5f0942012-01-17 17:12:06 +0200517 tristate
Dmitry Kasatkin0d1f64f2014-07-11 18:59:45 +0300518 depends on KEYS
519 select CRYPTO
Dmitry Kasatkinbe440ec2012-01-17 17:12:04 +0200520 select CRYPTO_SHA1
Dmitry Kasatkin051dbb92011-10-14 15:25:16 +0300521 select MPILIB
522 help
523 Digital signature verification. Currently only RSA is supported.
524 Implementation is done using GnuPG MPI library
525
David Daneyab253832012-07-05 18:12:38 +0200526#
527# libfdt files, only selected if needed.
528#
529config LIBFDT
530 bool
531
David Howellsa77ad6e2012-09-21 23:30:46 +0100532config OID_REGISTRY
533 tristate
534 help
535 Enable fast lookup object identifier registry.
536
Matthew Garrett0635eb82013-04-15 13:09:45 -0700537config UCS2_STRING
538 tristate
539
Geert Uytterhoevenee89bd62013-06-09 11:46:43 +0200540source "lib/fonts/Kconfig"
541
Robert Jarzmikf8bcbe62015-08-08 10:44:10 +0200542config SG_SPLIT
543 def_bool n
544 help
Geert Uytterhoeven7f7e92f2015-09-04 12:45:05 +0200545 Provides a helper to split scatterlists into chunks, each chunk being
546 a scatterlist. This should be selected by a driver or an API which
547 whishes to split a scatterlist amongst multiple DMA channels.
Robert Jarzmikf8bcbe62015-08-08 10:44:10 +0200548
Ming Lin9b1d6c82016-04-04 14:48:11 -0700549config SG_POOL
550 def_bool n
551 help
552 Provides a helper to allocate chained scatterlists. This should be
553 selected by a driver or an API which whishes to allocate chained
554 scatterlist.
555
Laura Abbott308c09f2014-08-08 14:23:25 -0700556#
557# sg chaining option
558#
559
560config ARCH_HAS_SG_CHAIN
561 def_bool n
562
Ross Zwisler61031952015-06-25 03:08:39 -0400563config ARCH_HAS_PMEM_API
564 bool
565
Dan Williams0aed55a2017-05-29 12:22:50 -0700566config ARCH_HAS_UACCESS_FLUSHCACHE
567 bool
568
Alexander Potapenkocd110162016-03-25 14:22:08 -0700569config STACKDEPOT
570 bool
571 select STACKTRACE
572
Omar Sandoval88459642016-09-17 08:38:44 -0600573config SBITMAP
574 bool
575
Jiri Pirko44091d22017-02-03 10:29:06 +0100576config PARMAN
Geert Uytterhoeven9d25af62017-02-24 11:25:55 +0100577 tristate "parman" if COMPILE_TEST
Jiri Pirko44091d22017-02-03 10:29:06 +0100578
Chris Wilsoncf4a7202016-12-22 14:45:14 +0000579config PRIME_NUMBERS
Dave Airlie64a57712017-02-24 12:11:21 +1000580 tristate
Chris Wilsoncf4a7202016-12-22 14:45:14 +0000581
Matthew Wilcox03270c12017-09-08 16:13:52 -0700582config STRING_SELFTEST
Geert Uytterhoevend6b28e02017-11-17 15:27:56 -0800583 tristate "Test string functions"
Matthew Wilcox03270c12017-09-08 16:13:52 -0700584
Thomas Graf2de4ff72005-06-23 20:49:30 -0700585endmenu
Palmer Dabbeltb35cd982017-05-23 10:28:26 -0700586
587config GENERIC_ASHLDI3
588 bool
589
590config GENERIC_ASHRDI3
591 bool
592
593config GENERIC_LSHRDI3
594 bool
595
596config GENERIC_MULDI3
597 bool
598
599config GENERIC_CMPDI2
600 bool
601
602config GENERIC_UCMPDI2
603 bool