summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/hisilicon/Kconfig
diff options
context:
space:
mode:
authorZhou Wang <wangzhou1@hisilicon.com>2019-09-30 15:08:52 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2019-10-10 23:36:31 +1100
commit48c1cd40fae31aa39e33930e7d28a0d96f01ea17 (patch)
tree96142be432e73a7039725a12d4fba38ad0e87b8c /drivers/crypto/hisilicon/Kconfig
parentdaae28debcb03eee837fadfd20788107b325c5a2 (diff)
downloadlinux-stable-48c1cd40fae31aa39e33930e7d28a0d96f01ea17.tar.gz
linux-stable-48c1cd40fae31aa39e33930e7d28a0d96f01ea17.tar.bz2
linux-stable-48c1cd40fae31aa39e33930e7d28a0d96f01ea17.zip
crypto: hisilicon - merge sgl support to hisi_qm module
As HW SGL can be seen as a data format of QM's sqe, we merge sgl code into qm module and rename it as hisi_qm, which reduces the number of module and make the name less generic. This patch also modify the interface of SGL: - Create/free hisi_acc_sgl_pool inside. - Let user to pass the SGE number in one SGL when creating sgl pool, which is better than a unified module parameter for sgl module before. - Modify zip driver according to sgl interface change. Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com> Signed-off-by: Shukun Tan <tanshukun1@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/hisilicon/Kconfig')
-rw-r--r--drivers/crypto/hisilicon/Kconfig9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/crypto/hisilicon/Kconfig b/drivers/crypto/hisilicon/Kconfig
index 7bfcaa7674fd..79c82ba85a77 100644
--- a/drivers/crypto/hisilicon/Kconfig
+++ b/drivers/crypto/hisilicon/Kconfig
@@ -22,21 +22,12 @@ config CRYPTO_DEV_HISI_QM
HiSilicon accelerator engines use a common queue management
interface. Specific engine driver may use this module.
-config CRYPTO_HISI_SGL
- tristate
- depends on ARM64 || COMPILE_TEST
- help
- HiSilicon accelerator engines use a common hardware scatterlist
- interface for data format. Specific engine driver may use this
- module.
-
config CRYPTO_DEV_HISI_ZIP
tristate "Support for HiSilicon ZIP accelerator"
depends on PCI && PCI_MSI
depends on ARM64 || (COMPILE_TEST && 64BIT)
depends on !CPU_BIG_ENDIAN || COMPILE_TEST
select CRYPTO_DEV_HISI_QM
- select CRYPTO_HISI_SGL
select SG_SPLIT
help
Support for HiSilicon ZIP Driver