xref: /openbmc/linux/lib/Kconfig (revision 7844572c)
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
16556d2f05SYalin Wangconfig HAVE_ARCH_BITREVERSE
17841c0090SChristoph Jaeger	bool
18556d2f05SYalin Wang	default n
19556d2f05SYalin Wang	depends on BITREVERSE
20556d2f05SYalin Wang	help
219e522c0dSAndrew Morton	  This option enables the use of hardware bit-reversal instructions on
229e522c0dSAndrew Morton	  architectures which support such operations.
23556d2f05SYalin Wang
248759ef32SOskar Schirmerconfig RATIONAL
256341e62bSChristoph Jaeger	bool
268759ef32SOskar Schirmer
272922585bSDavid S. Millerconfig GENERIC_STRNCPY_FROM_USER
282922585bSDavid S. Miller	bool
292922585bSDavid S. Miller
30a08c5356SLinus Torvaldsconfig GENERIC_STRNLEN_USER
31a08c5356SLinus Torvalds	bool
32a08c5356SLinus Torvalds
334cd5773aSAndy Shevchenkoconfig GENERIC_NET_UTILS
344cd5773aSAndy Shevchenko	bool
354cd5773aSAndy Shevchenko
3619870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT
379ba16087SJan Beulich	bool
3819870defSAlexander van Heukelum
39b923650bSMichael S. Tsirkinconfig NO_GENERIC_PCI_IOPORT_MAP
40b923650bSMichael S. Tsirkin	bool
41b923650bSMichael S. Tsirkin
4266eab4dfSMichael S. Tsirkinconfig GENERIC_PCI_IOMAP
4366eab4dfSMichael S. Tsirkin	bool
4466eab4dfSMichael S. Tsirkin
454673ca8eSMichael S. Tsirkinconfig GENERIC_IOMAP
464673ca8eSMichael S. Tsirkin	bool
4766eab4dfSMichael S. Tsirkin	select GENERIC_PCI_IOMAP
484673ca8eSMichael S. Tsirkin
49087fafd1SRichard Weinbergerconfig GENERIC_IO
506341e62bSChristoph Jaeger	bool
51087fafd1SRichard Weinberger	default n
52087fafd1SRichard Weinberger
534ccf4beaSWolfram Sangconfig STMP_DEVICE
544ccf4beaSWolfram Sang	bool
554ccf4beaSWolfram Sang
56bc08b449SLinus Torvaldsconfig ARCH_USE_CMPXCHG_LOCKREF
57bc08b449SLinus Torvalds	bool
58bc08b449SLinus Torvalds
5972d93104SLinus Torvaldsconfig ARCH_HAS_FAST_MULTIPLIER
6072d93104SLinus Torvalds	bool
6172d93104SLinus Torvalds
621da177e4SLinus Torvaldsconfig CRC_CCITT
631da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
641da177e4SLinus Torvalds	help
651da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
661da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
671da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
681da177e4SLinus Torvalds	  functions require M here.
691da177e4SLinus Torvalds
707657ec1fSEvgeniy Polyakovconfig CRC16
717657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
727657ec1fSEvgeniy Polyakov	help
737657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
747657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
757657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
767657ec1fSEvgeniy Polyakov	  functions require M here.
777657ec1fSEvgeniy Polyakov
78f11f594eSMartin K. Petersenconfig CRC_T10DIF
79f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
8068411521SHerbert Xu	select CRYPTO
8168411521SHerbert Xu	select CRYPTO_CRCT10DIF
82f11f594eSMartin K. Petersen	help
83f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
84f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
85f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
86f11f594eSMartin K. Petersen
873e7cbae7SIvo van Doornconfig CRC_ITU_T
883e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
893e7cbae7SIvo van Doorn	help
903e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
913e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
923e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
933e7cbae7SIvo van Doorn	  functions require M here.
943e7cbae7SIvo van Doorn
951da177e4SLinus Torvaldsconfig CRC32
9646c5801eSDarrick J. Wong	tristate "CRC32/CRC32c functions"
971da177e4SLinus Torvalds	default y
98906d66dfSAkinobu Mita	select BITREVERSE
991da177e4SLinus Torvalds	help
1001da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
10146c5801eSDarrick J. Wong	  modules require CRC32/CRC32c functions, but a module built outside
10246c5801eSDarrick J. Wong	  the kernel tree does. Such modules that use library CRC32/CRC32c
10346c5801eSDarrick J. Wong	  functions require M here.
1041da177e4SLinus Torvalds
1053863ef31SBob Pearsonconfig CRC32_SELFTEST
1063863ef31SBob Pearson	bool "CRC32 perform self test on init"
1073863ef31SBob Pearson	default n
1083863ef31SBob Pearson	depends on CRC32
1093863ef31SBob Pearson	help
1103863ef31SBob Pearson	  This option enables the CRC32 library functions to perform a
1113863ef31SBob Pearson	  self test on initialization. The self test computes crc32_le
1123863ef31SBob Pearson	  and crc32_be over byte strings with random alignment and length
1133863ef31SBob Pearson	  and computes the total elapsed time and number of bytes processed.
1143863ef31SBob Pearson
1155cde7656SDarrick J. Wongchoice
1165cde7656SDarrick J. Wong	prompt "CRC32 implementation"
1175cde7656SDarrick J. Wong	depends on CRC32
1185cde7656SDarrick J. Wong	default CRC32_SLICEBY8
11982edb4baSDarrick J. Wong	help
12082edb4baSDarrick J. Wong	  This option allows a kernel builder to override the default choice
12182edb4baSDarrick J. Wong	  of CRC32 algorithm.  Choose the default ("slice by 8") unless you
12282edb4baSDarrick J. Wong	  know that you need one of the others.
1235cde7656SDarrick J. Wong
1245cde7656SDarrick J. Wongconfig CRC32_SLICEBY8
1255cde7656SDarrick J. Wong	bool "Slice by 8 bytes"
1265cde7656SDarrick J. Wong	help
1275cde7656SDarrick J. Wong	  Calculate checksum 8 bytes at a time with a clever slicing algorithm.
1285cde7656SDarrick J. Wong	  This is the fastest algorithm, but comes with a 8KiB lookup table.
1295cde7656SDarrick J. Wong	  Most modern processors have enough cache to hold this table without
1305cde7656SDarrick J. Wong	  thrashing the cache.
1315cde7656SDarrick J. Wong
1325cde7656SDarrick J. Wong	  This is the default implementation choice.  Choose this one unless
1335cde7656SDarrick J. Wong	  you have a good reason not to.
1345cde7656SDarrick J. Wong
1355cde7656SDarrick J. Wongconfig CRC32_SLICEBY4
1365cde7656SDarrick J. Wong	bool "Slice by 4 bytes"
1375cde7656SDarrick J. Wong	help
1385cde7656SDarrick J. Wong	  Calculate checksum 4 bytes at a time with a clever slicing algorithm.
1395cde7656SDarrick J. Wong	  This is a bit slower than slice by 8, but has a smaller 4KiB lookup
1405cde7656SDarrick J. Wong	  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_SARWATE
1455cde7656SDarrick J. Wong	bool "Sarwate's Algorithm (one byte at a time)"
1465cde7656SDarrick J. Wong	help
1475cde7656SDarrick J. Wong	  Calculate checksum a byte at a time using Sarwate's algorithm.  This
1485cde7656SDarrick J. Wong	  is not particularly fast, but has a small 256 byte lookup table.
1495cde7656SDarrick J. Wong
1505cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1515cde7656SDarrick J. Wong
1525cde7656SDarrick J. Wongconfig CRC32_BIT
1535cde7656SDarrick J. Wong	bool "Classic Algorithm (one bit at a time)"
1545cde7656SDarrick J. Wong	help
1555cde7656SDarrick J. Wong	  Calculate checksum one bit at a time.  This is VERY slow, but has
1565cde7656SDarrick J. Wong	  no lookup table.  This is provided as a debugging option.
1575cde7656SDarrick J. Wong
1585cde7656SDarrick J. Wong	  Only choose this option if you are debugging crc32.
1595cde7656SDarrick J. Wong
1605cde7656SDarrick J. Wongendchoice
1615cde7656SDarrick J. Wong
162ad241528SJan Nikitenkoconfig CRC7
163ad241528SJan Nikitenko	tristate "CRC7 functions"
164ad241528SJan Nikitenko	help
165ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
166ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
167ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
168ad241528SJan Nikitenko	  functions require M here.
169ad241528SJan Nikitenko
1701da177e4SLinus Torvaldsconfig LIBCRC32C
1711da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
17293027354SHerbert Xu	select CRYPTO
17369c35efcSHerbert Xu	select CRYPTO_CRC32C
1741da177e4SLinus Torvalds	help
1751da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
1761da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
1771da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
1781da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
1791da177e4SLinus Torvalds	  Module will be libcrc32c.
1801da177e4SLinus Torvalds
1817150962dSArend van Sprielconfig CRC8
1827150962dSArend van Spriel	tristate "CRC8 function"
1837150962dSArend van Spriel	help
1847150962dSArend van Spriel	  This option provides CRC8 function. Drivers may select this
1857150962dSArend van Spriel	  when they need to do cyclic redundancy check according CRC8
1867150962dSArend van Spriel	  algorithm. Module will be called crc8.
1877150962dSArend van Spriel
188e65e1fc2SAl Viroconfig AUDIT_GENERIC
189e65e1fc2SAl Viro	bool
190e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
191e65e1fc2SAl Viro	default y
192e65e1fc2SAl Viro
1934b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC
1944b588411SAKASHI Takahiro	bool
1954b588411SAKASHI Takahiro	default n
1964b588411SAKASHI Takahiro
1974b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC
1984b588411SAKASHI Takahiro	bool
1994b588411SAKASHI Takahiro	depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
2004b588411SAKASHI Takahiro	default y
2014b588411SAKASHI Takahiro
202a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST
203a6a9c0f1SDaniel Borkmann	bool "PRNG perform self test on init"
204a6a9c0f1SDaniel Borkmann	default n
205a6a9c0f1SDaniel Borkmann	help
206a6a9c0f1SDaniel Borkmann	  This option enables the 32 bit PRNG library functions to perform a
207a6a9c0f1SDaniel Borkmann	  self test on initialization.
208a6a9c0f1SDaniel Borkmann
2091da177e4SLinus Torvalds#
2101da177e4SLinus Torvalds# compression support is select'ed if needed
2111da177e4SLinus Torvalds#
2122da572c9SDan Streetmanconfig 842_COMPRESS
2135b571677SArnd Bergmann	select CRC32
2142da572c9SDan Streetman	tristate
2152da572c9SDan Streetman
2162da572c9SDan Streetmanconfig 842_DECOMPRESS
2175b571677SArnd Bergmann	select CRC32
2182da572c9SDan Streetman	tristate
2192da572c9SDan Streetman
2201da177e4SLinus Torvaldsconfig ZLIB_INFLATE
2211da177e4SLinus Torvalds	tristate
2221da177e4SLinus Torvalds
2231da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
2241da177e4SLinus Torvalds	tristate
2251fd4e5c3SAndrew Morton	select BITREVERSE
2261da177e4SLinus Torvalds
22764c70b1cSRichard Purdieconfig LZO_COMPRESS
22864c70b1cSRichard Purdie	tristate
22964c70b1cSRichard Purdie
23064c70b1cSRichard Purdieconfig LZO_DECOMPRESS
23164c70b1cSRichard Purdie	tristate
23264c70b1cSRichard Purdie
233c72ac7a1SChanho Minconfig LZ4_COMPRESS
234c72ac7a1SChanho Min	tristate
235c72ac7a1SChanho Min
236c72ac7a1SChanho Minconfig LZ4HC_COMPRESS
237c72ac7a1SChanho Min	tristate
238c72ac7a1SChanho Min
239e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS
240e76e1fdfSKyungsik Lee	tristate
241e76e1fdfSKyungsik Lee
24224fa0402SLasse Collinsource "lib/xz/Kconfig"
24324fa0402SLasse Collin
2441da177e4SLinus Torvalds#
245c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with
246c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
247c8531ab3SH. Peter Anvin#
248c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP
2497856a16eSH. Peter Anvin	select ZLIB_INFLATE
250c8531ab3SH. Peter Anvin	tristate
251c8531ab3SH. Peter Anvin
252c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2
253c8531ab3SH. Peter Anvin	tristate
254c8531ab3SH. Peter Anvin
255c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA
256c8531ab3SH. Peter Anvin	tristate
257c8531ab3SH. Peter Anvin
2583ebe1243SLasse Collinconfig DECOMPRESS_XZ
2593ebe1243SLasse Collin	select XZ_DEC
2603ebe1243SLasse Collin	tristate
2613ebe1243SLasse Collin
262cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO
263cacb246fSAlbin Tonnerre	select LZO_DECOMPRESS
264cacb246fSAlbin Tonnerre	tristate
265cacb246fSAlbin Tonnerre
266e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4
267e76e1fdfSKyungsik Lee	select LZ4_DECOMPRESS
268e76e1fdfSKyungsik Lee	tristate
269e76e1fdfSKyungsik Lee
270c8531ab3SH. Peter Anvin#
271f14f75b8SJes Sorensen# Generic allocator support is selected if needed
272f14f75b8SJes Sorensen#
273f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
2746341e62bSChristoph Jaeger	bool
275f14f75b8SJes Sorensen
276f14f75b8SJes Sorensen#
2771da177e4SLinus Torvalds# reed solomon support is select'ed if needed
2781da177e4SLinus Torvalds#
2791da177e4SLinus Torvaldsconfig REED_SOLOMON
2801da177e4SLinus Torvalds	tristate
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
2836341e62bSChristoph Jaeger	bool
2841da177e4SLinus Torvalds
2851da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
2866341e62bSChristoph Jaeger	bool
2871da177e4SLinus Torvalds
2881da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
2896341e62bSChristoph Jaeger	bool
2901da177e4SLinus Torvalds
2911da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
2926341e62bSChristoph Jaeger	bool
2931da177e4SLinus Torvalds
294f7704347SDavid S. Miller#
295437aa565SIvan Djelic# BCH support is selected if needed
296437aa565SIvan Djelic#
297437aa565SIvan Djelicconfig BCH
298437aa565SIvan Djelic	tristate
299437aa565SIvan Djelic
300437aa565SIvan Djelicconfig BCH_CONST_PARAMS
3016341e62bSChristoph Jaeger	bool
302437aa565SIvan Djelic	help
303437aa565SIvan Djelic	  Drivers may select this option to force specific constant
304437aa565SIvan Djelic	  values for parameters 'm' (Galois field order) and 't'
305437aa565SIvan Djelic	  (error correction capability). Those specific values must
306437aa565SIvan Djelic	  be set by declaring default values for symbols BCH_CONST_M
307437aa565SIvan Djelic	  and BCH_CONST_T.
308437aa565SIvan Djelic	  Doing so will enable extra compiler optimizations,
309437aa565SIvan Djelic	  improving encoding and decoding performance up to 2x for
310437aa565SIvan Djelic	  usual (m,t) values (typically such that m*t < 200).
311437aa565SIvan Djelic	  When this option is selected, the BCH library supports
312437aa565SIvan Djelic	  only a single (m,t) configuration. This is mainly useful
313437aa565SIvan Djelic	  for NAND flash board drivers requiring known, fixed BCH
314437aa565SIvan Djelic	  parameters.
315437aa565SIvan Djelic
316437aa565SIvan Djelicconfig BCH_CONST_M
317437aa565SIvan Djelic	int
318437aa565SIvan Djelic	range 5 15
319437aa565SIvan Djelic	help
320437aa565SIvan Djelic	  Constant value for Galois field order 'm'. If 'k' is the
321437aa565SIvan Djelic	  number of data bits to protect, 'm' should be chosen such
322437aa565SIvan Djelic	  that (k + m*t) <= 2**m - 1.
323437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
324437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
325437aa565SIvan Djelic
326437aa565SIvan Djelicconfig BCH_CONST_T
327437aa565SIvan Djelic	int
328437aa565SIvan Djelic	help
329437aa565SIvan Djelic	  Constant value for error correction capability in bits 't'.
330437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
331437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
332437aa565SIvan Djelic
333437aa565SIvan Djelic#
334f7704347SDavid S. Miller# Textsearch support is select'ed if needed
335f7704347SDavid S. Miller#
3362de4ff7bSThomas Grafconfig TEXTSEARCH
3376341e62bSChristoph Jaeger	bool
3381da177e4SLinus Torvalds
339df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
340f7704347SDavid S. Miller	tristate
341df3fb93aSThomas Graf
3428082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
34329cb9f9cSDavid S. Miller	tristate
3448082e4edSPablo Neira Ayuso
3456408f79cSThomas Grafconfig TEXTSEARCH_FSM
346f7704347SDavid S. Miller	tristate
3476408f79cSThomas Graf
3485db53f3eSJoern Engelconfig BTREE
3496341e62bSChristoph Jaeger	bool
3505db53f3eSJoern Engel
351a88cc108SChris Wilsonconfig INTERVAL_TREE
3526341e62bSChristoph Jaeger	bool
353a88cc108SChris Wilson	help
354a88cc108SChris Wilson	  Simple, embeddable, interval-tree. Can find the start of an
355a88cc108SChris Wilson	  overlapping range in log(n) time and then iterate over all
356a88cc108SChris Wilson	  overlapping nodes. The algorithm is implemented as an
357a88cc108SChris Wilson	  augmented rbtree.
358a88cc108SChris Wilson
359a88cc108SChris Wilson	  See:
360a88cc108SChris Wilson
361a88cc108SChris Wilson		Documentation/rbtree.txt
362a88cc108SChris Wilson
363a88cc108SChris Wilson	  for more information.
364a88cc108SChris Wilson
36557578c2eSMatthew Wilcoxconfig RADIX_TREE_MULTIORDER
36657578c2eSMatthew Wilcox	bool
36757578c2eSMatthew Wilcox
3683cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY
3693cb98950SDavid Howells	bool
3703cb98950SDavid Howells	help
3713cb98950SDavid Howells	  Generic associative array.  Can be searched and iterated over whilst
3723cb98950SDavid Howells	  it is being modified.  It is also reasonably quick to search and
3733cb98950SDavid Howells	  modify.  The algorithms are non-recursive, and the trees are highly
3743cb98950SDavid Howells	  capacious.
3753cb98950SDavid Howells
3763cb98950SDavid Howells	  See:
3773cb98950SDavid Howells
3783cb98950SDavid Howells		Documentation/assoc_array.txt
3793cb98950SDavid Howells
3803cb98950SDavid Howells	  for more information.
3813cb98950SDavid Howells
3825ea81769SAl Viroconfig HAS_IOMEM
3836341e62bSChristoph Jaeger	bool
3845ea81769SAl Viro	depends on !NO_IOMEM
385087fafd1SRichard Weinberger	select GENERIC_IO
3865ea81769SAl Viro	default y
3875ea81769SAl Viro
388ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP
3896341e62bSChristoph Jaeger	bool
390ce816fa8SUwe Kleine-König	depends on HAS_IOMEM && !NO_IOPORT_MAP
391ee36c2bfSAl Viro	default y
392ee36c2bfSAl Viro
393411f0f3eSHeiko Carstensconfig HAS_DMA
3946341e62bSChristoph Jaeger	bool
395411f0f3eSHeiko Carstens	depends on !NO_DMA
396411f0f3eSHeiko Carstens	default y
397411f0f3eSHeiko Carstens
398*7844572cSBart Van Asscheconfig DMA_NOOP_OPS
399*7844572cSBart Van Assche	bool
400*7844572cSBart Van Assche	depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
401*7844572cSBart Van Assche	default n
402*7844572cSBart Van Assche
403928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
404928923c7SGeert Uytterhoeven	bool
405928923c7SGeert Uytterhoeven
406aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
407aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
408aab46da0SRusty Russell	help
409aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
410aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
411aab46da0SRusty Russell	  stack overflow.
412aab46da0SRusty Russell
413c39649c3SBen Hutchingsconfig CPU_RMAP
414c39649c3SBen Hutchings	bool
415c39649c3SBen Hutchings	depends on SMP
416c39649c3SBen Hutchings
41775957ba3STom Herbertconfig DQL
41875957ba3STom Herbert	bool
41975957ba3STom Herbert
420b0125085SGeorge Spelvinconfig GLOB
421b0125085SGeorge Spelvin	bool
422b0125085SGeorge Spelvin#	This actually supports modular compilation, but the module overhead
423b0125085SGeorge Spelvin#	is ridiculous for the amount of code involved.	Until an out-of-tree
424b0125085SGeorge Spelvin#	driver asks for it, we'll just link it directly it into the kernel
425b0125085SGeorge Spelvin#	when required.  Since we're ignoring out-of-tree users,	there's also
426b0125085SGeorge Spelvin#	no need bother prompting for a manual decision:
427b0125085SGeorge Spelvin#	prompt "glob_match() function"
428b0125085SGeorge Spelvin	help
429b0125085SGeorge Spelvin	  This option provides a glob_match function for performing
430b0125085SGeorge Spelvin	  simple text pattern matching.  It originated in the ATA code
431b0125085SGeorge Spelvin	  to blacklist particular drive models, but other device drivers
432b0125085SGeorge Spelvin	  may need similar functionality.
433b0125085SGeorge Spelvin
434b0125085SGeorge Spelvin	  All drivers in the Linux kernel tree that require this function
435b0125085SGeorge Spelvin	  should automatically select this option.  Say N unless you
436b0125085SGeorge Spelvin	  are compiling an out-of tree driver which tells you that it
437b0125085SGeorge Spelvin	  depends on this.
438b0125085SGeorge Spelvin
4395f9be824SGeorge Spelvinconfig GLOB_SELFTEST
4405f9be824SGeorge Spelvin	bool "glob self-test on init"
4415f9be824SGeorge Spelvin	default n
4425f9be824SGeorge Spelvin	depends on GLOB
4435f9be824SGeorge Spelvin	help
4445f9be824SGeorge Spelvin	  This option enables a simple self-test of the glob_match
4455f9be824SGeorge Spelvin	  function on startup.	It is primarily useful for people
4465f9be824SGeorge Spelvin	  working on the code to ensure they haven't introduced any
4475f9be824SGeorge Spelvin	  regressions.
4485f9be824SGeorge Spelvin
4495f9be824SGeorge Spelvin	  It only adds a little bit of code and slows kernel boot (or
4505f9be824SGeorge Spelvin	  module load) by a small amount, so you're welcome to play with
4515f9be824SGeorge Spelvin	  it, but you probably don't need it.
4525f9be824SGeorge Spelvin
453e9cc8bddSGeert Uytterhoeven#
454e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed
455e9cc8bddSGeert Uytterhoeven#
456e9cc8bddSGeert Uytterhoevenconfig NLATTR
457e9cc8bddSGeert Uytterhoeven	bool
458e9cc8bddSGeert Uytterhoeven
45909d4e0edSPaul Mackerras#
46009d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed
46109d4e0edSPaul Mackerras#
46209d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64
46309d4e0edSPaul Mackerras       bool
46409d4e0edSPaul Mackerras
465b411b363SPhilipp Reisnerconfig LRU_CACHE
466b411b363SPhilipp Reisner	tristate
467b411b363SPhilipp Reisner
468c6df4b17SDavid Millerconfig CLZ_TAB
469c6df4b17SDavid Miller	bool
470c6df4b17SDavid Miller
47110f8113eSArend van Sprielconfig CORDIC
472d89ce936SMichael Witten	tristate "CORDIC algorithm"
47310f8113eSArend van Spriel	help
474435a95c5SMichael Witten	  This option provides an implementation of the CORDIC algorithm;
475435a95c5SMichael Witten	  calculations are in fixed point. Module will be called cordic.
47610f8113eSArend van Spriel
4779c1c21a0SAneesh Vconfig DDR
4789c1c21a0SAneesh V	bool "JEDEC DDR data"
4799c1c21a0SAneesh V	help
4809c1c21a0SAneesh V	  Data from JEDEC specs for DDR SDRAM memories,
4819c1c21a0SAneesh V	  particularly the AC timing parameters and addressing
4829c1c21a0SAneesh V	  information. This data is useful for drivers handling
4839c1c21a0SAneesh V	  DDR SDRAM controllers.
4849c1c21a0SAneesh V
485511cbce2SChristoph Hellwigconfig IRQ_POLL
486511cbce2SChristoph Hellwig	bool "IRQ polling library"
487511cbce2SChristoph Hellwig	help
488511cbce2SChristoph Hellwig	  Helper library to poll interrupt mitigation using polling.
489511cbce2SChristoph Hellwig
490d9c46b18SDmitry Kasatkinconfig MPILIB
4912e5f094bSDmitry Kasatkin	tristate
492c6df4b17SDavid Miller	select CLZ_TAB
493d9c46b18SDmitry Kasatkin	help
494d9c46b18SDmitry Kasatkin	  Multiprecision maths library from GnuPG.
495d9c46b18SDmitry Kasatkin	  It is used to implement RSA digital signature verification,
496d9c46b18SDmitry Kasatkin	  which is used by IMA/EVM digital signature extension.
497d9c46b18SDmitry Kasatkin
4985e8898e9SDmitry Kasatkinconfig SIGNATURE
4992e5f094bSDmitry Kasatkin	tristate
5000d1f64f6SDmitry Kasatkin	depends on KEYS
5010d1f64f6SDmitry Kasatkin	select CRYPTO
502be440ec7SDmitry Kasatkin	select CRYPTO_SHA1
503051dbb91SDmitry Kasatkin	select MPILIB
504051dbb91SDmitry Kasatkin	help
505051dbb91SDmitry Kasatkin	  Digital signature verification. Currently only RSA is supported.
506051dbb91SDmitry Kasatkin	  Implementation is done using GnuPG MPI library
507051dbb91SDmitry Kasatkin
508ab253839SDavid Daney#
509ab253839SDavid Daney# libfdt files, only selected if needed.
510ab253839SDavid Daney#
511ab253839SDavid Daneyconfig LIBFDT
512ab253839SDavid Daney	bool
513ab253839SDavid Daney
514a77ad6eaSDavid Howellsconfig OID_REGISTRY
515a77ad6eaSDavid Howells	tristate
516a77ad6eaSDavid Howells	help
517a77ad6eaSDavid Howells	  Enable fast lookup object identifier registry.
518a77ad6eaSDavid Howells
5190635eb8aSMatthew Garrettconfig UCS2_STRING
5200635eb8aSMatthew Garrett        tristate
5210635eb8aSMatthew Garrett
522ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig"
523ee89bd6bSGeert Uytterhoeven
524f8bcbe62SRobert Jarzmikconfig SG_SPLIT
525f8bcbe62SRobert Jarzmik	def_bool n
526f8bcbe62SRobert Jarzmik	help
5277f7e92f7SGeert Uytterhoeven	 Provides a helper to split scatterlists into chunks, each chunk being
5287f7e92f7SGeert Uytterhoeven	 a scatterlist. This should be selected by a driver or an API which
5297f7e92f7SGeert Uytterhoeven	 whishes to split a scatterlist amongst multiple DMA channels.
530f8bcbe62SRobert Jarzmik
5319b1d6c89SMing Linconfig SG_POOL
5329b1d6c89SMing Lin	def_bool n
5339b1d6c89SMing Lin	help
5349b1d6c89SMing Lin	 Provides a helper to allocate chained scatterlists. This should be
5359b1d6c89SMing Lin	 selected by a driver or an API which whishes to allocate chained
5369b1d6c89SMing Lin	 scatterlist.
5379b1d6c89SMing Lin
538308c09f1SLaura Abbott#
539308c09f1SLaura Abbott# sg chaining option
540308c09f1SLaura Abbott#
541308c09f1SLaura Abbott
542308c09f1SLaura Abbottconfig ARCH_HAS_SG_CHAIN
543308c09f1SLaura Abbott	def_bool n
544308c09f1SLaura Abbott
54561031952SRoss Zwislerconfig ARCH_HAS_PMEM_API
54661031952SRoss Zwisler	bool
54761031952SRoss Zwisler
54867a3e8feSRoss Zwislerconfig ARCH_HAS_MMIO_FLUSH
54967a3e8feSRoss Zwisler	bool
55067a3e8feSRoss Zwisler
551cd11016eSAlexander Potapenkoconfig STACKDEPOT
552cd11016eSAlexander Potapenko	bool
553cd11016eSAlexander Potapenko	select STACKTRACE
554cd11016eSAlexander Potapenko
55588459642SOmar Sandovalconfig SBITMAP
55688459642SOmar Sandoval	bool
55788459642SOmar Sandoval
5582de4ff7bSThomas Grafendmenu
559