xref: /openbmc/linux/lib/Kconfig (revision 03270c13)
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
1065fb7f874SGeert Uytterhoeven	tristate "CRC32 perform self test on init"
1073863ef31SBob Pearson	depends on CRC32
1083863ef31SBob Pearson	help
1093863ef31SBob Pearson	  This option enables the CRC32 library functions to perform a
1103863ef31SBob Pearson	  self test on initialization. The self test computes crc32_le
1113863ef31SBob Pearson	  and crc32_be over byte strings with random alignment and length
1123863ef31SBob Pearson	  and computes the total elapsed time and number of bytes processed.
1133863ef31SBob Pearson
1145cde7656SDarrick J. Wongchoice
1155cde7656SDarrick J. Wong	prompt "CRC32 implementation"
1165cde7656SDarrick J. Wong	depends on CRC32
1175cde7656SDarrick J. Wong	default CRC32_SLICEBY8
11882edb4baSDarrick J. Wong	help
11982edb4baSDarrick J. Wong	  This option allows a kernel builder to override the default choice
12082edb4baSDarrick J. Wong	  of CRC32 algorithm.  Choose the default ("slice by 8") unless you
12182edb4baSDarrick J. Wong	  know that you need one of the others.
1225cde7656SDarrick J. Wong
1235cde7656SDarrick J. Wongconfig CRC32_SLICEBY8
1245cde7656SDarrick J. Wong	bool "Slice by 8 bytes"
1255cde7656SDarrick J. Wong	help
1265cde7656SDarrick J. Wong	  Calculate checksum 8 bytes at a time with a clever slicing algorithm.
1275cde7656SDarrick J. Wong	  This is the fastest algorithm, but comes with a 8KiB lookup table.
1285cde7656SDarrick J. Wong	  Most modern processors have enough cache to hold this table without
1295cde7656SDarrick J. Wong	  thrashing the cache.
1305cde7656SDarrick J. Wong
1315cde7656SDarrick J. Wong	  This is the default implementation choice.  Choose this one unless
1325cde7656SDarrick J. Wong	  you have a good reason not to.
1335cde7656SDarrick J. Wong
1345cde7656SDarrick J. Wongconfig CRC32_SLICEBY4
1355cde7656SDarrick J. Wong	bool "Slice by 4 bytes"
1365cde7656SDarrick J. Wong	help
1375cde7656SDarrick J. Wong	  Calculate checksum 4 bytes at a time with a clever slicing algorithm.
1385cde7656SDarrick J. Wong	  This is a bit slower than slice by 8, but has a smaller 4KiB lookup
1395cde7656SDarrick J. Wong	  table.
1405cde7656SDarrick J. Wong
1415cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1425cde7656SDarrick J. Wong
1435cde7656SDarrick J. Wongconfig CRC32_SARWATE
1445cde7656SDarrick J. Wong	bool "Sarwate's Algorithm (one byte at a time)"
1455cde7656SDarrick J. Wong	help
1465cde7656SDarrick J. Wong	  Calculate checksum a byte at a time using Sarwate's algorithm.  This
1475cde7656SDarrick J. Wong	  is not particularly fast, but has a small 256 byte lookup table.
1485cde7656SDarrick J. Wong
1495cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1505cde7656SDarrick J. Wong
1515cde7656SDarrick J. Wongconfig CRC32_BIT
1525cde7656SDarrick J. Wong	bool "Classic Algorithm (one bit at a time)"
1535cde7656SDarrick J. Wong	help
1545cde7656SDarrick J. Wong	  Calculate checksum one bit at a time.  This is VERY slow, but has
1555cde7656SDarrick J. Wong	  no lookup table.  This is provided as a debugging option.
1565cde7656SDarrick J. Wong
1575cde7656SDarrick J. Wong	  Only choose this option if you are debugging crc32.
1585cde7656SDarrick J. Wong
1595cde7656SDarrick J. Wongendchoice
1605cde7656SDarrick J. Wong
1610cbaa448SJeremy Kerrconfig CRC4
1620cbaa448SJeremy Kerr	tristate "CRC4 functions"
1630cbaa448SJeremy Kerr	help
1640cbaa448SJeremy Kerr	  This option is provided for the case where no in-kernel-tree
1650cbaa448SJeremy Kerr	  modules require CRC4 functions, but a module built outside
1660cbaa448SJeremy Kerr	  the kernel tree does. Such modules that use library CRC4
1670cbaa448SJeremy Kerr	  functions require M here.
1680cbaa448SJeremy Kerr
169ad241528SJan Nikitenkoconfig CRC7
170ad241528SJan Nikitenko	tristate "CRC7 functions"
171ad241528SJan Nikitenko	help
172ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
173ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
174ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
175ad241528SJan Nikitenko	  functions require M here.
176ad241528SJan Nikitenko
1771da177e4SLinus Torvaldsconfig LIBCRC32C
1781da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
17993027354SHerbert Xu	select CRYPTO
18069c35efcSHerbert Xu	select CRYPTO_CRC32C
1811da177e4SLinus Torvalds	help
1821da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
1831da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
1841da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
1851da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
1861da177e4SLinus Torvalds	  Module will be libcrc32c.
1871da177e4SLinus Torvalds
1887150962dSArend van Sprielconfig CRC8
1897150962dSArend van Spriel	tristate "CRC8 function"
1907150962dSArend van Spriel	help
1917150962dSArend van Spriel	  This option provides CRC8 function. Drivers may select this
1927150962dSArend van Spriel	  when they need to do cyclic redundancy check according CRC8
1937150962dSArend van Spriel	  algorithm. Module will be called crc8.
1947150962dSArend van Spriel
195e65e1fc2SAl Viroconfig AUDIT_GENERIC
196e65e1fc2SAl Viro	bool
197e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
198e65e1fc2SAl Viro	default y
199e65e1fc2SAl Viro
2004b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC
2014b588411SAKASHI Takahiro	bool
2024b588411SAKASHI Takahiro	default n
2034b588411SAKASHI Takahiro
2044b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC
2054b588411SAKASHI Takahiro	bool
2064b588411SAKASHI Takahiro	depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
2074b588411SAKASHI Takahiro	default y
2084b588411SAKASHI Takahiro
209a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST
210a6a9c0f1SDaniel Borkmann	bool "PRNG perform self test on init"
211a6a9c0f1SDaniel Borkmann	default n
212a6a9c0f1SDaniel Borkmann	help
213a6a9c0f1SDaniel Borkmann	  This option enables the 32 bit PRNG library functions to perform a
214a6a9c0f1SDaniel Borkmann	  self test on initialization.
215a6a9c0f1SDaniel Borkmann
2161da177e4SLinus Torvalds#
2171da177e4SLinus Torvalds# compression support is select'ed if needed
2181da177e4SLinus Torvalds#
2192da572c9SDan Streetmanconfig 842_COMPRESS
2205b571677SArnd Bergmann	select CRC32
2212da572c9SDan Streetman	tristate
2222da572c9SDan Streetman
2232da572c9SDan Streetmanconfig 842_DECOMPRESS
2245b571677SArnd Bergmann	select CRC32
2252da572c9SDan Streetman	tristate
2262da572c9SDan Streetman
2271da177e4SLinus Torvaldsconfig ZLIB_INFLATE
2281da177e4SLinus Torvalds	tristate
2291da177e4SLinus Torvalds
2301da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
2311da177e4SLinus Torvalds	tristate
2321fd4e5c3SAndrew Morton	select BITREVERSE
2331da177e4SLinus Torvalds
23464c70b1cSRichard Purdieconfig LZO_COMPRESS
23564c70b1cSRichard Purdie	tristate
23664c70b1cSRichard Purdie
23764c70b1cSRichard Purdieconfig LZO_DECOMPRESS
23864c70b1cSRichard Purdie	tristate
23964c70b1cSRichard Purdie
240c72ac7a1SChanho Minconfig LZ4_COMPRESS
241c72ac7a1SChanho Min	tristate
242c72ac7a1SChanho Min
243c72ac7a1SChanho Minconfig LZ4HC_COMPRESS
244c72ac7a1SChanho Min	tristate
245c72ac7a1SChanho Min
246e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS
247e76e1fdfSKyungsik Lee	tristate
248e76e1fdfSKyungsik Lee
24924fa0402SLasse Collinsource "lib/xz/Kconfig"
25024fa0402SLasse Collin
2511da177e4SLinus Torvalds#
252c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with
253c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
254c8531ab3SH. Peter Anvin#
255c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP
2567856a16eSH. Peter Anvin	select ZLIB_INFLATE
257c8531ab3SH. Peter Anvin	tristate
258c8531ab3SH. Peter Anvin
259c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2
260c8531ab3SH. Peter Anvin	tristate
261c8531ab3SH. Peter Anvin
262c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA
263c8531ab3SH. Peter Anvin	tristate
264c8531ab3SH. Peter Anvin
2653ebe1243SLasse Collinconfig DECOMPRESS_XZ
2663ebe1243SLasse Collin	select XZ_DEC
2673ebe1243SLasse Collin	tristate
2683ebe1243SLasse Collin
269cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO
270cacb246fSAlbin Tonnerre	select LZO_DECOMPRESS
271cacb246fSAlbin Tonnerre	tristate
272cacb246fSAlbin Tonnerre
273e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4
274e76e1fdfSKyungsik Lee	select LZ4_DECOMPRESS
275e76e1fdfSKyungsik Lee	tristate
276e76e1fdfSKyungsik Lee
277c8531ab3SH. Peter Anvin#
278f14f75b8SJes Sorensen# Generic allocator support is selected if needed
279f14f75b8SJes Sorensen#
280f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
2816341e62bSChristoph Jaeger	bool
282f14f75b8SJes Sorensen
283f14f75b8SJes Sorensen#
2841da177e4SLinus Torvalds# reed solomon support is select'ed if needed
2851da177e4SLinus Torvalds#
2861da177e4SLinus Torvaldsconfig REED_SOLOMON
2871da177e4SLinus Torvalds	tristate
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
2906341e62bSChristoph Jaeger	bool
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
2936341e62bSChristoph Jaeger	bool
2941da177e4SLinus Torvalds
2951da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
2966341e62bSChristoph Jaeger	bool
2971da177e4SLinus Torvalds
2981da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
2996341e62bSChristoph Jaeger	bool
3001da177e4SLinus Torvalds
301f7704347SDavid S. Miller#
302437aa565SIvan Djelic# BCH support is selected if needed
303437aa565SIvan Djelic#
304437aa565SIvan Djelicconfig BCH
305437aa565SIvan Djelic	tristate
306437aa565SIvan Djelic
307437aa565SIvan Djelicconfig BCH_CONST_PARAMS
3086341e62bSChristoph Jaeger	bool
309437aa565SIvan Djelic	help
310437aa565SIvan Djelic	  Drivers may select this option to force specific constant
311437aa565SIvan Djelic	  values for parameters 'm' (Galois field order) and 't'
312437aa565SIvan Djelic	  (error correction capability). Those specific values must
313437aa565SIvan Djelic	  be set by declaring default values for symbols BCH_CONST_M
314437aa565SIvan Djelic	  and BCH_CONST_T.
315437aa565SIvan Djelic	  Doing so will enable extra compiler optimizations,
316437aa565SIvan Djelic	  improving encoding and decoding performance up to 2x for
317437aa565SIvan Djelic	  usual (m,t) values (typically such that m*t < 200).
318437aa565SIvan Djelic	  When this option is selected, the BCH library supports
319437aa565SIvan Djelic	  only a single (m,t) configuration. This is mainly useful
320437aa565SIvan Djelic	  for NAND flash board drivers requiring known, fixed BCH
321437aa565SIvan Djelic	  parameters.
322437aa565SIvan Djelic
323437aa565SIvan Djelicconfig BCH_CONST_M
324437aa565SIvan Djelic	int
325437aa565SIvan Djelic	range 5 15
326437aa565SIvan Djelic	help
327437aa565SIvan Djelic	  Constant value for Galois field order 'm'. If 'k' is the
328437aa565SIvan Djelic	  number of data bits to protect, 'm' should be chosen such
329437aa565SIvan Djelic	  that (k + m*t) <= 2**m - 1.
330437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
331437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
332437aa565SIvan Djelic
333437aa565SIvan Djelicconfig BCH_CONST_T
334437aa565SIvan Djelic	int
335437aa565SIvan Djelic	help
336437aa565SIvan Djelic	  Constant value for error correction capability in bits 't'.
337437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
338437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
339437aa565SIvan Djelic
340437aa565SIvan Djelic#
341f7704347SDavid S. Miller# Textsearch support is select'ed if needed
342f7704347SDavid S. Miller#
3432de4ff7bSThomas Grafconfig TEXTSEARCH
3446341e62bSChristoph Jaeger	bool
3451da177e4SLinus Torvalds
346df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
347f7704347SDavid S. Miller	tristate
348df3fb93aSThomas Graf
3498082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
35029cb9f9cSDavid S. Miller	tristate
3518082e4edSPablo Neira Ayuso
3526408f79cSThomas Grafconfig TEXTSEARCH_FSM
353f7704347SDavid S. Miller	tristate
3546408f79cSThomas Graf
3555db53f3eSJoern Engelconfig BTREE
3566341e62bSChristoph Jaeger	bool
3575db53f3eSJoern Engel
358a88cc108SChris Wilsonconfig INTERVAL_TREE
3596341e62bSChristoph Jaeger	bool
360a88cc108SChris Wilson	help
361a88cc108SChris Wilson	  Simple, embeddable, interval-tree. Can find the start of an
362a88cc108SChris Wilson	  overlapping range in log(n) time and then iterate over all
363a88cc108SChris Wilson	  overlapping nodes. The algorithm is implemented as an
364a88cc108SChris Wilson	  augmented rbtree.
365a88cc108SChris Wilson
366a88cc108SChris Wilson	  See:
367a88cc108SChris Wilson
368a88cc108SChris Wilson		Documentation/rbtree.txt
369a88cc108SChris Wilson
370a88cc108SChris Wilson	  for more information.
371a88cc108SChris Wilson
37257578c2eSMatthew Wilcoxconfig RADIX_TREE_MULTIORDER
37357578c2eSMatthew Wilcox	bool
37457578c2eSMatthew Wilcox
3753cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY
3763cb98950SDavid Howells	bool
3773cb98950SDavid Howells	help
3783cb98950SDavid Howells	  Generic associative array.  Can be searched and iterated over whilst
3793cb98950SDavid Howells	  it is being modified.  It is also reasonably quick to search and
3803cb98950SDavid Howells	  modify.  The algorithms are non-recursive, and the trees are highly
3813cb98950SDavid Howells	  capacious.
3823cb98950SDavid Howells
3833cb98950SDavid Howells	  See:
3843cb98950SDavid Howells
3853cb98950SDavid Howells		Documentation/assoc_array.txt
3863cb98950SDavid Howells
3873cb98950SDavid Howells	  for more information.
3883cb98950SDavid Howells
3895ea81769SAl Viroconfig HAS_IOMEM
3906341e62bSChristoph Jaeger	bool
3915ea81769SAl Viro	depends on !NO_IOMEM
392087fafd1SRichard Weinberger	select GENERIC_IO
3935ea81769SAl Viro	default y
3945ea81769SAl Viro
395ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP
3966341e62bSChristoph Jaeger	bool
397ce816fa8SUwe Kleine-König	depends on HAS_IOMEM && !NO_IOPORT_MAP
398ee36c2bfSAl Viro	default y
399ee36c2bfSAl Viro
400411f0f3eSHeiko Carstensconfig HAS_DMA
4016341e62bSChristoph Jaeger	bool
402411f0f3eSHeiko Carstens	depends on !NO_DMA
403411f0f3eSHeiko Carstens	default y
404411f0f3eSHeiko Carstens
4057844572cSBart Van Asscheconfig DMA_NOOP_OPS
4067844572cSBart Van Assche	bool
4077844572cSBart Van Assche	depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
4087844572cSBart Van Assche	default n
4097844572cSBart Van Assche
410551199acSBart Van Asscheconfig DMA_VIRT_OPS
411551199acSBart Van Assche	bool
412551199acSBart Van Assche	depends on HAS_DMA && (!64BIT || ARCH_DMA_ADDR_T_64BIT)
413551199acSBart Van Assche	default n
414551199acSBart Van Assche
415928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
416928923c7SGeert Uytterhoeven	bool
417928923c7SGeert Uytterhoeven
418aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
419aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
420aab46da0SRusty Russell	help
421aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
422aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
423aab46da0SRusty Russell	  stack overflow.
424aab46da0SRusty Russell
425c39649c3SBen Hutchingsconfig CPU_RMAP
426c39649c3SBen Hutchings	bool
427c39649c3SBen Hutchings	depends on SMP
428c39649c3SBen Hutchings
42975957ba3STom Herbertconfig DQL
43075957ba3STom Herbert	bool
43175957ba3STom Herbert
432b0125085SGeorge Spelvinconfig GLOB
433b0125085SGeorge Spelvin	bool
434b0125085SGeorge Spelvin#	This actually supports modular compilation, but the module overhead
435b0125085SGeorge Spelvin#	is ridiculous for the amount of code involved.	Until an out-of-tree
436b0125085SGeorge Spelvin#	driver asks for it, we'll just link it directly it into the kernel
437b0125085SGeorge Spelvin#	when required.  Since we're ignoring out-of-tree users,	there's also
438b0125085SGeorge Spelvin#	no need bother prompting for a manual decision:
439b0125085SGeorge Spelvin#	prompt "glob_match() function"
440b0125085SGeorge Spelvin	help
441b0125085SGeorge Spelvin	  This option provides a glob_match function for performing
442b0125085SGeorge Spelvin	  simple text pattern matching.  It originated in the ATA code
443b0125085SGeorge Spelvin	  to blacklist particular drive models, but other device drivers
444b0125085SGeorge Spelvin	  may need similar functionality.
445b0125085SGeorge Spelvin
446b0125085SGeorge Spelvin	  All drivers in the Linux kernel tree that require this function
447b0125085SGeorge Spelvin	  should automatically select this option.  Say N unless you
448b0125085SGeorge Spelvin	  are compiling an out-of tree driver which tells you that it
449b0125085SGeorge Spelvin	  depends on this.
450b0125085SGeorge Spelvin
4515f9be824SGeorge Spelvinconfig GLOB_SELFTEST
452ba95b045SGeert Uytterhoeven	tristate "glob self-test on init"
4535f9be824SGeorge Spelvin	depends on GLOB
4545f9be824SGeorge Spelvin	help
4555f9be824SGeorge Spelvin	  This option enables a simple self-test of the glob_match
4565f9be824SGeorge Spelvin	  function on startup.	It is primarily useful for people
4575f9be824SGeorge Spelvin	  working on the code to ensure they haven't introduced any
4585f9be824SGeorge Spelvin	  regressions.
4595f9be824SGeorge Spelvin
4605f9be824SGeorge Spelvin	  It only adds a little bit of code and slows kernel boot (or
4615f9be824SGeorge Spelvin	  module load) by a small amount, so you're welcome to play with
4625f9be824SGeorge Spelvin	  it, but you probably don't need it.
4635f9be824SGeorge Spelvin
464e9cc8bddSGeert Uytterhoeven#
465e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed
466e9cc8bddSGeert Uytterhoeven#
467e9cc8bddSGeert Uytterhoevenconfig NLATTR
468e9cc8bddSGeert Uytterhoeven	bool
469e9cc8bddSGeert Uytterhoeven
47009d4e0edSPaul Mackerras#
47109d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed
47209d4e0edSPaul Mackerras#
47309d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64
47409d4e0edSPaul Mackerras       bool
47509d4e0edSPaul Mackerras
476b411b363SPhilipp Reisnerconfig LRU_CACHE
477b411b363SPhilipp Reisner	tristate
478b411b363SPhilipp Reisner
479c6df4b17SDavid Millerconfig CLZ_TAB
480c6df4b17SDavid Miller	bool
481c6df4b17SDavid Miller
48210f8113eSArend van Sprielconfig CORDIC
483d89ce936SMichael Witten	tristate "CORDIC algorithm"
48410f8113eSArend van Spriel	help
485435a95c5SMichael Witten	  This option provides an implementation of the CORDIC algorithm;
486435a95c5SMichael Witten	  calculations are in fixed point. Module will be called cordic.
48710f8113eSArend van Spriel
4889c1c21a0SAneesh Vconfig DDR
4899c1c21a0SAneesh V	bool "JEDEC DDR data"
4909c1c21a0SAneesh V	help
4919c1c21a0SAneesh V	  Data from JEDEC specs for DDR SDRAM memories,
4929c1c21a0SAneesh V	  particularly the AC timing parameters and addressing
4939c1c21a0SAneesh V	  information. This data is useful for drivers handling
4949c1c21a0SAneesh V	  DDR SDRAM controllers.
4959c1c21a0SAneesh V
496511cbce2SChristoph Hellwigconfig IRQ_POLL
497511cbce2SChristoph Hellwig	bool "IRQ polling library"
498511cbce2SChristoph Hellwig	help
499511cbce2SChristoph Hellwig	  Helper library to poll interrupt mitigation using polling.
500511cbce2SChristoph Hellwig
501d9c46b18SDmitry Kasatkinconfig MPILIB
5022e5f094bSDmitry Kasatkin	tristate
503c6df4b17SDavid Miller	select CLZ_TAB
504d9c46b18SDmitry Kasatkin	help
505d9c46b18SDmitry Kasatkin	  Multiprecision maths library from GnuPG.
506d9c46b18SDmitry Kasatkin	  It is used to implement RSA digital signature verification,
507d9c46b18SDmitry Kasatkin	  which is used by IMA/EVM digital signature extension.
508d9c46b18SDmitry Kasatkin
5095e8898e9SDmitry Kasatkinconfig SIGNATURE
5102e5f094bSDmitry Kasatkin	tristate
5110d1f64f6SDmitry Kasatkin	depends on KEYS
5120d1f64f6SDmitry Kasatkin	select CRYPTO
513be440ec7SDmitry Kasatkin	select CRYPTO_SHA1
514051dbb91SDmitry Kasatkin	select MPILIB
515051dbb91SDmitry Kasatkin	help
516051dbb91SDmitry Kasatkin	  Digital signature verification. Currently only RSA is supported.
517051dbb91SDmitry Kasatkin	  Implementation is done using GnuPG MPI library
518051dbb91SDmitry Kasatkin
519ab253839SDavid Daney#
520ab253839SDavid Daney# libfdt files, only selected if needed.
521ab253839SDavid Daney#
522ab253839SDavid Daneyconfig LIBFDT
523ab253839SDavid Daney	bool
524ab253839SDavid Daney
525a77ad6eaSDavid Howellsconfig OID_REGISTRY
526a77ad6eaSDavid Howells	tristate
527a77ad6eaSDavid Howells	help
528a77ad6eaSDavid Howells	  Enable fast lookup object identifier registry.
529a77ad6eaSDavid Howells
5300635eb8aSMatthew Garrettconfig UCS2_STRING
5310635eb8aSMatthew Garrett        tristate
5320635eb8aSMatthew Garrett
533ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig"
534ee89bd6bSGeert Uytterhoeven
535f8bcbe62SRobert Jarzmikconfig SG_SPLIT
536f8bcbe62SRobert Jarzmik	def_bool n
537f8bcbe62SRobert Jarzmik	help
5387f7e92f7SGeert Uytterhoeven	 Provides a helper to split scatterlists into chunks, each chunk being
5397f7e92f7SGeert Uytterhoeven	 a scatterlist. This should be selected by a driver or an API which
5407f7e92f7SGeert Uytterhoeven	 whishes to split a scatterlist amongst multiple DMA channels.
541f8bcbe62SRobert Jarzmik
5429b1d6c89SMing Linconfig SG_POOL
5439b1d6c89SMing Lin	def_bool n
5449b1d6c89SMing Lin	help
5459b1d6c89SMing Lin	 Provides a helper to allocate chained scatterlists. This should be
5469b1d6c89SMing Lin	 selected by a driver or an API which whishes to allocate chained
5479b1d6c89SMing Lin	 scatterlist.
5489b1d6c89SMing Lin
549308c09f1SLaura Abbott#
550308c09f1SLaura Abbott# sg chaining option
551308c09f1SLaura Abbott#
552308c09f1SLaura Abbott
553308c09f1SLaura Abbottconfig ARCH_HAS_SG_CHAIN
554308c09f1SLaura Abbott	def_bool n
555308c09f1SLaura Abbott
55661031952SRoss Zwislerconfig ARCH_HAS_PMEM_API
55761031952SRoss Zwisler	bool
55861031952SRoss Zwisler
5590aed55afSDan Williamsconfig ARCH_HAS_UACCESS_FLUSHCACHE
5600aed55afSDan Williams	bool
5610aed55afSDan Williams
56267a3e8feSRoss Zwislerconfig ARCH_HAS_MMIO_FLUSH
56367a3e8feSRoss Zwisler	bool
56467a3e8feSRoss Zwisler
565cd11016eSAlexander Potapenkoconfig STACKDEPOT
566cd11016eSAlexander Potapenko	bool
567cd11016eSAlexander Potapenko	select STACKTRACE
568cd11016eSAlexander Potapenko
56988459642SOmar Sandovalconfig SBITMAP
57088459642SOmar Sandoval	bool
57188459642SOmar Sandoval
57244091d29SJiri Pirkoconfig PARMAN
5739d25af69SGeert Uytterhoeven	tristate "parman" if COMPILE_TEST
57444091d29SJiri Pirko
575cf4a7207SChris Wilsonconfig PRIME_NUMBERS
57664a57719SDave Airlie	tristate
577cf4a7207SChris Wilson
578*03270c13SMatthew Wilcoxconfig STRING_SELFTEST
579*03270c13SMatthew Wilcox	bool "Test string functions"
580*03270c13SMatthew Wilcox
5812de4ff7bSThomas Grafendmenu
582