Skip to content

Commit 400fb7f

Browse files
committed
move async raid6 test to lib/Kconfig.debug
The prompt for "Self test for hardware accelerated raid6 recovery" does not belong in the top level configuration menu. All the options in crypto/async_tx/Kconfig are selected and do not depend on CRYPTO. Kconfig.debug seems like a reasonable fit. Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
1 parent 6391987 commit 400fb7f

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎crypto/async_tx/Kconfig‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,6 @@ config ASYNC_RAID6_RECOV
2424
select ASYNC_PQ
2525
select ASYNC_XOR
2626

27-
config ASYNC_RAID6_TEST
28-
tristate "Self test for hardware accelerated raid6 recovery"
29-
depends on ASYNC_RAID6_RECOV
30-
select ASYNC_MEMCPY
31-
---help---
32-
This is a one-shot self test that permutes through the
33-
recovery of all the possible two disk failure scenarios for a
34-
N-disk array. Recovery is performed with the asynchronous
35-
raid6 recovery routines, and will optionally use an offload
36-
engine if one is available.
37-
38-
If unsure, say N.
39-
4027
config ASYNC_TX_DISABLE_PQ_VAL_DMA
4128
bool
4229

‎lib/Kconfig.debug‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,19 @@ config ATOMIC64_SELFTEST
11501150

11511151
If unsure, say N.
11521152

1153+
config ASYNC_RAID6_TEST
1154+
tristate "Self test for hardware accelerated raid6 recovery"
1155+
depends on ASYNC_RAID6_RECOV
1156+
select ASYNC_MEMCPY
1157+
---help---
1158+
This is a one-shot self test that permutes through the
1159+
recovery of all the possible two disk failure scenarios for a
1160+
N-disk array. Recovery is performed with the asynchronous
1161+
raid6 recovery routines, and will optionally use an offload
1162+
engine if one is available.
1163+
1164+
If unsure, say N.
1165+
11531166
source "samples/Kconfig"
11541167

11551168
source "lib/Kconfig.kgdb"

0 commit comments

Comments
 (0)