xref: /openbmc/linux/lib/Kconfig (revision 2da572c9)
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
21556d2f05SYalin Wang	  This option provides an config for the architecture which have instruction
22556d2f05SYalin Wang	  can do bitreverse operation, we use the hardware instruction if the architecture
23556d2f05SYalin Wang	  have this capability.
24556d2f05SYalin Wang
258759ef32SOskar Schirmerconfig RATIONAL
266341e62bSChristoph Jaeger	bool
278759ef32SOskar Schirmer
282922585bSDavid S. Millerconfig GENERIC_STRNCPY_FROM_USER
292922585bSDavid S. Miller	bool
302922585bSDavid S. Miller
31a08c5356SLinus Torvaldsconfig GENERIC_STRNLEN_USER
32a08c5356SLinus Torvalds	bool
33a08c5356SLinus Torvalds
344cd5773aSAndy Shevchenkoconfig GENERIC_NET_UTILS
354cd5773aSAndy Shevchenko	bool
364cd5773aSAndy Shevchenko
3719870defSAlexander van Heukelumconfig GENERIC_FIND_FIRST_BIT
389ba16087SJan Beulich	bool
3919870defSAlexander van Heukelum
40b923650bSMichael S. Tsirkinconfig NO_GENERIC_PCI_IOPORT_MAP
41b923650bSMichael S. Tsirkin	bool
42b923650bSMichael S. Tsirkin
4366eab4dfSMichael S. Tsirkinconfig GENERIC_PCI_IOMAP
4466eab4dfSMichael S. Tsirkin	bool
4566eab4dfSMichael S. Tsirkin
464673ca8eSMichael S. Tsirkinconfig GENERIC_IOMAP
474673ca8eSMichael S. Tsirkin	bool
4866eab4dfSMichael S. Tsirkin	select GENERIC_PCI_IOMAP
494673ca8eSMichael S. Tsirkin
50087fafd1SRichard Weinbergerconfig GENERIC_IO
516341e62bSChristoph Jaeger	bool
52087fafd1SRichard Weinberger	default n
53087fafd1SRichard Weinberger
544ccf4beaSWolfram Sangconfig STMP_DEVICE
554ccf4beaSWolfram Sang	bool
564ccf4beaSWolfram Sang
5722b361d1SOleg Nesterovconfig PERCPU_RWSEM
586341e62bSChristoph Jaeger	bool
5922b361d1SOleg Nesterov
60bc08b449SLinus Torvaldsconfig ARCH_USE_CMPXCHG_LOCKREF
61bc08b449SLinus Torvalds	bool
62bc08b449SLinus Torvalds
6372d93104SLinus Torvaldsconfig ARCH_HAS_FAST_MULTIPLIER
6472d93104SLinus Torvalds	bool
6572d93104SLinus Torvalds
661da177e4SLinus Torvaldsconfig CRC_CCITT
671da177e4SLinus Torvalds	tristate "CRC-CCITT functions"
681da177e4SLinus Torvalds	help
691da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
701da177e4SLinus Torvalds	  modules require CRC-CCITT functions, but a module built outside
711da177e4SLinus Torvalds	  the kernel tree does. Such modules that use library CRC-CCITT
721da177e4SLinus Torvalds	  functions require M here.
731da177e4SLinus Torvalds
747657ec1fSEvgeniy Polyakovconfig CRC16
757657ec1fSEvgeniy Polyakov	tristate "CRC16 functions"
767657ec1fSEvgeniy Polyakov	help
777657ec1fSEvgeniy Polyakov	  This option is provided for the case where no in-kernel-tree
787657ec1fSEvgeniy Polyakov	  modules require CRC16 functions, but a module built outside
797657ec1fSEvgeniy Polyakov	  the kernel tree does. Such modules that use library CRC16
807657ec1fSEvgeniy Polyakov	  functions require M here.
817657ec1fSEvgeniy Polyakov
82f11f594eSMartin K. Petersenconfig CRC_T10DIF
83f11f594eSMartin K. Petersen	tristate "CRC calculation for the T10 Data Integrity Field"
8468411521SHerbert Xu	select CRYPTO
8568411521SHerbert Xu	select CRYPTO_CRCT10DIF
86f11f594eSMartin K. Petersen	help
87f11f594eSMartin K. Petersen	  This option is only needed if a module that's not in the
88f11f594eSMartin K. Petersen	  kernel tree needs to calculate CRC checks for use with the
89f11f594eSMartin K. Petersen	  SCSI data integrity subsystem.
90f11f594eSMartin K. Petersen
913e7cbae7SIvo van Doornconfig CRC_ITU_T
923e7cbae7SIvo van Doorn	tristate "CRC ITU-T V.41 functions"
933e7cbae7SIvo van Doorn	help
943e7cbae7SIvo van Doorn	  This option is provided for the case where no in-kernel-tree
953e7cbae7SIvo van Doorn	  modules require CRC ITU-T V.41 functions, but a module built outside
963e7cbae7SIvo van Doorn	  the kernel tree does. Such modules that use library CRC ITU-T V.41
973e7cbae7SIvo van Doorn	  functions require M here.
983e7cbae7SIvo van Doorn
991da177e4SLinus Torvaldsconfig CRC32
10046c5801eSDarrick J. Wong	tristate "CRC32/CRC32c functions"
1011da177e4SLinus Torvalds	default y
102906d66dfSAkinobu Mita	select BITREVERSE
1031da177e4SLinus Torvalds	help
1041da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
10546c5801eSDarrick J. Wong	  modules require CRC32/CRC32c functions, but a module built outside
10646c5801eSDarrick J. Wong	  the kernel tree does. Such modules that use library CRC32/CRC32c
10746c5801eSDarrick J. Wong	  functions require M here.
1081da177e4SLinus Torvalds
1093863ef31SBob Pearsonconfig CRC32_SELFTEST
1103863ef31SBob Pearson	bool "CRC32 perform self test on init"
1113863ef31SBob Pearson	default n
1123863ef31SBob Pearson	depends on CRC32
1133863ef31SBob Pearson	help
1143863ef31SBob Pearson	  This option enables the CRC32 library functions to perform a
1153863ef31SBob Pearson	  self test on initialization. The self test computes crc32_le
1163863ef31SBob Pearson	  and crc32_be over byte strings with random alignment and length
1173863ef31SBob Pearson	  and computes the total elapsed time and number of bytes processed.
1183863ef31SBob Pearson
1195cde7656SDarrick J. Wongchoice
1205cde7656SDarrick J. Wong	prompt "CRC32 implementation"
1215cde7656SDarrick J. Wong	depends on CRC32
1225cde7656SDarrick J. Wong	default CRC32_SLICEBY8
12382edb4baSDarrick J. Wong	help
12482edb4baSDarrick J. Wong	  This option allows a kernel builder to override the default choice
12582edb4baSDarrick J. Wong	  of CRC32 algorithm.  Choose the default ("slice by 8") unless you
12682edb4baSDarrick J. Wong	  know that you need one of the others.
1275cde7656SDarrick J. Wong
1285cde7656SDarrick J. Wongconfig CRC32_SLICEBY8
1295cde7656SDarrick J. Wong	bool "Slice by 8 bytes"
1305cde7656SDarrick J. Wong	help
1315cde7656SDarrick J. Wong	  Calculate checksum 8 bytes at a time with a clever slicing algorithm.
1325cde7656SDarrick J. Wong	  This is the fastest algorithm, but comes with a 8KiB lookup table.
1335cde7656SDarrick J. Wong	  Most modern processors have enough cache to hold this table without
1345cde7656SDarrick J. Wong	  thrashing the cache.
1355cde7656SDarrick J. Wong
1365cde7656SDarrick J. Wong	  This is the default implementation choice.  Choose this one unless
1375cde7656SDarrick J. Wong	  you have a good reason not to.
1385cde7656SDarrick J. Wong
1395cde7656SDarrick J. Wongconfig CRC32_SLICEBY4
1405cde7656SDarrick J. Wong	bool "Slice by 4 bytes"
1415cde7656SDarrick J. Wong	help
1425cde7656SDarrick J. Wong	  Calculate checksum 4 bytes at a time with a clever slicing algorithm.
1435cde7656SDarrick J. Wong	  This is a bit slower than slice by 8, but has a smaller 4KiB lookup
1445cde7656SDarrick J. Wong	  table.
1455cde7656SDarrick J. Wong
1465cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1475cde7656SDarrick J. Wong
1485cde7656SDarrick J. Wongconfig CRC32_SARWATE
1495cde7656SDarrick J. Wong	bool "Sarwate's Algorithm (one byte at a time)"
1505cde7656SDarrick J. Wong	help
1515cde7656SDarrick J. Wong	  Calculate checksum a byte at a time using Sarwate's algorithm.  This
1525cde7656SDarrick J. Wong	  is not particularly fast, but has a small 256 byte lookup table.
1535cde7656SDarrick J. Wong
1545cde7656SDarrick J. Wong	  Only choose this option if you know what you are doing.
1555cde7656SDarrick J. Wong
1565cde7656SDarrick J. Wongconfig CRC32_BIT
1575cde7656SDarrick J. Wong	bool "Classic Algorithm (one bit at a time)"
1585cde7656SDarrick J. Wong	help
1595cde7656SDarrick J. Wong	  Calculate checksum one bit at a time.  This is VERY slow, but has
1605cde7656SDarrick J. Wong	  no lookup table.  This is provided as a debugging option.
1615cde7656SDarrick J. Wong
1625cde7656SDarrick J. Wong	  Only choose this option if you are debugging crc32.
1635cde7656SDarrick J. Wong
1645cde7656SDarrick J. Wongendchoice
1655cde7656SDarrick J. Wong
166ad241528SJan Nikitenkoconfig CRC7
167ad241528SJan Nikitenko	tristate "CRC7 functions"
168ad241528SJan Nikitenko	help
169ad241528SJan Nikitenko	  This option is provided for the case where no in-kernel-tree
170ad241528SJan Nikitenko	  modules require CRC7 functions, but a module built outside
171ad241528SJan Nikitenko	  the kernel tree does. Such modules that use library CRC7
172ad241528SJan Nikitenko	  functions require M here.
173ad241528SJan Nikitenko
1741da177e4SLinus Torvaldsconfig LIBCRC32C
1751da177e4SLinus Torvalds	tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
17693027354SHerbert Xu	select CRYPTO
17769c35efcSHerbert Xu	select CRYPTO_CRC32C
1781da177e4SLinus Torvalds	help
1791da177e4SLinus Torvalds	  This option is provided for the case where no in-kernel-tree
1801da177e4SLinus Torvalds	  modules require CRC32c functions, but a module built outside the
1811da177e4SLinus Torvalds	  kernel tree does. Such modules that use library CRC32c functions
1821da177e4SLinus Torvalds	  require M here.  See Castagnoli93.
1831da177e4SLinus Torvalds	  Module will be libcrc32c.
1841da177e4SLinus Torvalds
1857150962dSArend van Sprielconfig CRC8
1867150962dSArend van Spriel	tristate "CRC8 function"
1877150962dSArend van Spriel	help
1887150962dSArend van Spriel	  This option provides CRC8 function. Drivers may select this
1897150962dSArend van Spriel	  when they need to do cyclic redundancy check according CRC8
1907150962dSArend van Spriel	  algorithm. Module will be called crc8.
1917150962dSArend van Spriel
192e65e1fc2SAl Viroconfig AUDIT_GENERIC
193e65e1fc2SAl Viro	bool
194e65e1fc2SAl Viro	depends on AUDIT && !AUDIT_ARCH
195e65e1fc2SAl Viro	default y
196e65e1fc2SAl Viro
1974b588411SAKASHI Takahiroconfig AUDIT_ARCH_COMPAT_GENERIC
1984b588411SAKASHI Takahiro	bool
1994b588411SAKASHI Takahiro	default n
2004b588411SAKASHI Takahiro
2014b588411SAKASHI Takahiroconfig AUDIT_COMPAT_GENERIC
2024b588411SAKASHI Takahiro	bool
2034b588411SAKASHI Takahiro	depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
2044b588411SAKASHI Takahiro	default y
2054b588411SAKASHI Takahiro
206a6a9c0f1SDaniel Borkmannconfig RANDOM32_SELFTEST
207a6a9c0f1SDaniel Borkmann	bool "PRNG perform self test on init"
208a6a9c0f1SDaniel Borkmann	default n
209a6a9c0f1SDaniel Borkmann	help
210a6a9c0f1SDaniel Borkmann	  This option enables the 32 bit PRNG library functions to perform a
211a6a9c0f1SDaniel Borkmann	  self test on initialization.
212a6a9c0f1SDaniel Borkmann
2131da177e4SLinus Torvalds#
2141da177e4SLinus Torvalds# compression support is select'ed if needed
2151da177e4SLinus Torvalds#
216*2da572c9SDan Streetmanconfig 842_COMPRESS
217*2da572c9SDan Streetman	tristate
218*2da572c9SDan Streetman
219*2da572c9SDan Streetmanconfig 842_DECOMPRESS
220*2da572c9SDan Streetman	tristate
221*2da572c9SDan Streetman
2221da177e4SLinus Torvaldsconfig ZLIB_INFLATE
2231da177e4SLinus Torvalds	tristate
2241da177e4SLinus Torvalds
2251da177e4SLinus Torvaldsconfig ZLIB_DEFLATE
2261da177e4SLinus Torvalds	tristate
2271da177e4SLinus Torvalds
22864c70b1cSRichard Purdieconfig LZO_COMPRESS
22964c70b1cSRichard Purdie	tristate
23064c70b1cSRichard Purdie
23164c70b1cSRichard Purdieconfig LZO_DECOMPRESS
23264c70b1cSRichard Purdie	tristate
23364c70b1cSRichard Purdie
234c72ac7a1SChanho Minconfig LZ4_COMPRESS
235c72ac7a1SChanho Min	tristate
236c72ac7a1SChanho Min
237c72ac7a1SChanho Minconfig LZ4HC_COMPRESS
238c72ac7a1SChanho Min	tristate
239c72ac7a1SChanho Min
240e76e1fdfSKyungsik Leeconfig LZ4_DECOMPRESS
241e76e1fdfSKyungsik Lee	tristate
242e76e1fdfSKyungsik Lee
24324fa0402SLasse Collinsource "lib/xz/Kconfig"
24424fa0402SLasse Collin
2451da177e4SLinus Torvalds#
246c8531ab3SH. Peter Anvin# These all provide a common interface (hence the apparent duplication with
247c8531ab3SH. Peter Anvin# ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
248c8531ab3SH. Peter Anvin#
249c8531ab3SH. Peter Anvinconfig DECOMPRESS_GZIP
2507856a16eSH. Peter Anvin	select ZLIB_INFLATE
251c8531ab3SH. Peter Anvin	tristate
252c8531ab3SH. Peter Anvin
253c8531ab3SH. Peter Anvinconfig DECOMPRESS_BZIP2
254c8531ab3SH. Peter Anvin	tristate
255c8531ab3SH. Peter Anvin
256c8531ab3SH. Peter Anvinconfig DECOMPRESS_LZMA
257c8531ab3SH. Peter Anvin	tristate
258c8531ab3SH. Peter Anvin
2593ebe1243SLasse Collinconfig DECOMPRESS_XZ
2603ebe1243SLasse Collin	select XZ_DEC
2613ebe1243SLasse Collin	tristate
2623ebe1243SLasse Collin
263cacb246fSAlbin Tonnerreconfig DECOMPRESS_LZO
264cacb246fSAlbin Tonnerre	select LZO_DECOMPRESS
265cacb246fSAlbin Tonnerre	tristate
266cacb246fSAlbin Tonnerre
267e76e1fdfSKyungsik Leeconfig DECOMPRESS_LZ4
268e76e1fdfSKyungsik Lee	select LZ4_DECOMPRESS
269e76e1fdfSKyungsik Lee	tristate
270e76e1fdfSKyungsik Lee
271c8531ab3SH. Peter Anvin#
272f14f75b8SJes Sorensen# Generic allocator support is selected if needed
273f14f75b8SJes Sorensen#
274f14f75b8SJes Sorensenconfig GENERIC_ALLOCATOR
2756341e62bSChristoph Jaeger	bool
276f14f75b8SJes Sorensen
277f14f75b8SJes Sorensen#
2781da177e4SLinus Torvalds# reed solomon support is select'ed if needed
2791da177e4SLinus Torvalds#
2801da177e4SLinus Torvaldsconfig REED_SOLOMON
2811da177e4SLinus Torvalds	tristate
2821da177e4SLinus Torvalds
2831da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC8
2846341e62bSChristoph Jaeger	bool
2851da177e4SLinus Torvalds
2861da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC8
2876341e62bSChristoph Jaeger	bool
2881da177e4SLinus Torvalds
2891da177e4SLinus Torvaldsconfig REED_SOLOMON_ENC16
2906341e62bSChristoph Jaeger	bool
2911da177e4SLinus Torvalds
2921da177e4SLinus Torvaldsconfig REED_SOLOMON_DEC16
2936341e62bSChristoph Jaeger	bool
2941da177e4SLinus Torvalds
295f7704347SDavid S. Miller#
296437aa565SIvan Djelic# BCH support is selected if needed
297437aa565SIvan Djelic#
298437aa565SIvan Djelicconfig BCH
299437aa565SIvan Djelic	tristate
300437aa565SIvan Djelic
301437aa565SIvan Djelicconfig BCH_CONST_PARAMS
3026341e62bSChristoph Jaeger	bool
303437aa565SIvan Djelic	help
304437aa565SIvan Djelic	  Drivers may select this option to force specific constant
305437aa565SIvan Djelic	  values for parameters 'm' (Galois field order) and 't'
306437aa565SIvan Djelic	  (error correction capability). Those specific values must
307437aa565SIvan Djelic	  be set by declaring default values for symbols BCH_CONST_M
308437aa565SIvan Djelic	  and BCH_CONST_T.
309437aa565SIvan Djelic	  Doing so will enable extra compiler optimizations,
310437aa565SIvan Djelic	  improving encoding and decoding performance up to 2x for
311437aa565SIvan Djelic	  usual (m,t) values (typically such that m*t < 200).
312437aa565SIvan Djelic	  When this option is selected, the BCH library supports
313437aa565SIvan Djelic	  only a single (m,t) configuration. This is mainly useful
314437aa565SIvan Djelic	  for NAND flash board drivers requiring known, fixed BCH
315437aa565SIvan Djelic	  parameters.
316437aa565SIvan Djelic
317437aa565SIvan Djelicconfig BCH_CONST_M
318437aa565SIvan Djelic	int
319437aa565SIvan Djelic	range 5 15
320437aa565SIvan Djelic	help
321437aa565SIvan Djelic	  Constant value for Galois field order 'm'. If 'k' is the
322437aa565SIvan Djelic	  number of data bits to protect, 'm' should be chosen such
323437aa565SIvan Djelic	  that (k + m*t) <= 2**m - 1.
324437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
325437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
326437aa565SIvan Djelic
327437aa565SIvan Djelicconfig BCH_CONST_T
328437aa565SIvan Djelic	int
329437aa565SIvan Djelic	help
330437aa565SIvan Djelic	  Constant value for error correction capability in bits 't'.
331437aa565SIvan Djelic	  Drivers should declare a default value for this symbol if
332437aa565SIvan Djelic	  they select option BCH_CONST_PARAMS.
333437aa565SIvan Djelic
334437aa565SIvan Djelic#
335f7704347SDavid S. Miller# Textsearch support is select'ed if needed
336f7704347SDavid S. Miller#
3372de4ff7bSThomas Grafconfig TEXTSEARCH
3386341e62bSChristoph Jaeger	bool
3391da177e4SLinus Torvalds
340df3fb93aSThomas Grafconfig TEXTSEARCH_KMP
341f7704347SDavid S. Miller	tristate
342df3fb93aSThomas Graf
3438082e4edSPablo Neira Ayusoconfig TEXTSEARCH_BM
34429cb9f9cSDavid S. Miller	tristate
3458082e4edSPablo Neira Ayuso
3466408f79cSThomas Grafconfig TEXTSEARCH_FSM
347f7704347SDavid S. Miller	tristate
3486408f79cSThomas Graf
3495db53f3eSJoern Engelconfig BTREE
3506341e62bSChristoph Jaeger	bool
3515db53f3eSJoern Engel
352a88cc108SChris Wilsonconfig INTERVAL_TREE
3536341e62bSChristoph Jaeger	bool
354a88cc108SChris Wilson	help
355a88cc108SChris Wilson	  Simple, embeddable, interval-tree. Can find the start of an
356a88cc108SChris Wilson	  overlapping range in log(n) time and then iterate over all
357a88cc108SChris Wilson	  overlapping nodes. The algorithm is implemented as an
358a88cc108SChris Wilson	  augmented rbtree.
359a88cc108SChris Wilson
360a88cc108SChris Wilson	  See:
361a88cc108SChris Wilson
362a88cc108SChris Wilson		Documentation/rbtree.txt
363a88cc108SChris Wilson
364a88cc108SChris Wilson	  for more information.
365a88cc108SChris Wilson
3663cb98950SDavid Howellsconfig ASSOCIATIVE_ARRAY
3673cb98950SDavid Howells	bool
3683cb98950SDavid Howells	help
3693cb98950SDavid Howells	  Generic associative array.  Can be searched and iterated over whilst
3703cb98950SDavid Howells	  it is being modified.  It is also reasonably quick to search and
3713cb98950SDavid Howells	  modify.  The algorithms are non-recursive, and the trees are highly
3723cb98950SDavid Howells	  capacious.
3733cb98950SDavid Howells
3743cb98950SDavid Howells	  See:
3753cb98950SDavid Howells
3763cb98950SDavid Howells		Documentation/assoc_array.txt
3773cb98950SDavid Howells
3783cb98950SDavid Howells	  for more information.
3793cb98950SDavid Howells
3805ea81769SAl Viroconfig HAS_IOMEM
3816341e62bSChristoph Jaeger	bool
3825ea81769SAl Viro	depends on !NO_IOMEM
383087fafd1SRichard Weinberger	select GENERIC_IO
3845ea81769SAl Viro	default y
3855ea81769SAl Viro
386ce816fa8SUwe Kleine-Königconfig HAS_IOPORT_MAP
3876341e62bSChristoph Jaeger	bool
388ce816fa8SUwe Kleine-König	depends on HAS_IOMEM && !NO_IOPORT_MAP
389ee36c2bfSAl Viro	default y
390ee36c2bfSAl Viro
391411f0f3eSHeiko Carstensconfig HAS_DMA
3926341e62bSChristoph Jaeger	bool
393411f0f3eSHeiko Carstens	depends on !NO_DMA
394411f0f3eSHeiko Carstens	default y
395411f0f3eSHeiko Carstens
396928923c7SGeert Uytterhoevenconfig CHECK_SIGNATURE
397928923c7SGeert Uytterhoeven	bool
398928923c7SGeert Uytterhoeven
399aab46da0SRusty Russellconfig CPUMASK_OFFSTACK
400aab46da0SRusty Russell	bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
401aab46da0SRusty Russell	help
402aab46da0SRusty Russell	  Use dynamic allocation for cpumask_var_t, instead of putting
403aab46da0SRusty Russell	  them on the stack.  This is a bit more expensive, but avoids
404aab46da0SRusty Russell	  stack overflow.
405aab46da0SRusty Russell
4068c384cdeSRusty Russellconfig DISABLE_OBSOLETE_CPUMASK_FUNCTIONS
4078c384cdeSRusty Russell       bool "Disable obsolete cpumask functions" if DEBUG_PER_CPU_MAPS
408525c1f92SKees Cook       depends on BROKEN
4098c384cdeSRusty Russell
410c39649c3SBen Hutchingsconfig CPU_RMAP
411c39649c3SBen Hutchings	bool
412c39649c3SBen Hutchings	depends on SMP
413c39649c3SBen Hutchings
41475957ba3STom Herbertconfig DQL
41575957ba3STom Herbert	bool
41675957ba3STom Herbert
417b0125085SGeorge Spelvinconfig GLOB
418b0125085SGeorge Spelvin	bool
419b0125085SGeorge Spelvin#	This actually supports modular compilation, but the module overhead
420b0125085SGeorge Spelvin#	is ridiculous for the amount of code involved.	Until an out-of-tree
421b0125085SGeorge Spelvin#	driver asks for it, we'll just link it directly it into the kernel
422b0125085SGeorge Spelvin#	when required.  Since we're ignoring out-of-tree users,	there's also
423b0125085SGeorge Spelvin#	no need bother prompting for a manual decision:
424b0125085SGeorge Spelvin#	prompt "glob_match() function"
425b0125085SGeorge Spelvin	help
426b0125085SGeorge Spelvin	  This option provides a glob_match function for performing
427b0125085SGeorge Spelvin	  simple text pattern matching.  It originated in the ATA code
428b0125085SGeorge Spelvin	  to blacklist particular drive models, but other device drivers
429b0125085SGeorge Spelvin	  may need similar functionality.
430b0125085SGeorge Spelvin
431b0125085SGeorge Spelvin	  All drivers in the Linux kernel tree that require this function
432b0125085SGeorge Spelvin	  should automatically select this option.  Say N unless you
433b0125085SGeorge Spelvin	  are compiling an out-of tree driver which tells you that it
434b0125085SGeorge Spelvin	  depends on this.
435b0125085SGeorge Spelvin
4365f9be824SGeorge Spelvinconfig GLOB_SELFTEST
4375f9be824SGeorge Spelvin	bool "glob self-test on init"
4385f9be824SGeorge Spelvin	default n
4395f9be824SGeorge Spelvin	depends on GLOB
4405f9be824SGeorge Spelvin	help
4415f9be824SGeorge Spelvin	  This option enables a simple self-test of the glob_match
4425f9be824SGeorge Spelvin	  function on startup.	It is primarily useful for people
4435f9be824SGeorge Spelvin	  working on the code to ensure they haven't introduced any
4445f9be824SGeorge Spelvin	  regressions.
4455f9be824SGeorge Spelvin
4465f9be824SGeorge Spelvin	  It only adds a little bit of code and slows kernel boot (or
4475f9be824SGeorge Spelvin	  module load) by a small amount, so you're welcome to play with
4485f9be824SGeorge Spelvin	  it, but you probably don't need it.
4495f9be824SGeorge Spelvin
450e9cc8bddSGeert Uytterhoeven#
451e9cc8bddSGeert Uytterhoeven# Netlink attribute parsing support is select'ed if needed
452e9cc8bddSGeert Uytterhoeven#
453e9cc8bddSGeert Uytterhoevenconfig NLATTR
454e9cc8bddSGeert Uytterhoeven	bool
455e9cc8bddSGeert Uytterhoeven
45609d4e0edSPaul Mackerras#
45709d4e0edSPaul Mackerras# Generic 64-bit atomic support is selected if needed
45809d4e0edSPaul Mackerras#
45909d4e0edSPaul Mackerrasconfig GENERIC_ATOMIC64
46009d4e0edSPaul Mackerras       bool
46109d4e0edSPaul Mackerras
4627463449bSCatalin Marinasconfig ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
4637463449bSCatalin Marinas	def_bool y if GENERIC_ATOMIC64
4647463449bSCatalin Marinas
465b411b363SPhilipp Reisnerconfig LRU_CACHE
466b411b363SPhilipp Reisner	tristate
467b411b363SPhilipp Reisner
468c5485a7eSBruno Randolfconfig AVERAGE
469a7a9a24dSMichael Buesch	bool "Averaging functions"
470a7a9a24dSMichael Buesch	help
471a7a9a24dSMichael Buesch	  This option is provided for the case where no in-kernel-tree
472a7a9a24dSMichael Buesch	  modules require averaging functions, but a module built outside
473a7a9a24dSMichael Buesch	  the kernel tree does. Such modules that use library averaging
474a7a9a24dSMichael Buesch	  functions require Y here.
475a7a9a24dSMichael Buesch
476a7a9a24dSMichael Buesch	  If unsure, say N.
477c5485a7eSBruno Randolf
478c6df4b17SDavid Millerconfig CLZ_TAB
479c6df4b17SDavid Miller	bool
480c6df4b17SDavid Miller
48110f8113eSArend van Sprielconfig CORDIC
482d89ce936SMichael Witten	tristate "CORDIC algorithm"
48310f8113eSArend van Spriel	help
484435a95c5SMichael Witten	  This option provides an implementation of the CORDIC algorithm;
485435a95c5SMichael Witten	  calculations are in fixed point. Module will be called cordic.
48610f8113eSArend van Spriel
4879c1c21a0SAneesh Vconfig DDR
4889c1c21a0SAneesh V	bool "JEDEC DDR data"
4899c1c21a0SAneesh V	help
4909c1c21a0SAneesh V	  Data from JEDEC specs for DDR SDRAM memories,
4919c1c21a0SAneesh V	  particularly the AC timing parameters and addressing
4929c1c21a0SAneesh V	  information. This data is useful for drivers handling
4939c1c21a0SAneesh V	  DDR SDRAM controllers.
4949c1c21a0SAneesh V
495d9c46b18SDmitry Kasatkinconfig MPILIB
4962e5f094bSDmitry Kasatkin	tristate
497c6df4b17SDavid Miller	select CLZ_TAB
498d9c46b18SDmitry Kasatkin	help
499d9c46b18SDmitry Kasatkin	  Multiprecision maths library from GnuPG.
500d9c46b18SDmitry Kasatkin	  It is used to implement RSA digital signature verification,
501d9c46b18SDmitry Kasatkin	  which is used by IMA/EVM digital signature extension.
502d9c46b18SDmitry Kasatkin
5035e8898e9SDmitry Kasatkinconfig SIGNATURE
5042e5f094bSDmitry Kasatkin	tristate
5050d1f64f6SDmitry Kasatkin	depends on KEYS
5060d1f64f6SDmitry Kasatkin	select CRYPTO
507be440ec7SDmitry Kasatkin	select CRYPTO_SHA1
508051dbb91SDmitry Kasatkin	select MPILIB
509051dbb91SDmitry Kasatkin	help
510051dbb91SDmitry Kasatkin	  Digital signature verification. Currently only RSA is supported.
511051dbb91SDmitry Kasatkin	  Implementation is done using GnuPG MPI library
512051dbb91SDmitry Kasatkin
513ab253839SDavid Daney#
514ab253839SDavid Daney# libfdt files, only selected if needed.
515ab253839SDavid Daney#
516ab253839SDavid Daneyconfig LIBFDT
517ab253839SDavid Daney	bool
518ab253839SDavid Daney
519a77ad6eaSDavid Howellsconfig OID_REGISTRY
520a77ad6eaSDavid Howells	tristate
521a77ad6eaSDavid Howells	help
522a77ad6eaSDavid Howells	  Enable fast lookup object identifier registry.
523a77ad6eaSDavid Howells
5240635eb8aSMatthew Garrettconfig UCS2_STRING
5250635eb8aSMatthew Garrett        tristate
5260635eb8aSMatthew Garrett
527ee89bd6bSGeert Uytterhoevensource "lib/fonts/Kconfig"
528ee89bd6bSGeert Uytterhoeven
529308c09f1SLaura Abbott#
530308c09f1SLaura Abbott# sg chaining option
531308c09f1SLaura Abbott#
532308c09f1SLaura Abbott
533308c09f1SLaura Abbottconfig ARCH_HAS_SG_CHAIN
534308c09f1SLaura Abbott	def_bool n
535308c09f1SLaura Abbott
5362de4ff7bSThomas Grafendmenu
537