xref: /openbmc/linux/lib/Kconfig (revision b0125085)
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
541da177e4SLinus Torvaldsconfig CRC_CCITT
551da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
561da177e4SLinus Torvalds	help
571da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
581da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
591da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
601da177e4SLinus Torvalds	  functions require M here.
611da177e4SLinus Torvalds
627657ec1fSEvgeniy Polyakovconfig CRC16
637657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
647657ec1fSEvgeniy Polyakov	help
657657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
667657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
677657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
687657ec1fSEvgeniy Polyakov	  functions require M here.
697657ec1fSEvgeniy Polyakov
70f11f594eSMartin K. Petersenconfig CRC_T10DIF
71f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
7268411521SHerbert Xu	select CRYPTO
7368411521SHerbert Xu	select CRYPTO_CRCT10DIF
74f11f594eSMartin K. Petersen	help
75f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
76f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
77f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
78f11f594eSMartin K. Petersen
793e7cbae7SIvo van Doornconfig CRC_ITU_T
803e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
813e7cbae7SIvo van Doorn	help
823e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
833e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
843e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
853e7cbae7SIvo van Doorn	  functions require M here.
863e7cbae7SIvo van Doorn
871da177e4SLinus Torvaldsconfig CRC32
8846c5801eSDarrick J. Wong	tristate "CRC32/CRC32c functions"
891da177e4SLinus Torvalds	default y
90906d66dfSAkinobu Mita	select BITREVERSE
911da177e4SLinus Torvalds	help
921da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
9346c5801eSDarrick J. Wong	  modules require CRC32/CRC32c functions, but a module built outside
9446c5801eSDarrick J. Wong	  the kernel tree does. Such modules that use library CRC32/CRC32c
9546c5801eSDarrick J. Wong	  functions require M here.
961da177e4SLinus Torvalds
973863ef31SBob Pearsonconfig CRC32_SELFTEST
983863ef31SBob Pearson	bool "CRC32 perform self test on init"
993863ef31SBob Pearson	default n
1003863ef31SBob Pearson	depends on CRC32
1013863ef31SBob Pearson	help
1023863ef31SBob Pearson	  This option enables the CRC32 library functions to perform a
1033863ef31SBob Pearson	  self test on initialization. The self test computes crc32_le
1043863ef31SBob Pearson	  and crc32_be over byte strings with random alignment and length
1053863ef31SBob Pearson	  and computes the total elapsed time and number of bytes processed.
1063863ef31SBob Pearson
1075cde7656SDarrick J. Wongchoice
1085cde7656SDarrick J. Wong	prompt "CRC32 implementation"
1095cde7656SDarrick J. Wong	depends on CRC32
1105cde7656SDarrick J. Wong	default CRC32_SLICEBY8
11182edb4baSDarrick J. Wong	help
11282edb4baSDarrick J. Wong	  This option allows a kernel builder to override the default choice
11382edb4baSDarrick J. Wong	  of CRC32 algorithm.  Choose the default ("slice by 8") unless you
11482edb4baSDarrick J. Wong	  know that you need one of the others.
1155cde7656SDarrick J. Wong
1165cde7656SDarrick J. Wongconfig CRC32_SLICEBY8
1175cde7656SDarrick J. Wong	bool "Slice by 8 bytes"
1185cde7656SDarrick J. Wong	help
1195cde7656SDarrick J. Wong	  Calculate checksum 8 bytes at a time with a clever slicing algorithm.
1205cde7656SDarrick J. Wong	  This is the fastest algorithm, but comes with a 8KiB lookup table.
1215cde7656SDarrick J. Wong	  Most modern processors have enough cache to hold this table without
1225cde7656SDarrick J. Wong	  thrashing the cache.
1235cde7656SDarrick J. Wong
1245cde7656SDarrick J. Wong	  This is the default implementation choice.  Choose this one unless
1255cde7656SDarrick J. Wong	  you have a good reason not to.
1265cde7656SDarrick J. Wong
1275cde7656SDarrick J. Wongconfig CRC32_SLICEBY4
1285cde7656SDarrick J. Wong	bool "Slice by 4 bytes"
1295cde7656SDarrick J. Wong	help
1305cde7656SDarrick J. Wong	  Calculate checksum 4 bytes at a time with a clever slicing algorithm.
1315cde7656SDarrick J. Wong	  This is a bit slower than slice by 8, but has a smaller 4KiB lookup
1325cde7656SDarrick J. Wong	  table.
1335cde7656SDarrick J. Wong
1345cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1355cde7656SDarrick J. Wong
1365cde7656SDarrick J. Wongconfig CRC32_SARWATE
1375cde7656SDarrick J. Wong	bool "Sarwate's Algorithm (one byte at a time)"
1385cde7656SDarrick J. Wong	help
1395cde7656SDarrick J. Wong	  Calculate checksum a byte at a time using Sarwate's algorithm.  This
1405cde7656SDarrick J. Wong	  is not particularly fast, but has a small 256 byte lookup table.
1415cde7656SDarrick J. Wong
1425cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1435cde7656SDarrick J. Wong
1445cde7656SDarrick J. Wongconfig CRC32_BIT
1455cde7656SDarrick J. Wong	bool "Classic Algorithm (one bit at a time)"
1465cde7656SDarrick J. Wong	help
1475cde7656SDarrick J. Wong	  Calculate checksum one bit at a time.  This is VERY slow, but has
1485cde7656SDarrick J. Wong	  no lookup table.  This is provided as a debugging option.
1495cde7656SDarrick J. Wong
1505cde7656SDarrick J. Wong	  Only choose this option if you are debugging crc32.
1515cde7656SDarrick J. Wong
1525cde7656SDarrick J. Wongendchoice
1535cde7656SDarrick J. Wong
154ad241528SJan Nikitenkoconfig CRC7
155ad241528SJan Nikitenko	tristate "CRC7 functions"
156ad241528SJan Nikitenko	help
157ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
158ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
159ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
160ad241528SJan Nikitenko	  functions require M here.
161ad241528SJan Nikitenko
1621da177e4SLinus Torvaldsconfig LIBCRC32C
1631da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
16493027354SHerbert Xu	select CRYPTO
16569c35efcSHerbert Xu	select CRYPTO_CRC32C
1661da177e4SLinus Torvalds	help
1671da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
1681da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
1691da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
1701da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
1711da177e4SLinus Torvalds	  Module will be libcrc32c.
1721da177e4SLinus Torvalds
1737150962dSArend van Sprielconfig CRC8
1747150962dSArend van Spriel	tristate "CRC8 function"
1757150962dSArend van Spriel	help
1767150962dSArend van Spriel	  This option provides CRC8 function. Drivers may select this
1777150962dSArend van Spriel	  when they need to do cyclic redundancy check according CRC8
1787150962dSArend van Spriel	  algorithm. Module will be called crc8.
1797150962dSArend van Spriel
180e65e1fc2SAl Viroconfig AUDIT_GENERIC
181e65e1fc2SAl Viro	bool
182e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
183e65e1fc2SAl Viro	default y
184e65e1fc2SAl Viro
1854b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC
1864b588411SAKASHI Takahiro	bool
1874b588411SAKASHI Takahiro	default n
1884b588411SAKASHI Takahiro
1894b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC
1904b588411SAKASHI Takahiro	bool
1914b588411SAKASHI Takahiro	depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
1924b588411SAKASHI Takahiro	default y
1934b588411SAKASHI Takahiro
194a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST
195a6a9c0f1SDaniel Borkmann	bool "PRNG perform self test on init"
196a6a9c0f1SDaniel Borkmann	default n
197a6a9c0f1SDaniel Borkmann	help
198a6a9c0f1SDaniel Borkmann	  This option enables the 32 bit PRNG library functions to perform a
199a6a9c0f1SDaniel Borkmann	  self test on initialization.
200a6a9c0f1SDaniel Borkmann
2011da177e4SLinus Torvalds#
2021da177e4SLinus Torvalds# compression support is select'ed if needed
2031da177e4SLinus Torvalds#
2041da177e4SLinus Torvaldsconfig ZLIB_INFLATE
2051da177e4SLinus Torvalds	tristate
2061da177e4SLinus Torvalds
2071da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
2081da177e4SLinus Torvalds	tristate
2091da177e4SLinus Torvalds
21064c70b1cSRichard Purdieconfig LZO_COMPRESS
21164c70b1cSRichard Purdie	tristate
21264c70b1cSRichard Purdie
21364c70b1cSRichard Purdieconfig LZO_DECOMPRESS
21464c70b1cSRichard Purdie	tristate
21564c70b1cSRichard Purdie
216c72ac7a1SChanho Minconfig LZ4_COMPRESS
217c72ac7a1SChanho Min	tristate
218c72ac7a1SChanho Min
219c72ac7a1SChanho Minconfig LZ4HC_COMPRESS
220c72ac7a1SChanho Min	tristate
221c72ac7a1SChanho Min
222e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS
223e76e1fdfSKyungsik Lee	tristate
224e76e1fdfSKyungsik Lee
22524fa0402SLasse Collinsource "lib/xz/Kconfig"
22624fa0402SLasse Collin
2271da177e4SLinus Torvalds#
228c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with
229c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
230c8531ab3SH. Peter Anvin#
231c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP
2327856a16eSH. Peter Anvin	select ZLIB_INFLATE
233c8531ab3SH. Peter Anvin	tristate
234c8531ab3SH. Peter Anvin
235c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2
236c8531ab3SH. Peter Anvin	tristate
237c8531ab3SH. Peter Anvin
238c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA
239c8531ab3SH. Peter Anvin	tristate
240c8531ab3SH. Peter Anvin
2413ebe1243SLasse Collinconfig DECOMPRESS_XZ
2423ebe1243SLasse Collin	select XZ_DEC
2433ebe1243SLasse Collin	tristate
2443ebe1243SLasse Collin
245cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO
246cacb246fSAlbin Tonnerre	select LZO_DECOMPRESS
247cacb246fSAlbin Tonnerre	tristate
248cacb246fSAlbin Tonnerre
249e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4
250e76e1fdfSKyungsik Lee	select LZ4_DECOMPRESS
251e76e1fdfSKyungsik Lee	tristate
252e76e1fdfSKyungsik Lee
253c8531ab3SH. Peter Anvin#
254f14f75b8SJes Sorensen# Generic allocator support is selected if needed
255f14f75b8SJes Sorensen#
256f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
257f14f75b8SJes Sorensen	boolean
258f14f75b8SJes Sorensen
259f14f75b8SJes Sorensen#
2601da177e4SLinus Torvalds# reed solomon support is select'ed if needed
2611da177e4SLinus Torvalds#
2621da177e4SLinus Torvaldsconfig REED_SOLOMON
2631da177e4SLinus Torvalds	tristate
2641da177e4SLinus Torvalds
2651da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
2661da177e4SLinus Torvalds	boolean
2671da177e4SLinus Torvalds
2681da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
2691da177e4SLinus Torvalds	boolean
2701da177e4SLinus Torvalds
2711da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
2721da177e4SLinus Torvalds	boolean
2731da177e4SLinus Torvalds
2741da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
2751da177e4SLinus Torvalds	boolean
2761da177e4SLinus Torvalds
277f7704347SDavid S. Miller#
278437aa565SIvan Djelic# BCH support is selected if needed
279437aa565SIvan Djelic#
280437aa565SIvan Djelicconfig BCH
281437aa565SIvan Djelic	tristate
282437aa565SIvan Djelic
283437aa565SIvan Djelicconfig BCH_CONST_PARAMS
284437aa565SIvan Djelic	boolean
285437aa565SIvan Djelic	help
286437aa565SIvan Djelic	  Drivers may select this option to force specific constant
287437aa565SIvan Djelic	  values for parameters 'm' (Galois field order) and 't'
288437aa565SIvan Djelic	  (error correction capability). Those specific values must
289437aa565SIvan Djelic	  be set by declaring default values for symbols BCH_CONST_M
290437aa565SIvan Djelic	  and BCH_CONST_T.
291437aa565SIvan Djelic	  Doing so will enable extra compiler optimizations,
292437aa565SIvan Djelic	  improving encoding and decoding performance up to 2x for
293437aa565SIvan Djelic	  usual (m,t) values (typically such that m*t < 200).
294437aa565SIvan Djelic	  When this option is selected, the BCH library supports
295437aa565SIvan Djelic	  only a single (m,t) configuration. This is mainly useful
296437aa565SIvan Djelic	  for NAND flash board drivers requiring known, fixed BCH
297437aa565SIvan Djelic	  parameters.
298437aa565SIvan Djelic
299437aa565SIvan Djelicconfig BCH_CONST_M
300437aa565SIvan Djelic	int
301437aa565SIvan Djelic	range 5 15
302437aa565SIvan Djelic	help
303437aa565SIvan Djelic	  Constant value for Galois field order 'm'. If 'k' is the
304437aa565SIvan Djelic	  number of data bits to protect, 'm' should be chosen such
305437aa565SIvan Djelic	  that (k + m*t) <= 2**m - 1.
306437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
307437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
308437aa565SIvan Djelic
309437aa565SIvan Djelicconfig BCH_CONST_T
310437aa565SIvan Djelic	int
311437aa565SIvan Djelic	help
312437aa565SIvan Djelic	  Constant value for error correction capability in bits 't'.
313437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
314437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
315437aa565SIvan Djelic
316437aa565SIvan Djelic#
317f7704347SDavid S. Miller# Textsearch support is select'ed if needed
318f7704347SDavid S. Miller#
3192de4ff7bSThomas Grafconfig TEXTSEARCH
320f7704347SDavid S. Miller	boolean
3211da177e4SLinus Torvalds
322df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
323f7704347SDavid S. Miller	tristate
324df3fb93aSThomas Graf
3258082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
32629cb9f9cSDavid S. Miller	tristate
3278082e4edSPablo Neira Ayuso
3286408f79cSThomas Grafconfig TEXTSEARCH_FSM
329f7704347SDavid S. Miller	tristate
3306408f79cSThomas Graf
3315db53f3eSJoern Engelconfig BTREE
3325db53f3eSJoern Engel	boolean
3335db53f3eSJoern Engel
334a88cc108SChris Wilsonconfig INTERVAL_TREE
335a88cc108SChris Wilson	boolean
336a88cc108SChris Wilson	help
337a88cc108SChris Wilson	  Simple, embeddable, interval-tree. Can find the start of an
338a88cc108SChris Wilson	  overlapping range in log(n) time and then iterate over all
339a88cc108SChris Wilson	  overlapping nodes. The algorithm is implemented as an
340a88cc108SChris Wilson	  augmented rbtree.
341a88cc108SChris Wilson
342a88cc108SChris Wilson	  See:
343a88cc108SChris Wilson
344a88cc108SChris Wilson		Documentation/rbtree.txt
345a88cc108SChris Wilson
346a88cc108SChris Wilson	  for more information.
347a88cc108SChris Wilson
3483cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY
3493cb98950SDavid Howells	bool
3503cb98950SDavid Howells	help
3513cb98950SDavid Howells	  Generic associative array.  Can be searched and iterated over whilst
3523cb98950SDavid Howells	  it is being modified.  It is also reasonably quick to search and
3533cb98950SDavid Howells	  modify.  The algorithms are non-recursive, and the trees are highly
3543cb98950SDavid Howells	  capacious.
3553cb98950SDavid Howells
3563cb98950SDavid Howells	  See:
3573cb98950SDavid Howells
3583cb98950SDavid Howells		Documentation/assoc_array.txt
3593cb98950SDavid Howells
3603cb98950SDavid Howells	  for more information.
3613cb98950SDavid Howells
3625ea81769SAl Viroconfig HAS_IOMEM
363ee36c2bfSAl Viro	boolean
3645ea81769SAl Viro	depends on !NO_IOMEM
365087fafd1SRichard Weinberger	select GENERIC_IO
3665ea81769SAl Viro	default y
3675ea81769SAl Viro
368ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP
3695ea81769SAl Viro	boolean
370ce816fa8SUwe Kleine-König	depends on HAS_IOMEM && !NO_IOPORT_MAP
371ee36c2bfSAl Viro	default y
372ee36c2bfSAl Viro
373411f0f3eSHeiko Carstensconfig HAS_DMA
374411f0f3eSHeiko Carstens	boolean
375411f0f3eSHeiko Carstens	depends on !NO_DMA
376411f0f3eSHeiko Carstens	default y
377411f0f3eSHeiko Carstens
378928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
379928923c7SGeert Uytterhoeven	bool
380928923c7SGeert Uytterhoeven
381aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
382aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
383aab46da0SRusty Russell	help
384aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
385aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
386aab46da0SRusty Russell	  stack overflow.
387aab46da0SRusty Russell
3888c384cdeSRusty Russellconfig DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
3898c384cdeSRusty Russell       bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
390525c1f92SKees Cook       depends on BROKEN
3918c384cdeSRusty Russell
392c39649c3SBen Hutchingsconfig CPU_RMAP
393c39649c3SBen Hutchings	bool
394c39649c3SBen Hutchings	depends on SMP
395c39649c3SBen Hutchings
39675957ba3STom Herbertconfig DQL
39775957ba3STom Herbert	bool
39875957ba3STom Herbert
399*b0125085SGeorge Spelvinconfig GLOB
400*b0125085SGeorge Spelvin	bool
401*b0125085SGeorge Spelvin#	This actually supports modular compilation, but the module overhead
402*b0125085SGeorge Spelvin#	is ridiculous for the amount of code involved.	Until an out-of-tree
403*b0125085SGeorge Spelvin#	driver asks for it, we'll just link it directly it into the kernel
404*b0125085SGeorge Spelvin#	when required.  Since we're ignoring out-of-tree users,	there's also
405*b0125085SGeorge Spelvin#	no need bother prompting for a manual decision:
406*b0125085SGeorge Spelvin#	prompt "glob_match() function"
407*b0125085SGeorge Spelvin	help
408*b0125085SGeorge Spelvin	  This option provides a glob_match function for performing
409*b0125085SGeorge Spelvin	  simple text pattern matching.  It originated in the ATA code
410*b0125085SGeorge Spelvin	  to blacklist particular drive models, but other device drivers
411*b0125085SGeorge Spelvin	  may need similar functionality.
412*b0125085SGeorge Spelvin
413*b0125085SGeorge Spelvin	  All drivers in the Linux kernel tree that require this function
414*b0125085SGeorge Spelvin	  should automatically select this option.  Say N unless you
415*b0125085SGeorge Spelvin	  are compiling an out-of tree driver which tells you that it
416*b0125085SGeorge Spelvin	  depends on this.
417*b0125085SGeorge Spelvin
418e9cc8bddSGeert Uytterhoeven#
419e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed
420e9cc8bddSGeert Uytterhoeven#
421e9cc8bddSGeert Uytterhoevenconfig NLATTR
422e9cc8bddSGeert Uytterhoeven	bool
423e9cc8bddSGeert Uytterhoeven
42409d4e0edSPaul Mackerras#
42509d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed
42609d4e0edSPaul Mackerras#
42709d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64
42809d4e0edSPaul Mackerras       bool
42909d4e0edSPaul Mackerras
4307463449bSCatalin Marinasconfig ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
4317463449bSCatalin Marinas	def_bool y if GENERIC_ATOMIC64
4327463449bSCatalin Marinas
433b411b363SPhilipp Reisnerconfig LRU_CACHE
434b411b363SPhilipp Reisner	tristate
435b411b363SPhilipp Reisner
436c5485a7eSBruno Randolfconfig AVERAGE
437a7a9a24dSMichael Buesch	bool "Averaging functions"
438a7a9a24dSMichael Buesch	help
439a7a9a24dSMichael Buesch	  This option is provided for the case where no in-kernel-tree
440a7a9a24dSMichael Buesch	  modules require averaging functions, but a module built outside
441a7a9a24dSMichael Buesch	  the kernel tree does. Such modules that use library averaging
442a7a9a24dSMichael Buesch	  functions require Y here.
443a7a9a24dSMichael Buesch
444a7a9a24dSMichael Buesch	  If unsure, say N.
445c5485a7eSBruno Randolf
446c6df4b17SDavid Millerconfig CLZ_TAB
447c6df4b17SDavid Miller	bool
448c6df4b17SDavid Miller
44910f8113eSArend van Sprielconfig CORDIC
450d89ce936SMichael Witten	tristate "CORDIC algorithm"
45110f8113eSArend van Spriel	help
452435a95c5SMichael Witten	  This option provides an implementation of the CORDIC algorithm;
453435a95c5SMichael Witten	  calculations are in fixed point. Module will be called cordic.
45410f8113eSArend van Spriel
4559c1c21a0SAneesh Vconfig DDR
4569c1c21a0SAneesh V	bool "JEDEC DDR data"
4579c1c21a0SAneesh V	help
4589c1c21a0SAneesh V	  Data from JEDEC specs for DDR SDRAM memories,
4599c1c21a0SAneesh V	  particularly the AC timing parameters and addressing
4609c1c21a0SAneesh V	  information. This data is useful for drivers handling
4619c1c21a0SAneesh V	  DDR SDRAM controllers.
4629c1c21a0SAneesh V
463d9c46b18SDmitry Kasatkinconfig MPILIB
4642e5f094bSDmitry Kasatkin	tristate
465c6df4b17SDavid Miller	select CLZ_TAB
466d9c46b18SDmitry Kasatkin	help
467d9c46b18SDmitry Kasatkin	  Multiprecision maths library from GnuPG.
468d9c46b18SDmitry Kasatkin	  It is used to implement RSA digital signature verification,
469d9c46b18SDmitry Kasatkin	  which is used by IMA/EVM digital signature extension.
470d9c46b18SDmitry Kasatkin
4715e8898e9SDmitry Kasatkinconfig SIGNATURE
4722e5f094bSDmitry Kasatkin	tristate
4730d1f64f6SDmitry Kasatkin	depends on KEYS
4740d1f64f6SDmitry Kasatkin	select CRYPTO
475be440ec7SDmitry Kasatkin	select CRYPTO_SHA1
476051dbb91SDmitry Kasatkin	select MPILIB
477051dbb91SDmitry Kasatkin	help
478051dbb91SDmitry Kasatkin	  Digital signature verification. Currently only RSA is supported.
479051dbb91SDmitry Kasatkin	  Implementation is done using GnuPG MPI library
480051dbb91SDmitry Kasatkin
481ab253839SDavid Daney#
482ab253839SDavid Daney# libfdt files, only selected if needed.
483ab253839SDavid Daney#
484ab253839SDavid Daneyconfig LIBFDT
485ab253839SDavid Daney	bool
486ab253839SDavid Daney
487a77ad6eaSDavid Howellsconfig OID_REGISTRY
488a77ad6eaSDavid Howells	tristate
489a77ad6eaSDavid Howells	help
490a77ad6eaSDavid Howells	  Enable fast lookup object identifier registry.
491a77ad6eaSDavid Howells
4920635eb8aSMatthew Garrettconfig UCS2_STRING
4930635eb8aSMatthew Garrett        tristate
4940635eb8aSMatthew Garrett
495ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig"
496ee89bd6bSGeert Uytterhoeven
4972de4ff7bSThomas Grafendmenu
498