xref: /openbmc/linux/lib/Kconfig (revision 61031952)
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
5622b361d1SOleg Nesterovconfig PERCPU_RWSEM
576341e62bSChristoph Jaeger	bool
5822b361d1SOleg Nesterov
59bc08b449SLinus Torvaldsconfig ARCH_USE_CMPXCHG_LOCKREF
60bc08b449SLinus Torvalds	bool
61bc08b449SLinus Torvalds
6272d93104SLinus Torvaldsconfig ARCH_HAS_FAST_MULTIPLIER
6372d93104SLinus Torvalds	bool
6472d93104SLinus Torvalds
651da177e4SLinus Torvaldsconfig CRC_CCITT
661da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
671da177e4SLinus Torvalds	help
681da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
691da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
701da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
711da177e4SLinus Torvalds	  functions require M here.
721da177e4SLinus Torvalds
737657ec1fSEvgeniy Polyakovconfig CRC16
747657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
757657ec1fSEvgeniy Polyakov	help
767657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
777657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
787657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
797657ec1fSEvgeniy Polyakov	  functions require M here.
807657ec1fSEvgeniy Polyakov
81f11f594eSMartin K. Petersenconfig CRC_T10DIF
82f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
8368411521SHerbert Xu	select CRYPTO
8468411521SHerbert Xu	select CRYPTO_CRCT10DIF
85f11f594eSMartin K. Petersen	help
86f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
87f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
88f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
89f11f594eSMartin K. Petersen
903e7cbae7SIvo van Doornconfig CRC_ITU_T
913e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
923e7cbae7SIvo van Doorn	help
933e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
943e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
953e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
963e7cbae7SIvo van Doorn	  functions require M here.
973e7cbae7SIvo van Doorn
981da177e4SLinus Torvaldsconfig CRC32
9946c5801eSDarrick J. Wong	tristate "CRC32/CRC32c functions"
1001da177e4SLinus Torvalds	default y
101906d66dfSAkinobu Mita	select BITREVERSE
1021da177e4SLinus Torvalds	help
1031da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
10446c5801eSDarrick J. Wong	  modules require CRC32/CRC32c functions, but a module built outside
10546c5801eSDarrick J. Wong	  the kernel tree does. Such modules that use library CRC32/CRC32c
10646c5801eSDarrick J. Wong	  functions require M here.
1071da177e4SLinus Torvalds
1083863ef31SBob Pearsonconfig CRC32_SELFTEST
1093863ef31SBob Pearson	bool "CRC32 perform self test on init"
1103863ef31SBob Pearson	default n
1113863ef31SBob Pearson	depends on CRC32
1123863ef31SBob Pearson	help
1133863ef31SBob Pearson	  This option enables the CRC32 library functions to perform a
1143863ef31SBob Pearson	  self test on initialization. The self test computes crc32_le
1153863ef31SBob Pearson	  and crc32_be over byte strings with random alignment and length
1163863ef31SBob Pearson	  and computes the total elapsed time and number of bytes processed.
1173863ef31SBob Pearson
1185cde7656SDarrick J. Wongchoice
1195cde7656SDarrick J. Wong	prompt "CRC32 implementation"
1205cde7656SDarrick J. Wong	depends on CRC32
1215cde7656SDarrick J. Wong	default CRC32_SLICEBY8
12282edb4baSDarrick J. Wong	help
12382edb4baSDarrick J. Wong	  This option allows a kernel builder to override the default choice
12482edb4baSDarrick J. Wong	  of CRC32 algorithm.  Choose the default ("slice by 8") unless you
12582edb4baSDarrick J. Wong	  know that you need one of the others.
1265cde7656SDarrick J. Wong
1275cde7656SDarrick J. Wongconfig CRC32_SLICEBY8
1285cde7656SDarrick J. Wong	bool "Slice by 8 bytes"
1295cde7656SDarrick J. Wong	help
1305cde7656SDarrick J. Wong	  Calculate checksum 8 bytes at a time with a clever slicing algorithm.
1315cde7656SDarrick J. Wong	  This is the fastest algorithm, but comes with a 8KiB lookup table.
1325cde7656SDarrick J. Wong	  Most modern processors have enough cache to hold this table without
1335cde7656SDarrick J. Wong	  thrashing the cache.
1345cde7656SDarrick J. Wong
1355cde7656SDarrick J. Wong	  This is the default implementation choice.  Choose this one unless
1365cde7656SDarrick J. Wong	  you have a good reason not to.
1375cde7656SDarrick J. Wong
1385cde7656SDarrick J. Wongconfig CRC32_SLICEBY4
1395cde7656SDarrick J. Wong	bool "Slice by 4 bytes"
1405cde7656SDarrick J. Wong	help
1415cde7656SDarrick J. Wong	  Calculate checksum 4 bytes at a time with a clever slicing algorithm.
1425cde7656SDarrick J. Wong	  This is a bit slower than slice by 8, but has a smaller 4KiB lookup
1435cde7656SDarrick J. Wong	  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_SARWATE
1485cde7656SDarrick J. Wong	bool "Sarwate's Algorithm (one byte at a time)"
1495cde7656SDarrick J. Wong	help
1505cde7656SDarrick J. Wong	  Calculate checksum a byte at a time using Sarwate's algorithm.  This
1515cde7656SDarrick J. Wong	  is not particularly fast, but has a small 256 byte lookup table.
1525cde7656SDarrick J. Wong
1535cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1545cde7656SDarrick J. Wong
1555cde7656SDarrick J. Wongconfig CRC32_BIT
1565cde7656SDarrick J. Wong	bool "Classic Algorithm (one bit at a time)"
1575cde7656SDarrick J. Wong	help
1585cde7656SDarrick J. Wong	  Calculate checksum one bit at a time.  This is VERY slow, but has
1595cde7656SDarrick J. Wong	  no lookup table.  This is provided as a debugging option.
1605cde7656SDarrick J. Wong
1615cde7656SDarrick J. Wong	  Only choose this option if you are debugging crc32.
1625cde7656SDarrick J. Wong
1635cde7656SDarrick J. Wongendchoice
1645cde7656SDarrick J. Wong
165ad241528SJan Nikitenkoconfig CRC7
166ad241528SJan Nikitenko	tristate "CRC7 functions"
167ad241528SJan Nikitenko	help
168ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
169ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
170ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
171ad241528SJan Nikitenko	  functions require M here.
172ad241528SJan Nikitenko
1731da177e4SLinus Torvaldsconfig LIBCRC32C
1741da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
17593027354SHerbert Xu	select CRYPTO
17669c35efcSHerbert Xu	select CRYPTO_CRC32C
1771da177e4SLinus Torvalds	help
1781da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
1791da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
1801da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
1811da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
1821da177e4SLinus Torvalds	  Module will be libcrc32c.
1831da177e4SLinus Torvalds
1847150962dSArend van Sprielconfig CRC8
1857150962dSArend van Spriel	tristate "CRC8 function"
1867150962dSArend van Spriel	help
1877150962dSArend van Spriel	  This option provides CRC8 function. Drivers may select this
1887150962dSArend van Spriel	  when they need to do cyclic redundancy check according CRC8
1897150962dSArend van Spriel	  algorithm. Module will be called crc8.
1907150962dSArend van Spriel
191e65e1fc2SAl Viroconfig AUDIT_GENERIC
192e65e1fc2SAl Viro	bool
193e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
194e65e1fc2SAl Viro	default y
195e65e1fc2SAl Viro
1964b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC
1974b588411SAKASHI Takahiro	bool
1984b588411SAKASHI Takahiro	default n
1994b588411SAKASHI Takahiro
2004b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC
2014b588411SAKASHI Takahiro	bool
2024b588411SAKASHI Takahiro	depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
2034b588411SAKASHI Takahiro	default y
2044b588411SAKASHI Takahiro
205a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST
206a6a9c0f1SDaniel Borkmann	bool "PRNG perform self test on init"
207a6a9c0f1SDaniel Borkmann	default n
208a6a9c0f1SDaniel Borkmann	help
209a6a9c0f1SDaniel Borkmann	  This option enables the 32 bit PRNG library functions to perform a
210a6a9c0f1SDaniel Borkmann	  self test on initialization.
211a6a9c0f1SDaniel Borkmann
2121da177e4SLinus Torvalds#
2131da177e4SLinus Torvalds# compression support is select'ed if needed
2141da177e4SLinus Torvalds#
2151da177e4SLinus Torvaldsconfig ZLIB_INFLATE
2161da177e4SLinus Torvalds	tristate
2171da177e4SLinus Torvalds
2181da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
2191da177e4SLinus Torvalds	tristate
2201da177e4SLinus Torvalds
22164c70b1cSRichard Purdieconfig LZO_COMPRESS
22264c70b1cSRichard Purdie	tristate
22364c70b1cSRichard Purdie
22464c70b1cSRichard Purdieconfig LZO_DECOMPRESS
22564c70b1cSRichard Purdie	tristate
22664c70b1cSRichard Purdie
227c72ac7a1SChanho Minconfig LZ4_COMPRESS
228c72ac7a1SChanho Min	tristate
229c72ac7a1SChanho Min
230c72ac7a1SChanho Minconfig LZ4HC_COMPRESS
231c72ac7a1SChanho Min	tristate
232c72ac7a1SChanho Min
233e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS
234e76e1fdfSKyungsik Lee	tristate
235e76e1fdfSKyungsik Lee
23624fa0402SLasse Collinsource "lib/xz/Kconfig"
23724fa0402SLasse Collin
2381da177e4SLinus Torvalds#
239c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with
240c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
241c8531ab3SH. Peter Anvin#
242c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP
2437856a16eSH. Peter Anvin	select ZLIB_INFLATE
244c8531ab3SH. Peter Anvin	tristate
245c8531ab3SH. Peter Anvin
246c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2
247c8531ab3SH. Peter Anvin	tristate
248c8531ab3SH. Peter Anvin
249c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA
250c8531ab3SH. Peter Anvin	tristate
251c8531ab3SH. Peter Anvin
2523ebe1243SLasse Collinconfig DECOMPRESS_XZ
2533ebe1243SLasse Collin	select XZ_DEC
2543ebe1243SLasse Collin	tristate
2553ebe1243SLasse Collin
256cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO
257cacb246fSAlbin Tonnerre	select LZO_DECOMPRESS
258cacb246fSAlbin Tonnerre	tristate
259cacb246fSAlbin Tonnerre
260e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4
261e76e1fdfSKyungsik Lee	select LZ4_DECOMPRESS
262e76e1fdfSKyungsik Lee	tristate
263e76e1fdfSKyungsik Lee
264c8531ab3SH. Peter Anvin#
265f14f75b8SJes Sorensen# Generic allocator support is selected if needed
266f14f75b8SJes Sorensen#
267f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
2686341e62bSChristoph Jaeger	bool
269f14f75b8SJes Sorensen
270f14f75b8SJes Sorensen#
2711da177e4SLinus Torvalds# reed solomon support is select'ed if needed
2721da177e4SLinus Torvalds#
2731da177e4SLinus Torvaldsconfig REED_SOLOMON
2741da177e4SLinus Torvalds	tristate
2751da177e4SLinus Torvalds
2761da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
2776341e62bSChristoph Jaeger	bool
2781da177e4SLinus Torvalds
2791da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
2806341e62bSChristoph Jaeger	bool
2811da177e4SLinus Torvalds
2821da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
2836341e62bSChristoph Jaeger	bool
2841da177e4SLinus Torvalds
2851da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
2866341e62bSChristoph Jaeger	bool
2871da177e4SLinus Torvalds
288f7704347SDavid S. Miller#
289437aa565SIvan Djelic# BCH support is selected if needed
290437aa565SIvan Djelic#
291437aa565SIvan Djelicconfig BCH
292437aa565SIvan Djelic	tristate
293437aa565SIvan Djelic
294437aa565SIvan Djelicconfig BCH_CONST_PARAMS
2956341e62bSChristoph Jaeger	bool
296437aa565SIvan Djelic	help
297437aa565SIvan Djelic	  Drivers may select this option to force specific constant
298437aa565SIvan Djelic	  values for parameters 'm' (Galois field order) and 't'
299437aa565SIvan Djelic	  (error correction capability). Those specific values must
300437aa565SIvan Djelic	  be set by declaring default values for symbols BCH_CONST_M
301437aa565SIvan Djelic	  and BCH_CONST_T.
302437aa565SIvan Djelic	  Doing so will enable extra compiler optimizations,
303437aa565SIvan Djelic	  improving encoding and decoding performance up to 2x for
304437aa565SIvan Djelic	  usual (m,t) values (typically such that m*t < 200).
305437aa565SIvan Djelic	  When this option is selected, the BCH library supports
306437aa565SIvan Djelic	  only a single (m,t) configuration. This is mainly useful
307437aa565SIvan Djelic	  for NAND flash board drivers requiring known, fixed BCH
308437aa565SIvan Djelic	  parameters.
309437aa565SIvan Djelic
310437aa565SIvan Djelicconfig BCH_CONST_M
311437aa565SIvan Djelic	int
312437aa565SIvan Djelic	range 5 15
313437aa565SIvan Djelic	help
314437aa565SIvan Djelic	  Constant value for Galois field order 'm'. If 'k' is the
315437aa565SIvan Djelic	  number of data bits to protect, 'm' should be chosen such
316437aa565SIvan Djelic	  that (k + m*t) <= 2**m - 1.
317437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
318437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
319437aa565SIvan Djelic
320437aa565SIvan Djelicconfig BCH_CONST_T
321437aa565SIvan Djelic	int
322437aa565SIvan Djelic	help
323437aa565SIvan Djelic	  Constant value for error correction capability in bits 't'.
324437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
325437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
326437aa565SIvan Djelic
327437aa565SIvan Djelic#
328f7704347SDavid S. Miller# Textsearch support is select'ed if needed
329f7704347SDavid S. Miller#
3302de4ff7bSThomas Grafconfig TEXTSEARCH
3316341e62bSChristoph Jaeger	bool
3321da177e4SLinus Torvalds
333df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
334f7704347SDavid S. Miller	tristate
335df3fb93aSThomas Graf
3368082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
33729cb9f9cSDavid S. Miller	tristate
3388082e4edSPablo Neira Ayuso
3396408f79cSThomas Grafconfig TEXTSEARCH_FSM
340f7704347SDavid S. Miller	tristate
3416408f79cSThomas Graf
3425db53f3eSJoern Engelconfig BTREE
3436341e62bSChristoph Jaeger	bool
3445db53f3eSJoern Engel
345a88cc108SChris Wilsonconfig INTERVAL_TREE
3466341e62bSChristoph Jaeger	bool
347a88cc108SChris Wilson	help
348a88cc108SChris Wilson	  Simple, embeddable, interval-tree. Can find the start of an
349a88cc108SChris Wilson	  overlapping range in log(n) time and then iterate over all
350a88cc108SChris Wilson	  overlapping nodes. The algorithm is implemented as an
351a88cc108SChris Wilson	  augmented rbtree.
352a88cc108SChris Wilson
353a88cc108SChris Wilson	  See:
354a88cc108SChris Wilson
355a88cc108SChris Wilson		Documentation/rbtree.txt
356a88cc108SChris Wilson
357a88cc108SChris Wilson	  for more information.
358a88cc108SChris Wilson
3593cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY
3603cb98950SDavid Howells	bool
3613cb98950SDavid Howells	help
3623cb98950SDavid Howells	  Generic associative array.  Can be searched and iterated over whilst
3633cb98950SDavid Howells	  it is being modified.  It is also reasonably quick to search and
3643cb98950SDavid Howells	  modify.  The algorithms are non-recursive, and the trees are highly
3653cb98950SDavid Howells	  capacious.
3663cb98950SDavid Howells
3673cb98950SDavid Howells	  See:
3683cb98950SDavid Howells
3693cb98950SDavid Howells		Documentation/assoc_array.txt
3703cb98950SDavid Howells
3713cb98950SDavid Howells	  for more information.
3723cb98950SDavid Howells
3735ea81769SAl Viroconfig HAS_IOMEM
3746341e62bSChristoph Jaeger	bool
3755ea81769SAl Viro	depends on !NO_IOMEM
376087fafd1SRichard Weinberger	select GENERIC_IO
3775ea81769SAl Viro	default y
3785ea81769SAl Viro
379ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP
3806341e62bSChristoph Jaeger	bool
381ce816fa8SUwe Kleine-König	depends on HAS_IOMEM && !NO_IOPORT_MAP
382ee36c2bfSAl Viro	default y
383ee36c2bfSAl Viro
384411f0f3eSHeiko Carstensconfig HAS_DMA
3856341e62bSChristoph Jaeger	bool
386411f0f3eSHeiko Carstens	depends on !NO_DMA
387411f0f3eSHeiko Carstens	default y
388411f0f3eSHeiko Carstens
389928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
390928923c7SGeert Uytterhoeven	bool
391928923c7SGeert Uytterhoeven
392aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
393aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
394aab46da0SRusty Russell	help
395aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
396aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
397aab46da0SRusty Russell	  stack overflow.
398aab46da0SRusty Russell
399c39649c3SBen Hutchingsconfig CPU_RMAP
400c39649c3SBen Hutchings	bool
401c39649c3SBen Hutchings	depends on SMP
402c39649c3SBen Hutchings
40375957ba3STom Herbertconfig DQL
40475957ba3STom Herbert	bool
40575957ba3STom Herbert
406b0125085SGeorge Spelvinconfig GLOB
407b0125085SGeorge Spelvin	bool
408b0125085SGeorge Spelvin#	This actually supports modular compilation, but the module overhead
409b0125085SGeorge Spelvin#	is ridiculous for the amount of code involved.	Until an out-of-tree
410b0125085SGeorge Spelvin#	driver asks for it, we'll just link it directly it into the kernel
411b0125085SGeorge Spelvin#	when required.  Since we're ignoring out-of-tree users,	there's also
412b0125085SGeorge Spelvin#	no need bother prompting for a manual decision:
413b0125085SGeorge Spelvin#	prompt "glob_match() function"
414b0125085SGeorge Spelvin	help
415b0125085SGeorge Spelvin	  This option provides a glob_match function for performing
416b0125085SGeorge Spelvin	  simple text pattern matching.  It originated in the ATA code
417b0125085SGeorge Spelvin	  to blacklist particular drive models, but other device drivers
418b0125085SGeorge Spelvin	  may need similar functionality.
419b0125085SGeorge Spelvin
420b0125085SGeorge Spelvin	  All drivers in the Linux kernel tree that require this function
421b0125085SGeorge Spelvin	  should automatically select this option.  Say N unless you
422b0125085SGeorge Spelvin	  are compiling an out-of tree driver which tells you that it
423b0125085SGeorge Spelvin	  depends on this.
424b0125085SGeorge Spelvin
4255f9be824SGeorge Spelvinconfig GLOB_SELFTEST
4265f9be824SGeorge Spelvin	bool "glob self-test on init"
4275f9be824SGeorge Spelvin	default n
4285f9be824SGeorge Spelvin	depends on GLOB
4295f9be824SGeorge Spelvin	help
4305f9be824SGeorge Spelvin	  This option enables a simple self-test of the glob_match
4315f9be824SGeorge Spelvin	  function on startup.	It is primarily useful for people
4325f9be824SGeorge Spelvin	  working on the code to ensure they haven't introduced any
4335f9be824SGeorge Spelvin	  regressions.
4345f9be824SGeorge Spelvin
4355f9be824SGeorge Spelvin	  It only adds a little bit of code and slows kernel boot (or
4365f9be824SGeorge Spelvin	  module load) by a small amount, so you're welcome to play with
4375f9be824SGeorge Spelvin	  it, but you probably don't need it.
4385f9be824SGeorge Spelvin
439e9cc8bddSGeert Uytterhoeven#
440e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed
441e9cc8bddSGeert Uytterhoeven#
442e9cc8bddSGeert Uytterhoevenconfig NLATTR
443e9cc8bddSGeert Uytterhoeven	bool
444e9cc8bddSGeert Uytterhoeven
44509d4e0edSPaul Mackerras#
44609d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed
44709d4e0edSPaul Mackerras#
44809d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64
44909d4e0edSPaul Mackerras       bool
45009d4e0edSPaul Mackerras
4517463449bSCatalin Marinasconfig ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
4527463449bSCatalin Marinas	def_bool y if GENERIC_ATOMIC64
4537463449bSCatalin Marinas
454b411b363SPhilipp Reisnerconfig LRU_CACHE
455b411b363SPhilipp Reisner	tristate
456b411b363SPhilipp Reisner
457c5485a7eSBruno Randolfconfig AVERAGE
458a7a9a24dSMichael Buesch	bool "Averaging functions"
459a7a9a24dSMichael Buesch	help
460a7a9a24dSMichael Buesch	  This option is provided for the case where no in-kernel-tree
461a7a9a24dSMichael Buesch	  modules require averaging functions, but a module built outside
462a7a9a24dSMichael Buesch	  the kernel tree does. Such modules that use library averaging
463a7a9a24dSMichael Buesch	  functions require Y here.
464a7a9a24dSMichael Buesch
465a7a9a24dSMichael Buesch	  If unsure, say N.
466c5485a7eSBruno Randolf
467c6df4b17SDavid Millerconfig CLZ_TAB
468c6df4b17SDavid Miller	bool
469c6df4b17SDavid Miller
47010f8113eSArend van Sprielconfig CORDIC
471d89ce936SMichael Witten	tristate "CORDIC algorithm"
47210f8113eSArend van Spriel	help
473435a95c5SMichael Witten	  This option provides an implementation of the CORDIC algorithm;
474435a95c5SMichael Witten	  calculations are in fixed point. Module will be called cordic.
47510f8113eSArend van Spriel
4769c1c21a0SAneesh Vconfig DDR
4779c1c21a0SAneesh V	bool "JEDEC DDR data"
4789c1c21a0SAneesh V	help
4799c1c21a0SAneesh V	  Data from JEDEC specs for DDR SDRAM memories,
4809c1c21a0SAneesh V	  particularly the AC timing parameters and addressing
4819c1c21a0SAneesh V	  information. This data is useful for drivers handling
4829c1c21a0SAneesh V	  DDR SDRAM controllers.
4839c1c21a0SAneesh V
484d9c46b18SDmitry Kasatkinconfig MPILIB
4852e5f094bSDmitry Kasatkin	tristate
486c6df4b17SDavid Miller	select CLZ_TAB
487d9c46b18SDmitry Kasatkin	help
488d9c46b18SDmitry Kasatkin	  Multiprecision maths library from GnuPG.
489d9c46b18SDmitry Kasatkin	  It is used to implement RSA digital signature verification,
490d9c46b18SDmitry Kasatkin	  which is used by IMA/EVM digital signature extension.
491d9c46b18SDmitry Kasatkin
4925e8898e9SDmitry Kasatkinconfig SIGNATURE
4932e5f094bSDmitry Kasatkin	tristate
4940d1f64f6SDmitry Kasatkin	depends on KEYS
4950d1f64f6SDmitry Kasatkin	select CRYPTO
496be440ec7SDmitry Kasatkin	select CRYPTO_SHA1
497051dbb91SDmitry Kasatkin	select MPILIB
498051dbb91SDmitry Kasatkin	help
499051dbb91SDmitry Kasatkin	  Digital signature verification. Currently only RSA is supported.
500051dbb91SDmitry Kasatkin	  Implementation is done using GnuPG MPI library
501051dbb91SDmitry Kasatkin
502ab253839SDavid Daney#
503ab253839SDavid Daney# libfdt files, only selected if needed.
504ab253839SDavid Daney#
505ab253839SDavid Daneyconfig LIBFDT
506ab253839SDavid Daney	bool
507ab253839SDavid Daney
508a77ad6eaSDavid Howellsconfig OID_REGISTRY
509a77ad6eaSDavid Howells	tristate
510a77ad6eaSDavid Howells	help
511a77ad6eaSDavid Howells	  Enable fast lookup object identifier registry.
512a77ad6eaSDavid Howells
5130635eb8aSMatthew Garrettconfig UCS2_STRING
5140635eb8aSMatthew Garrett        tristate
5150635eb8aSMatthew Garrett
516ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig"
517ee89bd6bSGeert Uytterhoeven
518308c09f1SLaura Abbott#
519308c09f1SLaura Abbott# sg chaining option
520308c09f1SLaura Abbott#
521308c09f1SLaura Abbott
522308c09f1SLaura Abbottconfig ARCH_HAS_SG_CHAIN
523308c09f1SLaura Abbott	def_bool n
524308c09f1SLaura Abbott
525*61031952SRoss Zwislerconfig ARCH_HAS_PMEM_API
526*61031952SRoss Zwisler	bool
527*61031952SRoss Zwisler
5282de4ff7bSThomas Grafendmenu
529