xref: /linux/lib/Kconfig (revision 72d931046030beb2d13dad6d205be0e228618432)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Library configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
54370aa4aSLai Jiangshanconfig BINARY_PRINTF
64370aa4aSLai Jiangshan	def_bool n
74370aa4aSLai Jiangshan
81da177e4SLinus Torvaldsmenu "Library routines"
91da177e4SLinus Torvalds
10f5e70d0fSDavid Woodhouseconfig RAID6_PQ
11f5e70d0fSDavid Woodhouse	tristate
12f5e70d0fSDavid Woodhouse
13a5cfc1ecSAkinobu Mitaconfig BITREVERSE
14a5cfc1ecSAkinobu Mita	tristate
15a5cfc1ecSAkinobu Mita
168759ef32SOskar Schirmerconfig RATIONAL
178759ef32SOskar Schirmer	boolean
188759ef32SOskar Schirmer
192922585bSDavid S. Millerconfig GENERIC_STRNCPY_FROM_USER
202922585bSDavid S. Miller	bool
212922585bSDavid S. Miller
22a08c5356SLinus Torvaldsconfig GENERIC_STRNLEN_USER
23a08c5356SLinus Torvalds	bool
24a08c5356SLinus Torvalds
254cd5773aSAndy Shevchenkoconfig GENERIC_NET_UTILS
264cd5773aSAndy Shevchenko	bool
274cd5773aSAndy Shevchenko
2819870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT
299ba16087SJan Beulich	bool
3019870defSAlexander van Heukelum
31b923650bSMichael S. Tsirkinconfig NO_GENERIC_PCI_IOPORT_MAP
32b923650bSMichael S. Tsirkin	bool
33b923650bSMichael S. Tsirkin
3466eab4dfSMichael S. Tsirkinconfig GENERIC_PCI_IOMAP
3566eab4dfSMichael S. Tsirkin	bool
3666eab4dfSMichael S. Tsirkin
374673ca8eSMichael S. Tsirkinconfig GENERIC_IOMAP
384673ca8eSMichael S. Tsirkin	bool
3966eab4dfSMichael S. Tsirkin	select GENERIC_PCI_IOMAP
404673ca8eSMichael S. Tsirkin
41087fafd1SRichard Weinbergerconfig GENERIC_IO
42087fafd1SRichard Weinberger	boolean
43087fafd1SRichard Weinberger	default n
44087fafd1SRichard Weinberger
454ccf4beaSWolfram Sangconfig STMP_DEVICE
464ccf4beaSWolfram Sang	bool
474ccf4beaSWolfram Sang
4822b361d1SOleg Nesterovconfig PERCPU_RWSEM
4922b361d1SOleg Nesterov	boolean
5022b361d1SOleg Nesterov
51bc08b449SLinus Torvaldsconfig ARCH_USE_CMPXCHG_LOCKREF
52bc08b449SLinus Torvalds	bool
53bc08b449SLinus Torvalds
54*72d93104SLinus Torvaldsconfig ARCH_HAS_FAST_MULTIPLIER
55*72d93104SLinus Torvalds	bool
56*72d93104SLinus Torvalds
571da177e4SLinus Torvaldsconfig CRC_CCITT
581da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
591da177e4SLinus Torvalds	help
601da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
611da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
621da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
631da177e4SLinus Torvalds	  functions require M here.
641da177e4SLinus Torvalds
657657ec1fSEvgeniy Polyakovconfig CRC16
667657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
677657ec1fSEvgeniy Polyakov	help
687657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
697657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
707657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
717657ec1fSEvgeniy Polyakov	  functions require M here.
727657ec1fSEvgeniy Polyakov
73f11f594eSMartin K. Petersenconfig CRC_T10DIF
74f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
7568411521SHerbert Xu	select CRYPTO
7668411521SHerbert Xu	select CRYPTO_CRCT10DIF
77f11f594eSMartin K. Petersen	help
78f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
79f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
80f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
81f11f594eSMartin K. Petersen
823e7cbae7SIvo van Doornconfig CRC_ITU_T
833e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
843e7cbae7SIvo van Doorn	help
853e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
863e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
873e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
883e7cbae7SIvo van Doorn	  functions require M here.
893e7cbae7SIvo van Doorn
901da177e4SLinus Torvaldsconfig CRC32
9146c5801eSDarrick J. Wong	tristate "CRC32/CRC32c functions"
921da177e4SLinus Torvalds	default y
93906d66dfSAkinobu Mita	select BITREVERSE
941da177e4SLinus Torvalds	help
951da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
9646c5801eSDarrick J. Wong	  modules require CRC32/CRC32c functions, but a module built outside
9746c5801eSDarrick J. Wong	  the kernel tree does. Such modules that use library CRC32/CRC32c
9846c5801eSDarrick J. Wong	  functions require M here.
991da177e4SLinus Torvalds
1003863ef31SBob Pearsonconfig CRC32_SELFTEST
1013863ef31SBob Pearson	bool "CRC32 perform self test on init"
1023863ef31SBob Pearson	default n
1033863ef31SBob Pearson	depends on CRC32
1043863ef31SBob Pearson	help
1053863ef31SBob Pearson	  This option enables the CRC32 library functions to perform a
1063863ef31SBob Pearson	  self test on initialization. The self test computes crc32_le
1073863ef31SBob Pearson	  and crc32_be over byte strings with random alignment and length
1083863ef31SBob Pearson	  and computes the total elapsed time and number of bytes processed.
1093863ef31SBob Pearson
1105cde7656SDarrick J. Wongchoice
1115cde7656SDarrick J. Wong	prompt "CRC32 implementation"
1125cde7656SDarrick J. Wong	depends on CRC32
1135cde7656SDarrick J. Wong	default CRC32_SLICEBY8
11482edb4baSDarrick J. Wong	help
11582edb4baSDarrick J. Wong	  This option allows a kernel builder to override the default choice
11682edb4baSDarrick J. Wong	  of CRC32 algorithm.  Choose the default ("slice by 8") unless you
11782edb4baSDarrick J. Wong	  know that you need one of the others.
1185cde7656SDarrick J. Wong
1195cde7656SDarrick J. Wongconfig CRC32_SLICEBY8
1205cde7656SDarrick J. Wong	bool "Slice by 8 bytes"
1215cde7656SDarrick J. Wong	help
1225cde7656SDarrick J. Wong	  Calculate checksum 8 bytes at a time with a clever slicing algorithm.
1235cde7656SDarrick J. Wong	  This is the fastest algorithm, but comes with a 8KiB lookup table.
1245cde7656SDarrick J. Wong	  Most modern processors have enough cache to hold this table without
1255cde7656SDarrick J. Wong	  thrashing the cache.
1265cde7656SDarrick J. Wong
1275cde7656SDarrick J. Wong	  This is the default implementation choice.  Choose this one unless
1285cde7656SDarrick J. Wong	  you have a good reason not to.
1295cde7656SDarrick J. Wong
1305cde7656SDarrick J. Wongconfig CRC32_SLICEBY4
1315cde7656SDarrick J. Wong	bool "Slice by 4 bytes"
1325cde7656SDarrick J. Wong	help
1335cde7656SDarrick J. Wong	  Calculate checksum 4 bytes at a time with a clever slicing algorithm.
1345cde7656SDarrick J. Wong	  This is a bit slower than slice by 8, but has a smaller 4KiB lookup
1355cde7656SDarrick J. Wong	  table.
1365cde7656SDarrick J. Wong
1375cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1385cde7656SDarrick J. Wong
1395cde7656SDarrick J. Wongconfig CRC32_SARWATE
1405cde7656SDarrick J. Wong	bool "Sarwate's Algorithm (one byte at a time)"
1415cde7656SDarrick J. Wong	help
1425cde7656SDarrick J. Wong	  Calculate checksum a byte at a time using Sarwate's algorithm.  This
1435cde7656SDarrick J. Wong	  is not particularly fast, but has a small 256 byte lookup table.
1445cde7656SDarrick J. Wong
1455cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1465cde7656SDarrick J. Wong
1475cde7656SDarrick J. Wongconfig CRC32_BIT
1485cde7656SDarrick J. Wong	bool "Classic Algorithm (one bit at a time)"
1495cde7656SDarrick J. Wong	help
1505cde7656SDarrick J. Wong	  Calculate checksum one bit at a time.  This is VERY slow, but has
1515cde7656SDarrick J. Wong	  no lookup table.  This is provided as a debugging option.
1525cde7656SDarrick J. Wong
1535cde7656SDarrick J. Wong	  Only choose this option if you are debugging crc32.
1545cde7656SDarrick J. Wong
1555cde7656SDarrick J. Wongendchoice
1565cde7656SDarrick J. Wong
157ad241528SJan Nikitenkoconfig CRC7
158ad241528SJan Nikitenko	tristate "CRC7 functions"
159ad241528SJan Nikitenko	help
160ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
161ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
162ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
163ad241528SJan Nikitenko	  functions require M here.
164ad241528SJan Nikitenko
1651da177e4SLinus Torvaldsconfig LIBCRC32C
1661da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
16793027354SHerbert Xu	select CRYPTO
16869c35efcSHerbert Xu	select CRYPTO_CRC32C
1691da177e4SLinus Torvalds	help
1701da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
1711da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
1721da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
1731da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
1741da177e4SLinus Torvalds	  Module will be libcrc32c.
1751da177e4SLinus Torvalds
1767150962dSArend van Sprielconfig CRC8
1777150962dSArend van Spriel	tristate "CRC8 function"
1787150962dSArend van Spriel	help
1797150962dSArend van Spriel	  This option provides CRC8 function. Drivers may select this
1807150962dSArend van Spriel	  when they need to do cyclic redundancy check according CRC8
1817150962dSArend van Spriel	  algorithm. Module will be called crc8.
1827150962dSArend van Spriel
183e65e1fc2SAl Viroconfig AUDIT_GENERIC
184e65e1fc2SAl Viro	bool
185e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
186e65e1fc2SAl Viro	default y
187e65e1fc2SAl Viro
1884b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC
1894b588411SAKASHI Takahiro	bool
1904b588411SAKASHI Takahiro	default n
1914b588411SAKASHI Takahiro
1924b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC
1934b588411SAKASHI Takahiro	bool
1944b588411SAKASHI Takahiro	depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
1954b588411SAKASHI Takahiro	default y
1964b588411SAKASHI Takahiro
197a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST
198a6a9c0f1SDaniel Borkmann	bool "PRNG perform self test on init"
199a6a9c0f1SDaniel Borkmann	default n
200a6a9c0f1SDaniel Borkmann	help
201a6a9c0f1SDaniel Borkmann	  This option enables the 32 bit PRNG library functions to perform a
202a6a9c0f1SDaniel Borkmann	  self test on initialization.
203a6a9c0f1SDaniel Borkmann
2041da177e4SLinus Torvalds#
2051da177e4SLinus Torvalds# compression support is select'ed if needed
2061da177e4SLinus Torvalds#
2071da177e4SLinus Torvaldsconfig ZLIB_INFLATE
2081da177e4SLinus Torvalds	tristate
2091da177e4SLinus Torvalds
2101da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
2111da177e4SLinus Torvalds	tristate
2121da177e4SLinus Torvalds
21364c70b1cSRichard Purdieconfig LZO_COMPRESS
21464c70b1cSRichard Purdie	tristate
21564c70b1cSRichard Purdie
21664c70b1cSRichard Purdieconfig LZO_DECOMPRESS
21764c70b1cSRichard Purdie	tristate
21864c70b1cSRichard Purdie
219c72ac7a1SChanho Minconfig LZ4_COMPRESS
220c72ac7a1SChanho Min	tristate
221c72ac7a1SChanho Min
222c72ac7a1SChanho Minconfig LZ4HC_COMPRESS
223c72ac7a1SChanho Min	tristate
224c72ac7a1SChanho Min
225e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS
226e76e1fdfSKyungsik Lee	tristate
227e76e1fdfSKyungsik Lee
22824fa0402SLasse Collinsource "lib/xz/Kconfig"
22924fa0402SLasse Collin
2301da177e4SLinus Torvalds#
231c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with
232c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
233c8531ab3SH. Peter Anvin#
234c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP
2357856a16eSH. Peter Anvin	select ZLIB_INFLATE
236c8531ab3SH. Peter Anvin	tristate
237c8531ab3SH. Peter Anvin
238c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2
239c8531ab3SH. Peter Anvin	tristate
240c8531ab3SH. Peter Anvin
241c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA
242c8531ab3SH. Peter Anvin	tristate
243c8531ab3SH. Peter Anvin
2443ebe1243SLasse Collinconfig DECOMPRESS_XZ
2453ebe1243SLasse Collin	select XZ_DEC
2463ebe1243SLasse Collin	tristate
2473ebe1243SLasse Collin
248cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO
249cacb246fSAlbin Tonnerre	select LZO_DECOMPRESS
250cacb246fSAlbin Tonnerre	tristate
251cacb246fSAlbin Tonnerre
252e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4
253e76e1fdfSKyungsik Lee	select LZ4_DECOMPRESS
254e76e1fdfSKyungsik Lee	tristate
255e76e1fdfSKyungsik Lee
256c8531ab3SH. Peter Anvin#
257f14f75b8SJes Sorensen# Generic allocator support is selected if needed
258f14f75b8SJes Sorensen#
259f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
260f14f75b8SJes Sorensen	boolean
261f14f75b8SJes Sorensen
262f14f75b8SJes Sorensen#
2631da177e4SLinus Torvalds# reed solomon support is select'ed if needed
2641da177e4SLinus Torvalds#
2651da177e4SLinus Torvaldsconfig REED_SOLOMON
2661da177e4SLinus Torvalds	tristate
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
2691da177e4SLinus Torvalds	boolean
2701da177e4SLinus Torvalds
2711da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
2721da177e4SLinus Torvalds	boolean
2731da177e4SLinus Torvalds
2741da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
2751da177e4SLinus Torvalds	boolean
2761da177e4SLinus Torvalds
2771da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
2781da177e4SLinus Torvalds	boolean
2791da177e4SLinus Torvalds
280f7704347SDavid S. Miller#
281437aa565SIvan Djelic# BCH support is selected if needed
282437aa565SIvan Djelic#
283437aa565SIvan Djelicconfig BCH
284437aa565SIvan Djelic	tristate
285437aa565SIvan Djelic
286437aa565SIvan Djelicconfig BCH_CONST_PARAMS
287437aa565SIvan Djelic	boolean
288437aa565SIvan Djelic	help
289437aa565SIvan Djelic	  Drivers may select this option to force specific constant
290437aa565SIvan Djelic	  values for parameters 'm' (Galois field order) and 't'
291437aa565SIvan Djelic	  (error correction capability). Those specific values must
292437aa565SIvan Djelic	  be set by declaring default values for symbols BCH_CONST_M
293437aa565SIvan Djelic	  and BCH_CONST_T.
294437aa565SIvan Djelic	  Doing so will enable extra compiler optimizations,
295437aa565SIvan Djelic	  improving encoding and decoding performance up to 2x for
296437aa565SIvan Djelic	  usual (m,t) values (typically such that m*t < 200).
297437aa565SIvan Djelic	  When this option is selected, the BCH library supports
298437aa565SIvan Djelic	  only a single (m,t) configuration. This is mainly useful
299437aa565SIvan Djelic	  for NAND flash board drivers requiring known, fixed BCH
300437aa565SIvan Djelic	  parameters.
301437aa565SIvan Djelic
302437aa565SIvan Djelicconfig BCH_CONST_M
303437aa565SIvan Djelic	int
304437aa565SIvan Djelic	range 5 15
305437aa565SIvan Djelic	help
306437aa565SIvan Djelic	  Constant value for Galois field order 'm'. If 'k' is the
307437aa565SIvan Djelic	  number of data bits to protect, 'm' should be chosen such
308437aa565SIvan Djelic	  that (k + m*t) <= 2**m - 1.
309437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
310437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
311437aa565SIvan Djelic
312437aa565SIvan Djelicconfig BCH_CONST_T
313437aa565SIvan Djelic	int
314437aa565SIvan Djelic	help
315437aa565SIvan Djelic	  Constant value for error correction capability in bits 't'.
316437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
317437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
318437aa565SIvan Djelic
319437aa565SIvan Djelic#
320f7704347SDavid S. Miller# Textsearch support is select'ed if needed
321f7704347SDavid S. Miller#
3222de4ff7bSThomas Grafconfig TEXTSEARCH
323f7704347SDavid S. Miller	boolean
3241da177e4SLinus Torvalds
325df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
326f7704347SDavid S. Miller	tristate
327df3fb93aSThomas Graf
3288082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
32929cb9f9cSDavid S. Miller	tristate
3308082e4edSPablo Neira Ayuso
3316408f79cSThomas Grafconfig TEXTSEARCH_FSM
332f7704347SDavid S. Miller	tristate
3336408f79cSThomas Graf
3345db53f3eSJoern Engelconfig BTREE
3355db53f3eSJoern Engel	boolean
3365db53f3eSJoern Engel
337a88cc108SChris Wilsonconfig INTERVAL_TREE
338a88cc108SChris Wilson	boolean
339a88cc108SChris Wilson	help
340a88cc108SChris Wilson	  Simple, embeddable, interval-tree. Can find the start of an
341a88cc108SChris Wilson	  overlapping range in log(n) time and then iterate over all
342a88cc108SChris Wilson	  overlapping nodes. The algorithm is implemented as an
343a88cc108SChris Wilson	  augmented rbtree.
344a88cc108SChris Wilson
345a88cc108SChris Wilson	  See:
346a88cc108SChris Wilson
347a88cc108SChris Wilson		Documentation/rbtree.txt
348a88cc108SChris Wilson
349a88cc108SChris Wilson	  for more information.
350a88cc108SChris Wilson
3513cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY
3523cb98950SDavid Howells	bool
3533cb98950SDavid Howells	help
3543cb98950SDavid Howells	  Generic associative array.  Can be searched and iterated over whilst
3553cb98950SDavid Howells	  it is being modified.  It is also reasonably quick to search and
3563cb98950SDavid Howells	  modify.  The algorithms are non-recursive, and the trees are highly
3573cb98950SDavid Howells	  capacious.
3583cb98950SDavid Howells
3593cb98950SDavid Howells	  See:
3603cb98950SDavid Howells
3613cb98950SDavid Howells		Documentation/assoc_array.txt
3623cb98950SDavid Howells
3633cb98950SDavid Howells	  for more information.
3643cb98950SDavid Howells
3655ea81769SAl Viroconfig HAS_IOMEM
366ee36c2bfSAl Viro	boolean
3675ea81769SAl Viro	depends on !NO_IOMEM
368087fafd1SRichard Weinberger	select GENERIC_IO
3695ea81769SAl Viro	default y
3705ea81769SAl Viro
371ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP
3725ea81769SAl Viro	boolean
373ce816fa8SUwe Kleine-König	depends on HAS_IOMEM && !NO_IOPORT_MAP
374ee36c2bfSAl Viro	default y
375ee36c2bfSAl Viro
376411f0f3eSHeiko Carstensconfig HAS_DMA
377411f0f3eSHeiko Carstens	boolean
378411f0f3eSHeiko Carstens	depends on !NO_DMA
379411f0f3eSHeiko Carstens	default y
380411f0f3eSHeiko Carstens
381928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
382928923c7SGeert Uytterhoeven	bool
383928923c7SGeert Uytterhoeven
384aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
385aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
386aab46da0SRusty Russell	help
387aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
388aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
389aab46da0SRusty Russell	  stack overflow.
390aab46da0SRusty Russell
3918c384cdeSRusty Russellconfig DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
3928c384cdeSRusty Russell       bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
393525c1f92SKees Cook       depends on BROKEN
3948c384cdeSRusty Russell
395c39649c3SBen Hutchingsconfig CPU_RMAP
396c39649c3SBen Hutchings	bool
397c39649c3SBen Hutchings	depends on SMP
398c39649c3SBen Hutchings
39975957ba3STom Herbertconfig DQL
40075957ba3STom Herbert	bool
40175957ba3STom Herbert
402b0125085SGeorge Spelvinconfig GLOB
403b0125085SGeorge Spelvin	bool
404b0125085SGeorge Spelvin#	This actually supports modular compilation, but the module overhead
405b0125085SGeorge Spelvin#	is ridiculous for the amount of code involved.	Until an out-of-tree
406b0125085SGeorge Spelvin#	driver asks for it, we'll just link it directly it into the kernel
407b0125085SGeorge Spelvin#	when required.  Since we're ignoring out-of-tree users,	there's also
408b0125085SGeorge Spelvin#	no need bother prompting for a manual decision:
409b0125085SGeorge Spelvin#	prompt "glob_match() function"
410b0125085SGeorge Spelvin	help
411b0125085SGeorge Spelvin	  This option provides a glob_match function for performing
412b0125085SGeorge Spelvin	  simple text pattern matching.  It originated in the ATA code
413b0125085SGeorge Spelvin	  to blacklist particular drive models, but other device drivers
414b0125085SGeorge Spelvin	  may need similar functionality.
415b0125085SGeorge Spelvin
416b0125085SGeorge Spelvin	  All drivers in the Linux kernel tree that require this function
417b0125085SGeorge Spelvin	  should automatically select this option.  Say N unless you
418b0125085SGeorge Spelvin	  are compiling an out-of tree driver which tells you that it
419b0125085SGeorge Spelvin	  depends on this.
420b0125085SGeorge Spelvin
4215f9be824SGeorge Spelvinconfig GLOB_SELFTEST
4225f9be824SGeorge Spelvin	bool "glob self-test on init"
4235f9be824SGeorge Spelvin	default n
4245f9be824SGeorge Spelvin	depends on GLOB
4255f9be824SGeorge Spelvin	help
4265f9be824SGeorge Spelvin	  This option enables a simple self-test of the glob_match
4275f9be824SGeorge Spelvin	  function on startup.	It is primarily useful for people
4285f9be824SGeorge Spelvin	  working on the code to ensure they haven't introduced any
4295f9be824SGeorge Spelvin	  regressions.
4305f9be824SGeorge Spelvin
4315f9be824SGeorge Spelvin	  It only adds a little bit of code and slows kernel boot (or
4325f9be824SGeorge Spelvin	  module load) by a small amount, so you're welcome to play with
4335f9be824SGeorge Spelvin	  it, but you probably don't need it.
4345f9be824SGeorge Spelvin
435e9cc8bddSGeert Uytterhoeven#
436e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed
437e9cc8bddSGeert Uytterhoeven#
438e9cc8bddSGeert Uytterhoevenconfig NLATTR
439e9cc8bddSGeert Uytterhoeven	bool
440e9cc8bddSGeert Uytterhoeven
44109d4e0edSPaul Mackerras#
44209d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed
44309d4e0edSPaul Mackerras#
44409d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64
44509d4e0edSPaul Mackerras       bool
44609d4e0edSPaul Mackerras
4477463449bSCatalin Marinasconfig ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
4487463449bSCatalin Marinas	def_bool y if GENERIC_ATOMIC64
4497463449bSCatalin Marinas
450b411b363SPhilipp Reisnerconfig LRU_CACHE
451b411b363SPhilipp Reisner	tristate
452b411b363SPhilipp Reisner
453c5485a7eSBruno Randolfconfig AVERAGE
454a7a9a24dSMichael Buesch	bool "Averaging functions"
455a7a9a24dSMichael Buesch	help
456a7a9a24dSMichael Buesch	  This option is provided for the case where no in-kernel-tree
457a7a9a24dSMichael Buesch	  modules require averaging functions, but a module built outside
458a7a9a24dSMichael Buesch	  the kernel tree does. Such modules that use library averaging
459a7a9a24dSMichael Buesch	  functions require Y here.
460a7a9a24dSMichael Buesch
461a7a9a24dSMichael Buesch	  If unsure, say N.
462c5485a7eSBruno Randolf
463c6df4b17SDavid Millerconfig CLZ_TAB
464c6df4b17SDavid Miller	bool
465c6df4b17SDavid Miller
46610f8113eSArend van Sprielconfig CORDIC
467d89ce936SMichael Witten	tristate "CORDIC algorithm"
46810f8113eSArend van Spriel	help
469435a95c5SMichael Witten	  This option provides an implementation of the CORDIC algorithm;
470435a95c5SMichael Witten	  calculations are in fixed point. Module will be called cordic.
47110f8113eSArend van Spriel
4729c1c21a0SAneesh Vconfig DDR
4739c1c21a0SAneesh V	bool "JEDEC DDR data"
4749c1c21a0SAneesh V	help
4759c1c21a0SAneesh V	  Data from JEDEC specs for DDR SDRAM memories,
4769c1c21a0SAneesh V	  particularly the AC timing parameters and addressing
4779c1c21a0SAneesh V	  information. This data is useful for drivers handling
4789c1c21a0SAneesh V	  DDR SDRAM controllers.
4799c1c21a0SAneesh V
480d9c46b18SDmitry Kasatkinconfig MPILIB
4812e5f094bSDmitry Kasatkin	tristate
482c6df4b17SDavid Miller	select CLZ_TAB
483d9c46b18SDmitry Kasatkin	help
484d9c46b18SDmitry Kasatkin	  Multiprecision maths library from GnuPG.
485d9c46b18SDmitry Kasatkin	  It is used to implement RSA digital signature verification,
486d9c46b18SDmitry Kasatkin	  which is used by IMA/EVM digital signature extension.
487d9c46b18SDmitry Kasatkin
4885e8898e9SDmitry Kasatkinconfig SIGNATURE
4892e5f094bSDmitry Kasatkin	tristate
4900d1f64f6SDmitry Kasatkin	depends on KEYS
4910d1f64f6SDmitry Kasatkin	select CRYPTO
492be440ec7SDmitry Kasatkin	select CRYPTO_SHA1
493051dbb91SDmitry Kasatkin	select MPILIB
494051dbb91SDmitry Kasatkin	help
495051dbb91SDmitry Kasatkin	  Digital signature verification. Currently only RSA is supported.
496051dbb91SDmitry Kasatkin	  Implementation is done using GnuPG MPI library
497051dbb91SDmitry Kasatkin
498ab253839SDavid Daney#
499ab253839SDavid Daney# libfdt files, only selected if needed.
500ab253839SDavid Daney#
501ab253839SDavid Daneyconfig LIBFDT
502ab253839SDavid Daney	bool
503ab253839SDavid Daney
504a77ad6eaSDavid Howellsconfig OID_REGISTRY
505a77ad6eaSDavid Howells	tristate
506a77ad6eaSDavid Howells	help
507a77ad6eaSDavid Howells	  Enable fast lookup object identifier registry.
508a77ad6eaSDavid Howells
5090635eb8aSMatthew Garrettconfig UCS2_STRING
5100635eb8aSMatthew Garrett        tristate
5110635eb8aSMatthew Garrett
512ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig"
513ee89bd6bSGeert Uytterhoeven
514308c09f1SLaura Abbott#
515308c09f1SLaura Abbott# sg chaining option
516308c09f1SLaura Abbott#
517308c09f1SLaura Abbott
518308c09f1SLaura Abbottconfig ARCH_HAS_SG_CHAIN
519308c09f1SLaura Abbott	def_bool n
520308c09f1SLaura Abbott
5212de4ff7bSThomas Grafendmenu
522