From ad1c1daee62ed4622e2b9ba02e8dbd66c7558ed8 Mon Sep 17 00:00:00 2001
From: lauyarn <liuyang645@huawei.com>
Date: Thu, 23 Nov 2023 10:06:11 +0800
Subject: [PATCH] crypto: hisilicon - Add value profile support for kernel.

    driver inclusion
    category: feature
    bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFOM
    CVE: NA

    ----------------------------------------------------------------------

    To enable the kernel to compile accelerator drivers by default.

Signed-off-by: lauyarn <liuyang645@huawei.com>
---
 arch/arm64/configs/openeuler_defconfig | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/arch/arm64/configs/openeuler_defconfig b/arch/arm64/configs/openeuler_defconfig
index 1309fc61a1c5..b72ec96d833a 100644
--- a/arch/arm64/configs/openeuler_defconfig
+++ b/arch/arm64/configs/openeuler_defconfig
@@ -2091,7 +2091,7 @@ CONFIG_ALTERA_STAPL=m
 # CONFIG_ECHO is not set
 # CONFIG_MISC_RTSX_PCI is not set
 # CONFIG_MISC_RTSX_USB is not set
-# CONFIG_UACCE is not set
+CONFIG_UACCE=m
 
 #
 # SCSI device support
@@ -6332,11 +6332,12 @@ CONFIG_CHELSIO_IPSEC_INLINE=y
 # CONFIG_CRYPTO_DEV_CHELSIO_TLS is not set
 CONFIG_CRYPTO_DEV_VIRTIO=m
 # CONFIG_CRYPTO_DEV_CCREE is not set
-# CONFIG_CRYPTO_DEV_HISI_SEC is not set
-# CONFIG_CRYPTO_DEV_HISI_ZIP is not set
-# CONFIG_CRYPTO_DEV_HISI_HPRE is not set
-# CONFIG_CRYPTO_DEV_HISI_SEC2 is not set
-# CONFIG_CRYPTO_DEV_HISI_RDE is not set
+CONFIG_CRYPTO_DEV_HISI_SEC=m
+CONFIG_CRYPTO_DEV_HISI_QM=m
+CONFIG_CRYPTO_DEV_HISI_ZIP=m
+CONFIG_CRYPTO_DEV_HISI_HPRE=m
+CONFIG_CRYPTO_DEV_HISI_SEC2=m
+CONFIG_CRYPTO_DEV_HISI_RDE=m
 CONFIG_ASYMMETRIC_KEY_TYPE=y
 CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y
 CONFIG_X509_CERTIFICATE_PARSER=y
-- 
2.27.0

