ec8f24b7faaf3 (Thomas Gleixner 2019-05-19 13:07:45 +0100 1) # SPDX-License-Identifier: GPL-2.0-only
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 2) #
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 3) # Library configuration
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 4) #
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 5)
4370aa4aa7539 (Lai Jiangshan 2009-03-06 17:21:46 +0100 6) config BINARY_PRINTF
4370aa4aa7539 (Lai Jiangshan 2009-03-06 17:21:46 +0100 7) def_bool n
4370aa4aa7539 (Lai Jiangshan 2009-03-06 17:21:46 +0100 8)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 9) menu "Library routines"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 10)
f5e70d0fe3ea9 (David Woodhouse 2009-07-13 11:35:12 +0100 11) config RAID6_PQ
f5e70d0fe3ea9 (David Woodhouse 2009-07-13 11:35:12 +0100 12) tristate
f5e70d0fe3ea9 (David Woodhouse 2009-07-13 11:35:12 +0100 13)
be85f93ae2df3 (Daniel Verkamp 2018-11-12 15:26:52 -0800 14) config RAID6_PQ_BENCHMARK
be85f93ae2df3 (Daniel Verkamp 2018-11-12 15:26:52 -0800 15) bool "Automatically choose fastest RAID6 PQ functions"
be85f93ae2df3 (Daniel Verkamp 2018-11-12 15:26:52 -0800 16) depends on RAID6_PQ
be85f93ae2df3 (Daniel Verkamp 2018-11-12 15:26:52 -0800 17) default y
be85f93ae2df3 (Daniel Verkamp 2018-11-12 15:26:52 -0800 18) help
be85f93ae2df3 (Daniel Verkamp 2018-11-12 15:26:52 -0800 19) Benchmark all available RAID6 PQ functions on init and choose the
be85f93ae2df3 (Daniel Verkamp 2018-11-12 15:26:52 -0800 20) fastest one.
be85f93ae2df3 (Daniel Verkamp 2018-11-12 15:26:52 -0800 21)
d2218d4e4a65f (Matti Vaittinen 2020-05-08 18:39:35 +0300 22) config LINEAR_RANGES
d2218d4e4a65f (Matti Vaittinen 2020-05-08 18:39:35 +0300 23) tristate
d2218d4e4a65f (Matti Vaittinen 2020-05-08 18:39:35 +0300 24)
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 25) config PACKING
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 26) bool "Generic bitfield packing and unpacking"
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 27) default n
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 28) help
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 29) This option provides the packing() helper function, which permits
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 30) converting bitfields between a CPU-usable representation and a
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 31) memory representation that can have any combination of these quirks:
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 32) - Is little endian (bytes are reversed within a 32-bit group)
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 33) - The least-significant 32-bit word comes first (within a 64-bit
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 34) group)
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 35) - The most significant bit of a byte is at its right (bit 0 of a
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 36) register description is numerically 2^7).
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 37) Drivers may use these helpers to match the bit indices as described
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 38) in the data sheets of the peripherals they are in control of.
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 39)
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 40) When in doubt, say N.
554aae35007e4 (Vladimir Oltean 2019-05-02 23:23:29 +0300 41)
a5cfc1ec58a07 (Akinobu Mita 2006-12-08 02:36:25 -0800 42) config BITREVERSE
a5cfc1ec58a07 (Akinobu Mita 2006-12-08 02:36:25 -0800 43) tristate
a5cfc1ec58a07 (Akinobu Mita 2006-12-08 02:36:25 -0800 44)
556d2f055bf6d (Yalin Wang 2014-11-03 03:01:03 +0100 45) config HAVE_ARCH_BITREVERSE
841c009007144 (Christoph Jaeger 2015-02-16 16:00:20 -0800 46) bool
556d2f055bf6d (Yalin Wang 2014-11-03 03:01:03 +0100 47) default n
556d2f055bf6d (Yalin Wang 2014-11-03 03:01:03 +0100 48) depends on BITREVERSE
556d2f055bf6d (Yalin Wang 2014-11-03 03:01:03 +0100 49) help
9e522c0d28d14 (Andrew Morton 2015-04-16 12:49:07 -0700 50) This option enables the use of hardware bit-reversal instructions on
9e522c0d28d14 (Andrew Morton 2015-04-16 12:49:07 -0700 51) architectures which support such operations.
556d2f055bf6d (Yalin Wang 2014-11-03 03:01:03 +0100 52)
2922585b93294 (David S. Miller 2012-05-24 13:12:28 -0700 53) config GENERIC_STRNCPY_FROM_USER
2922585b93294 (David S. Miller 2012-05-24 13:12:28 -0700 54) bool
2922585b93294 (David S. Miller 2012-05-24 13:12:28 -0700 55)
a08c5356a3aaf (Linus Torvalds 2012-05-26 11:06:38 -0700 56) config GENERIC_STRNLEN_USER
a08c5356a3aaf (Linus Torvalds 2012-05-26 11:06:38 -0700 57) bool
a08c5356a3aaf (Linus Torvalds 2012-05-26 11:06:38 -0700 58)
4cd5773a2ae6f (Andy Shevchenko 2013-06-04 19:46:26 +0300 59) config GENERIC_NET_UTILS
4cd5773a2ae6f (Andy Shevchenko 2013-06-04 19:46:26 +0300 60) bool
4cd5773a2ae6f (Andy Shevchenko 2013-06-04 19:46:26 +0300 61)
19870def58755 (Alexander van Heukelum 2008-04-25 13:12:53 +0200 62) config GENERIC_FIND_FIRST_BIT
9ba16087d9f99 (Jan Beulich 2008-10-15 22:01:38 -0700 63) bool
19870def58755 (Alexander van Heukelum 2008-04-25 13:12:53 +0200 64)
2c64e9cb0b6b8 (Andy Shevchenko 2019-05-14 15:43:05 -0700 65) source "lib/math/Kconfig"
2c64e9cb0b6b8 (Andy Shevchenko 2019-05-14 15:43:05 -0700 66)
b923650b84068 (Michael S. Tsirkin 2012-01-30 00:20:48 +0200 67) config NO_GENERIC_PCI_IOPORT_MAP
b923650b84068 (Michael S. Tsirkin 2012-01-30 00:20:48 +0200 68) bool
b923650b84068 (Michael S. Tsirkin 2012-01-30 00:20:48 +0200 69)
66eab4df288aa (Michael S. Tsirkin 2011-11-24 20:45:20 +0200 70) config GENERIC_PCI_IOMAP
66eab4df288aa (Michael S. Tsirkin 2011-11-24 20:45:20 +0200 71) bool
66eab4df288aa (Michael S. Tsirkin 2011-11-24 20:45:20 +0200 72)
4673ca8eb3690 (Michael S. Tsirkin 2011-11-24 14:54:28 +0200 73) config GENERIC_IOMAP
4673ca8eb3690 (Michael S. Tsirkin 2011-11-24 14:54:28 +0200 74) bool
66eab4df288aa (Michael S. Tsirkin 2011-11-24 20:45:20 +0200 75) select GENERIC_PCI_IOMAP
4673ca8eb3690 (Michael S. Tsirkin 2011-11-24 14:54:28 +0200 76)
4ccf4beab8c44 (Wolfram Sang 2011-08-31 20:35:40 +0200 77) config STMP_DEVICE
4ccf4beab8c44 (Wolfram Sang 2011-08-31 20:35:40 +0200 78) bool
22b361d1df7bc (Oleg Nesterov 2012-12-17 16:01:39 -0800 79)
bc08b449ee14a (Linus Torvalds 2013-09-02 12:12:15 -0700 80) config ARCH_USE_CMPXCHG_LOCKREF
bc08b449ee14a (Linus Torvalds 2013-09-02 12:12:15 -0700 81) bool
bc08b449ee14a (Linus Torvalds 2013-09-02 12:12:15 -0700 82)
72d931046030b (Linus Torvalds 2014-09-13 11:14:53 -0700 83) config ARCH_HAS_FAST_MULTIPLIER
72d931046030b (Linus Torvalds 2014-09-13 11:14:53 -0700 84) bool
72d931046030b (Linus Torvalds 2014-09-13 11:14:53 -0700 85)
2ce0d7f9766f0 (Mark Brown 2020-04-16 19:24:02 +0100 86) config ARCH_USE_SYM_ANNOTATIONS
2ce0d7f9766f0 (Mark Brown 2020-04-16 19:24:02 +0100 87) bool
2ce0d7f9766f0 (Mark Brown 2020-04-16 19:24:02 +0100 88)
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 89) config INDIRECT_PIO
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 90) bool "Access I/O in non-MMIO mode"
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 91) depends on ARM64
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 92) help
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 93) On some platforms where no separate I/O space exists, there are I/O
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 94) hosts which can not be accessed in MMIO mode. Using the logical PIO
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 95) mechanism, the host-local I/O resource can be mapped into system
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 96) logic PIO space shared with MMIO hosts, such as PCI/PCIe, then the
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 97) system can access the I/O devices with the mapped-logic PIO through
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 98) I/O accessors.
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 99)
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 100) This way has relatively little I/O performance cost. Please make
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 101) sure your devices really need this configure item enabled.
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 102)
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 103) When in doubt, say N.
031e3601869c8 (Zhichang Yuan 2018-03-15 02:15:50 +0800 104)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 105) config CRC_CCITT
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 106) tristate "CRC-CCITT functions"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 107) help
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 108) This option is provided for the case where no in-kernel-tree
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 109) modules require CRC-CCITT functions, but a module built outside
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 110) the kernel tree does. Such modules that use library CRC-CCITT
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 111) functions require M here.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 112)
7657ec1fcb69e (Evgeniy Polyakov 2005-08-17 15:17:26 +0400 113) config CRC16
7657ec1fcb69e (Evgeniy Polyakov 2005-08-17 15:17:26 +0400 114) tristate "CRC16 functions"
7657ec1fcb69e (Evgeniy Polyakov 2005-08-17 15:17:26 +0400 115) help
7657ec1fcb69e (Evgeniy Polyakov 2005-08-17 15:17:26 +0400 116) This option is provided for the case where no in-kernel-tree
7657ec1fcb69e (Evgeniy Polyakov 2005-08-17 15:17:26 +0400 117) modules require CRC16 functions, but a module built outside
7657ec1fcb69e (Evgeniy Polyakov 2005-08-17 15:17:26 +0400 118) the kernel tree does. Such modules that use library CRC16
7657ec1fcb69e (Evgeniy Polyakov 2005-08-17 15:17:26 +0400 119) functions require M here.
7657ec1fcb69e (Evgeniy Polyakov 2005-08-17 15:17:26 +0400 120)
f11f594edba7f (Martin K. Petersen 2008-06-25 11:22:42 -0400 121) config CRC_T10DIF
f11f594edba7f (Martin K. Petersen 2008-06-25 11:22:42 -0400 122) tristate "CRC calculation for the T10 Data Integrity Field"
68411521cc605 (Herbert Xu 2013-09-07 12:56:26 +1000 123) select CRYPTO
68411521cc605 (Herbert Xu 2013-09-07 12:56:26 +1000 124) select CRYPTO_CRCT10DIF
f11f594edba7f (Martin K. Petersen 2008-06-25 11:22:42 -0400 125) help
f11f594edba7f (Martin K. Petersen 2008-06-25 11:22:42 -0400 126) This option is only needed if a module that's not in the
f11f594edba7f (Martin K. Petersen 2008-06-25 11:22:42 -0400 127) kernel tree needs to calculate CRC checks for use with the
f11f594edba7f (Martin K. Petersen 2008-06-25 11:22:42 -0400 128) SCSI data integrity subsystem.
f11f594edba7f (Martin K. Petersen 2008-06-25 11:22:42 -0400 129)
3e7cbae7c6dda (Ivo van Doorn 2006-06-12 16:17:04 +0200 130) config CRC_ITU_T
3e7cbae7c6dda (Ivo van Doorn 2006-06-12 16:17:04 +0200 131) tristate "CRC ITU-T V.41 functions"
3e7cbae7c6dda (Ivo van Doorn 2006-06-12 16:17:04 +0200 132) help
3e7cbae7c6dda (Ivo van Doorn 2006-06-12 16:17:04 +0200 133) This option is provided for the case where no in-kernel-tree
3e7cbae7c6dda (Ivo van Doorn 2006-06-12 16:17:04 +0200 134) modules require CRC ITU-T V.41 functions, but a module built outside
3e7cbae7c6dda (Ivo van Doorn 2006-06-12 16:17:04 +0200 135) the kernel tree does. Such modules that use library CRC ITU-T V.41
3e7cbae7c6dda (Ivo van Doorn 2006-06-12 16:17:04 +0200 136) functions require M here.
3e7cbae7c6dda (Ivo van Doorn 2006-06-12 16:17:04 +0200 137)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 138) config CRC32
46c5801eaf86e (Darrick J. Wong 2012-03-23 15:02:25 -0700 139) tristate "CRC32/CRC32c functions"
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 140) default y
906d66df18faa (Akinobu Mita 2006-12-08 02:36:25 -0800 141) select BITREVERSE
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 142) help
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 143) This option is provided for the case where no in-kernel-tree
46c5801eaf86e (Darrick J. Wong 2012-03-23 15:02:25 -0700 144) modules require CRC32/CRC32c functions, but a module built outside
46c5801eaf86e (Darrick J. Wong 2012-03-23 15:02:25 -0700 145) the kernel tree does. Such modules that use library CRC32/CRC32c
46c5801eaf86e (Darrick J. Wong 2012-03-23 15:02:25 -0700 146) functions require M here.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 147)
3863ef31dcf04 (Bob Pearson 2012-03-23 15:02:22 -0700 148) config CRC32_SELFTEST
5fb7f87408f15 (Geert Uytterhoeven 2017-02-24 15:00:49 -0800 149) tristate "CRC32 perform self test on init"
3863ef31dcf04 (Bob Pearson 2012-03-23 15:02:22 -0700 150) depends on CRC32
3863ef31dcf04 (Bob Pearson 2012-03-23 15:02:22 -0700 151) help
3863ef31dcf04 (Bob Pearson 2012-03-23 15:02:22 -0700 152) This option enables the CRC32 library functions to perform a
3863ef31dcf04 (Bob Pearson 2012-03-23 15:02:22 -0700 153) self test on initialization. The self test computes crc32_le
3863ef31dcf04 (Bob Pearson 2012-03-23 15:02:22 -0700 154) and crc32_be over byte strings with random alignment and length
3863ef31dcf04 (Bob Pearson 2012-03-23 15:02:22 -0700 155) and computes the total elapsed time and number of bytes processed.
3863ef31dcf04 (Bob Pearson 2012-03-23 15:02:22 -0700 156)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 157) choice
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 158) prompt "CRC32 implementation"
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 159) depends on CRC32
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 160) default CRC32_SLICEBY8
82edb4baa762c (Darrick J. Wong 2012-03-28 14:42:56 -0700 161) help
82edb4baa762c (Darrick J. Wong 2012-03-28 14:42:56 -0700 162) This option allows a kernel builder to override the default choice
82edb4baa762c (Darrick J. Wong 2012-03-28 14:42:56 -0700 163) of CRC32 algorithm. Choose the default ("slice by 8") unless you
82edb4baa762c (Darrick J. Wong 2012-03-28 14:42:56 -0700 164) know that you need one of the others.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 165)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 166) config CRC32_SLICEBY8
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 167) bool "Slice by 8 bytes"
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 168) help
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 169) Calculate checksum 8 bytes at a time with a clever slicing algorithm.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 170) This is the fastest algorithm, but comes with a 8KiB lookup table.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 171) Most modern processors have enough cache to hold this table without
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 172) thrashing the cache.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 173)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 174) This is the default implementation choice. Choose this one unless
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 175) you have a good reason not to.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 176)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 177) config CRC32_SLICEBY4
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 178) bool "Slice by 4 bytes"
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 179) help
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 180) Calculate checksum 4 bytes at a time with a clever slicing algorithm.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 181) This is a bit slower than slice by 8, but has a smaller 4KiB lookup
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 182) table.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 183)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 184) Only choose this option if you know what you are doing.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 185)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 186) config CRC32_SARWATE
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 187) bool "Sarwate's Algorithm (one byte at a time)"
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 188) help
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 189) Calculate checksum a byte at a time using Sarwate's algorithm. This
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 190) is not particularly fast, but has a small 256 byte lookup table.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 191)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 192) Only choose this option if you know what you are doing.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 193)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 194) config CRC32_BIT
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 195) bool "Classic Algorithm (one bit at a time)"
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 196) help
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 197) Calculate checksum one bit at a time. This is VERY slow, but has
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 198) no lookup table. This is provided as a debugging option.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 199)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 200) Only choose this option if you are debugging crc32.
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 201)
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 202) endchoice
5cde7656d0dd2 (Darrick J. Wong 2012-03-23 15:02:26 -0700 203)
feba04fd2cf8f (Coly Li 2018-08-21 21:57:11 -0700 204) config CRC64
feba04fd2cf8f (Coly Li 2018-08-21 21:57:11 -0700 205) tristate "CRC64 functions"
feba04fd2cf8f (Coly Li 2018-08-21 21:57:11 -0700 206) help
feba04fd2cf8f (Coly Li 2018-08-21 21:57:11 -0700 207) This option is provided for the case where no in-kernel-tree
feba04fd2cf8f (Coly Li 2018-08-21 21:57:11 -0700 208) modules require CRC64 functions, but a module built outside
feba04fd2cf8f (Coly Li 2018-08-21 21:57:11 -0700 209) the kernel tree does. Such modules that use library CRC64
feba04fd2cf8f (Coly Li 2018-08-21 21:57:11 -0700 210) functions require M here.
feba04fd2cf8f (Coly Li 2018-08-21 21:57:11 -0700 211)
0cbaa44841db3 (Jeremy Kerr 2017-06-06 16:08:39 -0500 212) config CRC4
0cbaa44841db3 (Jeremy Kerr 2017-06-06 16:08:39 -0500 213) tristate "CRC4 functions"
0cbaa44841db3 (Jeremy Kerr 2017-06-06 16:08:39 -0500 214) help
0cbaa44841db3 (Jeremy Kerr 2017-06-06 16:08:39 -0500 215) This option is provided for the case where no in-kernel-tree
0cbaa44841db3 (Jeremy Kerr 2017-06-06 16:08:39 -0500 216) modules require CRC4 functions, but a module built outside
0cbaa44841db3 (Jeremy Kerr 2017-06-06 16:08:39 -0500 217) the kernel tree does. Such modules that use library CRC4
0cbaa44841db3 (Jeremy Kerr 2017-06-06 16:08:39 -0500 218) functions require M here.
0cbaa44841db3 (Jeremy Kerr 2017-06-06 16:08:39 -0500 219)
ad241528c4919 (Jan Nikitenko 2007-07-17 04:04:03 -0700 220) config CRC7
ad241528c4919 (Jan Nikitenko 2007-07-17 04:04:03 -0700 221) tristate "CRC7 functions"
ad241528c4919 (Jan Nikitenko 2007-07-17 04:04:03 -0700 222) help
ad241528c4919 (Jan Nikitenko 2007-07-17 04:04:03 -0700 223) This option is provided for the case where no in-kernel-tree
ad241528c4919 (Jan Nikitenko 2007-07-17 04:04:03 -0700 224) modules require CRC7 functions, but a module built outside
ad241528c4919 (Jan Nikitenko 2007-07-17 04:04:03 -0700 225) the kernel tree does. Such modules that use library CRC7
ad241528c4919 (Jan Nikitenko 2007-07-17 04:04:03 -0700 226) functions require M here.
ad241528c4919 (Jan Nikitenko 2007-07-17 04:04:03 -0700 227)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 228) config LIBCRC32C
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 229) tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
93027354d6e8a (Herbert Xu 2008-11-13 22:05:13 +0800 230) select CRYPTO
69c35efcf1576 (Herbert Xu 2008-11-07 15:11:47 +0800 231) select CRYPTO_CRC32C
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 232) help
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 233) This option is provided for the case where no in-kernel-tree
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 234) modules require CRC32c functions, but a module built outside the
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 235) kernel tree does. Such modules that use library CRC32c functions
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 236) require M here. See Castagnoli93.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 237) Module will be libcrc32c.
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 238)
7150962d637cf (Arend van Spriel 2011-05-31 11:22:15 +0200 239) config CRC8
7150962d637cf (Arend van Spriel 2011-05-31 11:22:15 +0200 240) tristate "CRC8 function"
7150962d637cf (Arend van Spriel 2011-05-31 11:22:15 +0200 241) help
7150962d637cf (Arend van Spriel 2011-05-31 11:22:15 +0200 242) This option provides CRC8 function. Drivers may select this
7150962d637cf (Arend van Spriel 2011-05-31 11:22:15 +0200 243) when they need to do cyclic redundancy check according CRC8
7150962d637cf (Arend van Spriel 2011-05-31 11:22:15 +0200 244) algorithm. Module will be called crc8.
7150962d637cf (Arend van Spriel 2011-05-31 11:22:15 +0200 245)
5d2405227a9ea (Nick Terrell 2017-08-04 13:19:17 -0700 246) config XXHASH
5d2405227a9ea (Nick Terrell 2017-08-04 13:19:17 -0700 247) tristate
5d2405227a9ea (Nick Terrell 2017-08-04 13:19:17 -0700 248)
e65e1fc2d24b0 (Al Viro 2006-09-12 03:04:40 -0400 249) config AUDIT_GENERIC
e65e1fc2d24b0 (Al Viro 2006-09-12 03:04:40 -0400 250) bool
e65e1fc2d24b0 (Al Viro 2006-09-12 03:04:40 -0400 251) depends on AUDIT && !AUDIT_ARCH
e65e1fc2d24b0 (Al Viro 2006-09-12 03:04:40 -0400 252) default y
e65e1fc2d24b0 (Al Viro 2006-09-12 03:04:40 -0400 253)
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 254) config AUDIT_ARCH_COMPAT_GENERIC
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 255) bool
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 256) default n
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 257)
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 258) config AUDIT_COMPAT_GENERIC
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 259) bool
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 260) depends on AUDIT_GENERIC && AUDIT_ARCH_COMPAT_GENERIC && COMPAT
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 261) default y
4b58841149dca (AKASHI Takahiro 2014-03-15 14:48:00 +0900 262)
a6a9c0f1bf5a9 (Daniel Borkmann 2013-11-11 12:20:37 +0100 263) config RANDOM32_SELFTEST
a6a9c0f1bf5a9 (Daniel Borkmann 2013-11-11 12:20:37 +0100 264) bool "PRNG perform self test on init"
a6a9c0f1bf5a9 (Daniel Borkmann 2013-11-11 12:20:37 +0100 265) help
a6a9c0f1bf5a9 (Daniel Borkmann 2013-11-11 12:20:37 +0100 266) This option enables the 32 bit PRNG library functions to perform a
a6a9c0f1bf5a9 (Daniel Borkmann 2013-11-11 12:20:37 +0100 267) self test on initialization.
a6a9c0f1bf5a9 (Daniel Borkmann 2013-11-11 12:20:37 +0100 268)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 269) #
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 270) # compression support is select'ed if needed
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 271) #
2da572c959dd5 (Dan Streetman 2015-05-07 13:49:14 -0400 272) config 842_COMPRESS
5b57167749274 (Arnd Bergmann 2016-01-13 23:24:02 +0100 273) select CRC32
2da572c959dd5 (Dan Streetman 2015-05-07 13:49:14 -0400 274) tristate
2da572c959dd5 (Dan Streetman 2015-05-07 13:49:14 -0400 275)
2da572c959dd5 (Dan Streetman 2015-05-07 13:49:14 -0400 276) config 842_DECOMPRESS
5b57167749274 (Arnd Bergmann 2016-01-13 23:24:02 +0100 277) select CRC32
2da572c959dd5 (Dan Streetman 2015-05-07 13:49:14 -0400 278) tristate
2da572c959dd5 (Dan Streetman 2015-05-07 13:49:14 -0400 279)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 280) config ZLIB_INFLATE
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 281) tristate
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 282)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 283) config ZLIB_DEFLATE
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 284) tristate
1fd4e5c347bfc (Andrew Morton 2015-10-15 15:28:35 -0700 285) select BITREVERSE
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 286)
aa5b395b69b65 (Mikhail Zaslonko 2020-01-30 22:16:17 -0800 287) config ZLIB_DFLTCC
aa5b395b69b65 (Mikhail Zaslonko 2020-01-30 22:16:17 -0800 288) def_bool y
aa5b395b69b65 (Mikhail Zaslonko 2020-01-30 22:16:17 -0800 289) depends on S390
aa5b395b69b65 (Mikhail Zaslonko 2020-01-30 22:16:17 -0800 290) prompt "Enable s390x DEFLATE CONVERSION CALL support for kernel zlib"
aa5b395b69b65 (Mikhail Zaslonko 2020-01-30 22:16:17 -0800 291) help
aa5b395b69b65 (Mikhail Zaslonko 2020-01-30 22:16:17 -0800 292) Enable s390x hardware support for zlib in the kernel.
aa5b395b69b65 (Mikhail Zaslonko 2020-01-30 22:16:17 -0800 293)
64c70b1cf43de (Richard Purdie 2007-07-10 17:22:24 -0700 294) config LZO_COMPRESS
64c70b1cf43de (Richard Purdie 2007-07-10 17:22:24 -0700 295) tristate
64c70b1cf43de (Richard Purdie 2007-07-10 17:22:24 -0700 296)
64c70b1cf43de (Richard Purdie 2007-07-10 17:22:24 -0700 297) config LZO_DECOMPRESS
64c70b1cf43de (Richard Purdie 2007-07-10 17:22:24 -0700 298) tristate
64c70b1cf43de (Richard Purdie 2007-07-10 17:22:24 -0700 299)
c72ac7a1a926d (Chanho Min 2013-07-08 16:01:49 -0700 300) config LZ4_COMPRESS
c72ac7a1a926d (Chanho Min 2013-07-08 16:01:49 -0700 301) tristate
c72ac7a1a926d (Chanho Min 2013-07-08 16:01:49 -0700 302)
c72ac7a1a926d (Chanho Min 2013-07-08 16:01:49 -0700 303) config LZ4HC_COMPRESS
c72ac7a1a926d (Chanho Min 2013-07-08 16:01:49 -0700 304) tristate
c72ac7a1a926d (Chanho Min 2013-07-08 16:01:49 -0700 305)
e76e1fdfa8f8d (Kyungsik Lee 2013-07-08 16:01:46 -0700 306) config LZ4_DECOMPRESS
e76e1fdfa8f8d (Kyungsik Lee 2013-07-08 16:01:46 -0700 307) tristate
e76e1fdfa8f8d (Kyungsik Lee 2013-07-08 16:01:46 -0700 308)
73f3d1b48f506 (Nick Terrell 2017-08-09 19:35:53 -0700 309) config ZSTD_COMPRESS
73f3d1b48f506 (Nick Terrell 2017-08-09 19:35:53 -0700 310) select XXHASH
73f3d1b48f506 (Nick Terrell 2017-08-09 19:35:53 -0700 311) tristate
73f3d1b48f506 (Nick Terrell 2017-08-09 19:35:53 -0700 312)
73f3d1b48f506 (Nick Terrell 2017-08-09 19:35:53 -0700 313) config ZSTD_DECOMPRESS
73f3d1b48f506 (Nick Terrell 2017-08-09 19:35:53 -0700 314) select XXHASH
73f3d1b48f506 (Nick Terrell 2017-08-09 19:35:53 -0700 315) tristate
73f3d1b48f506 (Nick Terrell 2017-08-09 19:35:53 -0700 316)
24fa0402a9b6a (Lasse Collin 2011-01-12 17:01:22 -0800 317) source "lib/xz/Kconfig"
24fa0402a9b6a (Lasse Collin 2011-01-12 17:01:22 -0800 318)
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 319) #
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 320) # These all provide a common interface (hence the apparent duplication with
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 321) # ZLIB_INFLATE; DECOMPRESS_GZIP is just a wrapper.)
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 322) #
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 323) config DECOMPRESS_GZIP
7856a16ea03ed (H. Peter Anvin 2009-01-07 00:01:43 -0800 324) select ZLIB_INFLATE
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 325) tristate
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 326)
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 327) config DECOMPRESS_BZIP2
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 328) tristate
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 329)
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 330) config DECOMPRESS_LZMA
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 331) tristate
c8531ab343dec (H. Peter Anvin 2009-01-05 13:48:31 -0800 332)
3ebe12439ba7f (Lasse Collin 2011-01-12 17:01:23 -0800 333) config DECOMPRESS_XZ
3ebe12439ba7f (Lasse Collin 2011-01-12 17:01:23 -0800 334) select XZ_DEC
3ebe12439ba7f (Lasse Collin 2011-01-12 17:01:23 -0800 335) tristate
3ebe12439ba7f (Lasse Collin 2011-01-12 17:01:23 -0800 336)
cacb246f8db2b (Albin Tonnerre 2010-01-08 14:42:46 -0800 337) config DECOMPRESS_LZO
cacb246f8db2b (Albin Tonnerre 2010-01-08 14:42:46 -0800 338) select LZO_DECOMPRESS
cacb246f8db2b (Albin Tonnerre 2010-01-08 14:42:46 -0800 339) tristate
cacb246f8db2b (Albin Tonnerre 2010-01-08 14:42:46 -0800 340)
e76e1fdfa8f8d (Kyungsik Lee 2013-07-08 16:01:46 -0700 341) config DECOMPRESS_LZ4
e76e1fdfa8f8d (Kyungsik Lee 2013-07-08 16:01:46 -0700 342) select LZ4_DECOMPRESS
e76e1fdfa8f8d (Kyungsik Lee 2013-07-08 16:01:46 -0700 343) tristate
e76e1fdfa8f8d (Kyungsik Lee 2013-07-08 16:01:46 -0700 344)
4963bb2b89884 (Nick Terrell 2020-07-30 12:08:35 -0700 345) config DECOMPRESS_ZSTD
4963bb2b89884 (Nick Terrell 2020-07-30 12:08:35 -0700 346) select ZSTD_DECOMPRESS
4963bb2b89884 (Nick Terrell 2020-07-30 12:08:35 -0700 347) tristate
4963bb2b89884 (Nick Terrell 2020-07-30 12:08:35 -0700 348)
f14f75b81187c (Jes Sorensen 2005-06-21 17:15:02 -0700 349) #
f14f75b81187c (Jes Sorensen 2005-06-21 17:15:02 -0700 350) # Generic allocator support is selected if needed
f14f75b81187c (Jes Sorensen 2005-06-21 17:15:02 -0700 351) #
f14f75b81187c (Jes Sorensen 2005-06-21 17:15:02 -0700 352) config GENERIC_ALLOCATOR
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 353) bool
f14f75b81187c (Jes Sorensen 2005-06-21 17:15:02 -0700 354)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 355) #
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 356) # reed solomon support is select'ed if needed
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 357) #
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 358) config REED_SOLOMON
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 359) tristate
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 360)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 361) config REED_SOLOMON_ENC8
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 362) bool
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 363)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 364) config REED_SOLOMON_DEC8
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 365) bool
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 366)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 367) config REED_SOLOMON_ENC16
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 368) bool
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 369)
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 370) config REED_SOLOMON_DEC16
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 371) bool
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 372)
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 373) #
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 374) # BCH support is selected if needed
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 375) #
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 376) config BCH
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 377) tristate
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 378)
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 379) config BCH_CONST_PARAMS
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 380) bool
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 381) help
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 382) Drivers may select this option to force specific constant
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 383) values for parameters 'm' (Galois field order) and 't'
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 384) (error correction capability). Those specific values must
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 385) be set by declaring default values for symbols BCH_CONST_M
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 386) and BCH_CONST_T.
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 387) Doing so will enable extra compiler optimizations,
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 388) improving encoding and decoding performance up to 2x for
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 389) usual (m,t) values (typically such that m*t < 200).
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 390) When this option is selected, the BCH library supports
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 391) only a single (m,t) configuration. This is mainly useful
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 392) for NAND flash board drivers requiring known, fixed BCH
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 393) parameters.
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 394)
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 395) config BCH_CONST_M
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 396) int
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 397) range 5 15
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 398) help
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 399) Constant value for Galois field order 'm'. If 'k' is the
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 400) number of data bits to protect, 'm' should be chosen such
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 401) that (k + m*t) <= 2**m - 1.
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 402) Drivers should declare a default value for this symbol if
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 403) they select option BCH_CONST_PARAMS.
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 404)
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 405) config BCH_CONST_T
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 406) int
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 407) help
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 408) Constant value for error correction capability in bits 't'.
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 409) Drivers should declare a default value for this symbol if
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 410) they select option BCH_CONST_PARAMS.
437aa565e2656 (Ivan Djelic 2011-03-11 11:05:32 +0100 411)
f7704347a74fc (David S. Miller 2005-06-24 17:39:03 -0700 412) #
f7704347a74fc (David S. Miller 2005-06-24 17:39:03 -0700 413) # Textsearch support is select'ed if needed
f7704347a74fc (David S. Miller 2005-06-24 17:39:03 -0700 414) #
2de4ff7bd658c (Thomas Graf 2005-06-23 20:49:30 -0700 415) config TEXTSEARCH
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 416) bool
^1da177e4c3f4 (Linus Torvalds 2005-04-16 15:20:36 -0700 417)
df3fb93ad9ec0 (Thomas Graf 2005-06-23 20:58:37 -0700 418) config TEXTSEARCH_KMP
f7704347a74fc (David S. Miller 2005-06-24 17:39:03 -0700 419) tristate
df3fb93ad9ec0 (Thomas Graf 2005-06-23 20:58:37 -0700 420)
8082e4ed0a61d (Pablo Neira Ayuso 2005-08-25 16:12:22 -0700 421) config TEXTSEARCH_BM
29cb9f9c5502f (David S. Miller 2005-08-25 16:23:11 -0700 422) tristate
8082e4ed0a61d (Pablo Neira Ayuso 2005-08-25 16:12:22 -0700 423)
6408f79cce401 (Thomas Graf 2005-06-23 20:59:16 -0700 424) config TEXTSEARCH_FSM
f7704347a74fc (David S. Miller 2005-06-24 17:39:03 -0700 425) tristate
6408f79cce401 (Thomas Graf 2005-06-23 20:59:16 -0700 426)
5db53f3e80dee (Joern Engel 2009-11-20 20:13:39 +0100 427) config BTREE
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 428) bool
5db53f3e80dee (Joern Engel 2009-11-20 20:13:39 +0100 429)
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 430) config INTERVAL_TREE
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 431) bool
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 432) help
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 433) Simple, embeddable, interval-tree. Can find the start of an
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 434) overlapping range in log(n) time and then iterate over all
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 435) overlapping nodes. The algorithm is implemented as an
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 436) augmented rbtree.
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 437)
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 438) See:
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 439)
14bbe3e33710b (Matthew Wilcox (Oracle) 2020-04-01 10:33:43 -0700 440) Documentation/core-api/rbtree.rst
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 441)
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 442) for more information.
a88cc108f6f39 (Chris Wilson 2014-03-17 12:21:54 +0000 443)
02c02bf12c5d8 (Matthew Wilcox 2017-11-03 23:09:45 -0400 444) config XARRAY_MULTI
57578c2ea2cb2 (Matthew Wilcox 2016-05-20 17:01:54 -0700 445) bool
02c02bf12c5d8 (Matthew Wilcox 2017-11-03 23:09:45 -0400 446) help
02c02bf12c5d8 (Matthew Wilcox 2017-11-03 23:09:45 -0400 447) Support entries which occupy multiple consecutive indices in the
02c02bf12c5d8 (Matthew Wilcox 2017-11-03 23:09:45 -0400 448) XArray.
57578c2ea2cb2 (Matthew Wilcox 2016-05-20 17:01:54 -0700 449)
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 450) config ASSOCIATIVE_ARRAY
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 451) bool
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 452) help
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 453) Generic associative array. Can be searched and iterated over whilst
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 454) it is being modified. It is also reasonably quick to search and
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 455) modify. The algorithms are non-recursive, and the trees are highly
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 456) capacious.
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 457)
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 458) See:
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 459)
5fb94e9ca333f (Mauro Carvalho Chehab 2018-05-08 15:14:57 -0300 460) Documentation/core-api/assoc_array.rst
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 461)
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 462) for more information.
3cb989501c268 (David Howells 2013-09-24 10:35:17 +0100 463)
5ea8176994003 (Al Viro 2007-02-11 15:41:31 +0000 464) config HAS_IOMEM
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 465) bool
5ea8176994003 (Al Viro 2007-02-11 15:41:31 +0000 466) depends on !NO_IOMEM
5ea8176994003 (Al Viro 2007-02-11 15:41:31 +0000 467) default y
5ea8176994003 (Al Viro 2007-02-11 15:41:31 +0000 468)
ce816fa88cca0 (Uwe Kleine-König 2014-04-07 15:39:19 -0700 469) config HAS_IOPORT_MAP
6341e62b212a2 (Christoph Jaeger 2014-12-20 15:41:11 -0500 470) bool
ce816fa88cca0 (Uwe Kleine-König 2014-04-07 15:39:19 -0700 471) depends on HAS_IOMEM && !NO_IOPORT_MAP
ee36c2bf8edb1 (Al Viro 2006-12-13 00:35:00 -0800 472) default y
ee36c2bf8edb1 (Al Viro 2006-12-13 00:35:00 -0800 473)
cf65a0f6f6ff7 (Christoph Hellwig 2018-06-12 19:01:45 +0200 474) source "kernel/dma/Kconfig"
411f0f3edc141 (Heiko Carstens 2007-05-06 14:49:09 -0700 475)
e80a0af4759a1 (Bart Van Assche 2018-01-05 08:26:46 -0800 476) config SGL_ALLOC
e80a0af4759a1 (Bart Van Assche 2018-01-05 08:26:46 -0800 477) bool
e80a0af4759a1 (Bart Van Assche 2018-01-05 08:26:46 -0800 478) default n
e80a0af4759a1 (Bart Van Assche 2018-01-05 08:26:46 -0800 479)
a4ce5a48d753d (Christoph Hellwig 2018-04-03 15:47:59 +0200 480) config IOMMU_HELPER
a4ce5a48d753d (Christoph Hellwig 2018-04-03 15:47:59 +0200 481) bool
a4ce5a48d753d (Christoph Hellwig 2018-04-03 15:47:59 +0200 482)
928923c76b393 (Geert Uytterhoeven 2007-08-22 14:01:36 -0700 483) config CHECK_SIGNATURE
928923c76b393 (Geert Uytterhoeven 2007-08-22 14:01:36 -0700 484) bool
928923c76b393 (Geert Uytterhoeven 2007-08-22 14:01:36 -0700 485)
aab46da0520af (Rusty Russell 2008-12-13 21:20:27 +1030 486) config CPUMASK_OFFSTACK
aab46da0520af (Rusty Russell 2008-12-13 21:20:27 +1030 487) bool "Force CPU masks off stack" if DEBUG_PER_CPU_MAPS
aab46da0520af (Rusty Russell 2008-12-13 21:20:27 +1030 488) help
aab46da0520af (Rusty Russell 2008-12-13 21:20:27 +1030 489) Use dynamic allocation for cpumask_var_t, instead of putting
aab46da0520af (Rusty Russell 2008-12-13 21:20:27 +1030 490) them on the stack. This is a bit more expensive, but avoids
aab46da0520af (Rusty Russell 2008-12-13 21:20:27 +1030 491) stack overflow.
aab46da0520af (Rusty Russell 2008-12-13 21:20:27 +1030 492)
c39649c331c70 (Ben Hutchings 2011-01-19 11:03:25 +0000 493) config CPU_RMAP
c39649c331c70 (Ben Hutchings 2011-01-19 11:03:25 +0000 494) bool
c39649c331c70 (Ben Hutchings 2011-01-19 11:03:25 +0000 495) depends on SMP
c39649c331c70 (Ben Hutchings 2011-01-19 11:03:25 +0000 496)
75957ba36c05b (Tom Herbert 2011-11-28 16:32:35 +0000 497) config DQL
75957ba36c05b (Tom Herbert 2011-11-28 16:32:35 +0000 498) bool
75957ba36c05b (Tom Herbert 2011-11-28 16:32:35 +0000 499)
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 500) config GLOB
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 501) bool
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 502) # This actually supports modular compilation, but the module overhead
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 503) # is ridiculous for the amount of code involved. Until an out-of-tree
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 504) # driver asks for it, we'll just link it directly it into the kernel
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 505) # when required. Since we're ignoring out-of-tree users, there's also
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 506) # no need bother prompting for a manual decision:
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 507) # prompt "glob_match() function"
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 508) help
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 509) This option provides a glob_match function for performing
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 510) simple text pattern matching. It originated in the ATA code
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 511) to blacklist particular drive models, but other device drivers
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 512) may need similar functionality.
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 513)
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 514) All drivers in the Linux kernel tree that require this function
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 515) should automatically select this option. Say N unless you
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 516) are compiling an out-of tree driver which tells you that it
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 517) depends on this.
b01250856b25f (George Spelvin 2014-08-06 16:09:23 -0700 518)
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 519) config GLOB_SELFTEST
ba95b045e94fe (Geert Uytterhoeven 2017-02-24 15:00:52 -0800 520) tristate "glob self-test on init"
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 521) depends on GLOB
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 522) help
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 523) This option enables a simple self-test of the glob_match
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 524) function on startup. It is primarily useful for people
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 525) working on the code to ensure they haven't introduced any
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 526) regressions.
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 527)
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 528) It only adds a little bit of code and slows kernel boot (or
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 529) module load) by a small amount, so you're welcome to play with
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 530) it, but you probably don't need it.
5f9be8248d980 (George Spelvin 2014-08-06 16:09:25 -0700 531)
e9cc8bddaea39 (Geert Uytterhoeven 2009-03-04 14:53:30 +0800 532) #
e9cc8bddaea39 (Geert Uytterhoeven 2009-03-04 14:53:30 +0800 533) # Netlink attribute parsing support is select'ed if needed
e9cc8bddaea39 (Geert Uytterhoeven 2009-03-04 14:53:30 +0800 534) #
e9cc8bddaea39 (Geert Uytterhoeven 2009-03-04 14:53:30 +0800 535) config NLATTR
e9cc8bddaea39 (Geert Uytterhoeven 2009-03-04 14:53:30 +0800 536) bool
e9cc8bddaea39 (Geert Uytterhoeven 2009-03-04 14:53:30 +0800 537)
09d4e0edd4614 (Paul Mackerras 2009-06-12 21:10:05 +0000 538) #
09d4e0edd4614 (Paul Mackerras 2009-06-12 21:10:05 +0000 539) # Generic 64-bit atomic support is selected if needed
09d4e0edd4614 (Paul Mackerras 2009-06-12 21:10:05 +0000 540) #
09d4e0edd4614 (Paul Mackerras 2009-06-12 21:10:05 +0000 541) config GENERIC_ATOMIC64
09d4e0edd4614 (Paul Mackerras 2009-06-12 21:10:05 +0000 542) bool
09d4e0edd4614 (Paul Mackerras 2009-06-12 21:10:05 +0000 543)
b411b3637fa71 (Philipp Reisner 2009-09-25 16:07:19 -0700 544) config LRU_CACHE
b411b3637fa71 (Philipp Reisner 2009-09-25 16:07:19 -0700 545) tristate
b411b3637fa71 (Philipp Reisner 2009-09-25 16:07:19 -0700 546)
c6df4b17c8539 (David Miller 2012-02-02 00:17:54 +0200 547) config CLZ_TAB
c6df4b17c8539 (David Miller 2012-02-02 00:17:54 +0200 548) bool
c6df4b17c8539 (David Miller 2012-02-02 00:17:54 +0200 549)
511cbce2ff8b9 (Christoph Hellwig 2015-11-10 14:56:14 +0100 550) config IRQ_POLL
511cbce2ff8b9 (Christoph Hellwig 2015-11-10 14:56:14 +0100 551) bool "IRQ polling library"
511cbce2ff8b9 (Christoph Hellwig 2015-11-10 14:56:14 +0100 552) help
511cbce2ff8b9 (Christoph Hellwig 2015-11-10 14:56:14 +0100 553) Helper library to poll interrupt mitigation using polling.
511cbce2ff8b9 (Christoph Hellwig 2015-11-10 14:56:14 +0100 554)
d9c46b184fcfd (Dmitry Kasatkin 2011-08-31 14:05:16 +0300 555) config MPILIB
2e5f094b9dbf9 (Dmitry Kasatkin 2012-01-17 17:12:06 +0200 556) tristate
c6df4b17c8539 (David Miller 2012-02-02 00:17:54 +0200 557) select CLZ_TAB
d9c46b184fcfd (Dmitry Kasatkin 2011-08-31 14:05:16 +0300 558) help
d9c46b184fcfd (Dmitry Kasatkin 2011-08-31 14:05:16 +0300 559) Multiprecision maths library from GnuPG.
d9c46b184fcfd (Dmitry Kasatkin 2011-08-31 14:05:16 +0300 560) It is used to implement RSA digital signature verification,
d9c46b184fcfd (Dmitry Kasatkin 2011-08-31 14:05:16 +0300 561) which is used by IMA/EVM digital signature extension.
d9c46b184fcfd (Dmitry Kasatkin 2011-08-31 14:05:16 +0300 562)
5e8898e97a5db (Dmitry Kasatkin 2012-01-17 17:12:03 +0200 563) config SIGNATURE
2e5f094b9dbf9 (Dmitry Kasatkin 2012-01-17 17:12:06 +0200 564) tristate
0d1f64f60b4c5 (Dmitry Kasatkin 2014-07-11 18:59:45 +0300 565) depends on KEYS
0d1f64f60b4c5 (Dmitry Kasatkin 2014-07-11 18:59:45 +0300 566) select CRYPTO
be440ec77325d (Dmitry Kasatkin 2012-01-17 17:12:04 +0200 567) select CRYPTO_SHA1
051dbb918c7fb (Dmitry Kasatkin 2011-10-14 15:25:16 +0300 568) select MPILIB
051dbb918c7fb (Dmitry Kasatkin 2011-10-14 15:25:16 +0300 569) help
051dbb918c7fb (Dmitry Kasatkin 2011-10-14 15:25:16 +0300 570) Digital signature verification. Currently only RSA is supported.
051dbb918c7fb (Dmitry Kasatkin 2011-10-14 15:25:16 +0300 571) Implementation is done using GnuPG MPI library
051dbb918c7fb (Dmitry Kasatkin 2011-10-14 15:25:16 +0300 572)
4f75da3666c0c (Tal Gilboa 2019-01-10 17:33:17 +0200 573) config DIMLIB
424adc329bcbf (Uwe Kleine-König 2019-09-24 18:02:59 +0200 574) bool
4f75da3666c0c (Tal Gilboa 2019-01-10 17:33:17 +0200 575) help
4f75da3666c0c (Tal Gilboa 2019-01-10 17:33:17 +0200 576) Dynamic Interrupt Moderation library.
991ad2b24da2f (Randy Dunlap 2019-09-25 17:20:42 -0700 577) Implements an algorithm for dynamically changing CQ moderation values
4f75da3666c0c (Tal Gilboa 2019-01-10 17:33:17 +0200 578) according to run time performance.
4f75da3666c0c (Tal Gilboa 2019-01-10 17:33:17 +0200 579)
ab25383983fb8 (David Daney 2012-07-05 18:12:38 +0200 580) #
ab25383983fb8 (David Daney 2012-07-05 18:12:38 +0200 581) # libfdt files, only selected if needed.
ab25383983fb8 (David Daney 2012-07-05 18:12:38 +0200 582) #
ab25383983fb8 (David Daney 2012-07-05 18:12:38 +0200 583) config LIBFDT
ab25383983fb8 (David Daney 2012-07-05 18:12:38 +0200 584) bool
ab25383983fb8 (David Daney 2012-07-05 18:12:38 +0200 585)
a77ad6ea0b0bb (David Howells 2012-09-21 23:30:46 +0100 586) config OID_REGISTRY
a77ad6ea0b0bb (David Howells 2012-09-21 23:30:46 +0100 587) tristate
a77ad6ea0b0bb (David Howells 2012-09-21 23:30:46 +0100 588) help
a77ad6ea0b0bb (David Howells 2012-09-21 23:30:46 +0100 589) Enable fast lookup object identifier registry.
a77ad6ea0b0bb (David Howells 2012-09-21 23:30:46 +0100 590)
0635eb8a54cf0 (Matthew Garrett 2013-04-15 13:09:45 -0700 591) config UCS2_STRING
68d4b3dfcaf24 (Krzysztof Kozlowski 2019-12-06 17:04:08 -0800 592) tristate
0635eb8a54cf0 (Matthew Garrett 2013-04-15 13:09:45 -0700 593)
00b26474c2f16 (Vincenzo Frascino 2019-06-21 10:52:29 +0100 594) #
00b26474c2f16 (Vincenzo Frascino 2019-06-21 10:52:29 +0100 595) # generic vdso
00b26474c2f16 (Vincenzo Frascino 2019-06-21 10:52:29 +0100 596) #
00b26474c2f16 (Vincenzo Frascino 2019-06-21 10:52:29 +0100 597) source "lib/vdso/Kconfig"
00b26474c2f16 (Vincenzo Frascino 2019-06-21 10:52:29 +0100 598)
ee89bd6bc73d1 (Geert Uytterhoeven 2013-06-09 11:46:43 +0200 599) source "lib/fonts/Kconfig"
ee89bd6bc73d1 (Geert Uytterhoeven 2013-06-09 11:46:43 +0200 600)
f8bcbe62acd0e (Robert Jarzmik 2015-08-08 10:44:10 +0200 601) config SG_SPLIT
f8bcbe62acd0e (Robert Jarzmik 2015-08-08 10:44:10 +0200 602) def_bool n
f8bcbe62acd0e (Robert Jarzmik 2015-08-08 10:44:10 +0200 603) help
7f7e92f7553c6 (Geert Uytterhoeven 2015-09-04 12:45:05 +0200 604) Provides a helper to split scatterlists into chunks, each chunk being
7f7e92f7553c6 (Geert Uytterhoeven 2015-09-04 12:45:05 +0200 605) a scatterlist. This should be selected by a driver or an API which
7f7e92f7553c6 (Geert Uytterhoeven 2015-09-04 12:45:05 +0200 606) whishes to split a scatterlist amongst multiple DMA channels.
f8bcbe62acd0e (Robert Jarzmik 2015-08-08 10:44:10 +0200 607)
9b1d6c8950021 (Ming Lin 2016-04-04 14:48:11 -0700 608) config SG_POOL
9b1d6c8950021 (Ming Lin 2016-04-04 14:48:11 -0700 609) def_bool n
9b1d6c8950021 (Ming Lin 2016-04-04 14:48:11 -0700 610) help
9b1d6c8950021 (Ming Lin 2016-04-04 14:48:11 -0700 611) Provides a helper to allocate chained scatterlists. This should be
9b1d6c8950021 (Ming Lin 2016-04-04 14:48:11 -0700 612) selected by a driver or an API which whishes to allocate chained
9b1d6c8950021 (Ming Lin 2016-04-04 14:48:11 -0700 613) scatterlist.
9b1d6c8950021 (Ming Lin 2016-04-04 14:48:11 -0700 614)
308c09f17da4a (Laura Abbott 2014-08-08 14:23:25 -0700 615) #
308c09f17da4a (Laura Abbott 2014-08-08 14:23:25 -0700 616) # sg chaining option
308c09f17da4a (Laura Abbott 2014-08-08 14:23:25 -0700 617) #
308c09f17da4a (Laura Abbott 2014-08-08 14:23:25 -0700 618)
7c703e54cc71d (Christoph Hellwig 2018-11-09 09:51:00 +0100 619) config ARCH_NO_SG_CHAIN
308c09f17da4a (Laura Abbott 2014-08-08 14:23:25 -0700 620) def_bool n
308c09f17da4a (Laura Abbott 2014-08-08 14:23:25 -0700 621)
61031952f4c89 (Ross Zwisler 2015-06-25 03:08:39 -0400 622) config ARCH_HAS_PMEM_API
61031952f4c89 (Ross Zwisler 2015-06-25 03:08:39 -0400 623) bool
61031952f4c89 (Ross Zwisler 2015-06-25 03:08:39 -0400 624)
33dd70752cd76 (Dan Williams 2019-11-06 17:43:31 -0800 625) config MEMREGION
33dd70752cd76 (Dan Williams 2019-11-06 17:43:31 -0800 626) bool
33dd70752cd76 (Dan Williams 2019-11-06 17:43:31 -0800 627)
9ffc1d19fc4a6 (Dan Williams 2020-01-30 12:06:07 -0800 628) config ARCH_HAS_MEMREMAP_COMPAT_ALIGN
9ffc1d19fc4a6 (Dan Williams 2020-01-30 12:06:07 -0800 629) bool
9ffc1d19fc4a6 (Dan Williams 2020-01-30 12:06:07 -0800 630)
bd79f94758c01 (Christoph Hellwig 2019-04-23 18:38:08 +0200 631) # use memcpy to implement user copies for nommu architectures
bd79f94758c01 (Christoph Hellwig 2019-04-23 18:38:08 +0200 632) config UACCESS_MEMCPY
bd79f94758c01 (Christoph Hellwig 2019-04-23 18:38:08 +0200 633) bool
bd79f94758c01 (Christoph Hellwig 2019-04-23 18:38:08 +0200 634)
0aed55af88345 (Dan Williams 2017-05-29 12:22:50 -0700 635) config ARCH_HAS_UACCESS_FLUSHCACHE
0aed55af88345 (Dan Williams 2017-05-29 12:22:50 -0700 636) bool
0aed55af88345 (Dan Williams 2017-05-29 12:22:50 -0700 637)
ec6347bb43395 (Dan Williams 2020-10-05 20:40:16 -0700 638) # arch has a concept of a recoverable synchronous exception due to a
ec6347bb43395 (Dan Williams 2020-10-05 20:40:16 -0700 639) # memory-read error like x86 machine-check or ARM data-abort, and
ec6347bb43395 (Dan Williams 2020-10-05 20:40:16 -0700 640) # implements copy_mc_to_{user,kernel} to abort and report
ec6347bb43395 (Dan Williams 2020-10-05 20:40:16 -0700 641) # 'bytes-transferred' if that exception fires when accessing the source
ec6347bb43395 (Dan Williams 2020-10-05 20:40:16 -0700 642) # buffer.
ec6347bb43395 (Dan Williams 2020-10-05 20:40:16 -0700 643) config ARCH_HAS_COPY_MC
522239b445a2d (Dan Williams 2018-05-22 23:17:03 -0700 644) bool
522239b445a2d (Dan Williams 2018-05-22 23:17:03 -0700 645)
214d8ca6ee854 (Thomas Gleixner 2019-04-25 11:45:21 +0200 646) # Temporary. Goes away when all archs are cleaned up
214d8ca6ee854 (Thomas Gleixner 2019-04-25 11:45:21 +0200 647) config ARCH_STACKWALK
214d8ca6ee854 (Thomas Gleixner 2019-04-25 11:45:21 +0200 648) bool
214d8ca6ee854 (Thomas Gleixner 2019-04-25 11:45:21 +0200 649)
cd11016e5f521 (Alexander Potapenko 2016-03-25 14:22:08 -0700 650) config STACKDEPOT
cd11016e5f521 (Alexander Potapenko 2016-03-25 14:22:08 -0700 651) bool
cd11016e5f521 (Alexander Potapenko 2016-03-25 14:22:08 -0700 652) select STACKTRACE
cd11016e5f521 (Alexander Potapenko 2016-03-25 14:22:08 -0700 653)
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 654) config STACK_HASH_ORDER
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 655) int "stack depot hash size (12 => 4KB, 20 => 1024KB)"
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 656) range 12 20
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 657) default 20
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 658) depends on STACKDEPOT
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 659) help
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 660) Select the hash size as a power of 2 for the stackdepot hash table.
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 661) Choose a lower value to reduce the memory impact.
d262093656a0e (Yogesh Lal 2021-02-25 17:21:24 -0800 662)
88459642cba45 (Omar Sandoval 2016-09-17 08:38:44 -0600 663) config SBITMAP
88459642cba45 (Omar Sandoval 2016-09-17 08:38:44 -0600 664) bool
88459642cba45 (Omar Sandoval 2016-09-17 08:38:44 -0600 665)
44091d29f2075 (Jiri Pirko 2017-02-03 10:29:06 +0100 666) config PARMAN
9d25af69b3cfa (Geert Uytterhoeven 2017-02-24 11:25:55 +0100 667) tristate "parman" if COMPILE_TEST
44091d29f2075 (Jiri Pirko 2017-02-03 10:29:06 +0100 668)
3dfdecc6d1256 (Randy Dunlap 2019-09-09 14:54:21 -0700 669) config OBJAGG
3dfdecc6d1256 (Randy Dunlap 2019-09-09 14:54:21 -0700 670) tristate "objagg" if COMPILE_TEST
3dfdecc6d1256 (Randy Dunlap 2019-09-09 14:54:21 -0700 671)
03270c13c5ffa (Matthew Wilcox 2017-09-08 16:13:52 -0700 672) config STRING_SELFTEST
d6b28e0996962 (Geert Uytterhoeven 2017-11-17 15:27:56 -0800 673) tristate "Test string functions"
03270c13c5ffa (Matthew Wilcox 2017-09-08 16:13:52 -0700 674)
2de4ff7bd658c (Thomas Graf 2005-06-23 20:49:30 -0700 675) endmenu
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 676)
80b0ca98f91dd (Christoph Hellwig 2019-08-13 11:24:04 +0200 677) config GENERIC_IOREMAP
80b0ca98f91dd (Christoph Hellwig 2019-08-13 11:24:04 +0200 678) bool
80b0ca98f91dd (Christoph Hellwig 2019-08-13 11:24:04 +0200 679)
e3d5980568fdf (Matt Redfearn 2018-04-11 08:50:17 +0100 680) config GENERIC_LIB_ASHLDI3
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 681) bool
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 682)
e3d5980568fdf (Matt Redfearn 2018-04-11 08:50:17 +0100 683) config GENERIC_LIB_ASHRDI3
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 684) bool
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 685)
e3d5980568fdf (Matt Redfearn 2018-04-11 08:50:17 +0100 686) config GENERIC_LIB_LSHRDI3
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 687) bool
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 688)
e3d5980568fdf (Matt Redfearn 2018-04-11 08:50:17 +0100 689) config GENERIC_LIB_MULDI3
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 690) bool
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 691)
e3d5980568fdf (Matt Redfearn 2018-04-11 08:50:17 +0100 692) config GENERIC_LIB_CMPDI2
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 693) bool
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 694)
e3d5980568fdf (Matt Redfearn 2018-04-11 08:50:17 +0100 695) config GENERIC_LIB_UCMPDI2
b35cd9884fa5d (Palmer Dabbelt 2017-05-23 10:28:26 -0700 696) bool
b8265621f4888 (Jacob Keller 2020-07-23 17:21:59 -0700 697)
527701eda5f19 (Palmer Dabbelt 2020-07-09 11:43:21 -0700 698) config GENERIC_LIB_DEVMEM_IS_ALLOWED
527701eda5f19 (Palmer Dabbelt 2020-07-09 11:43:21 -0700 699) bool
527701eda5f19 (Palmer Dabbelt 2020-07-09 11:43:21 -0700 700)
b8265621f4888 (Jacob Keller 2020-07-23 17:21:59 -0700 701) config PLDMFW
b8265621f4888 (Jacob Keller 2020-07-23 17:21:59 -0700 702) bool
b8265621f4888 (Jacob Keller 2020-07-23 17:21:59 -0700 703) default n
b07067627cd5f (James Bottomley 2021-01-27 11:06:13 -0800 704)
b07067627cd5f (James Bottomley 2021-01-27 11:06:13 -0800 705) config ASN1_ENCODER
b07067627cd5f (James Bottomley 2021-01-27 11:06:13 -0800 706) tristate