!1325 crypto: hisilicon - Add value profile support for Accelerator

From: @realzhongkeyi 
Reviewed-by: @youngersun, @SuperSix173 
Signed-off-by: @Lostwayzxc
This commit is contained in:
openeuler-ci-bot 2023-11-24 01:29:10 +00:00 committed by Gitee
commit 63f9b3e7c8
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 57 additions and 1 deletions

View File

@ -32,7 +32,7 @@
Name: kernel
Version: 4.19.90
Release: %{hulkrelease}.0249
Release: %{hulkrelease}.0250
Summary: Linux Kernel
License: GPLv2
URL: http://www.kernel.org/
@ -850,6 +850,9 @@ fi
%changelog
* Thu Nov 23 2023 Keyi Zhong <zhongkeyi1@huawei.com> - 4.19.90-2311.4.0.0250
- crypto: hisilicon - Add value profile support for kernel
* Wed Nov 22 2023 Luo Shengwei <luoshengwei@huawei.com> - 4.19.90-2311.4.0.0249
- !1935 [openEuler-1.0-LTS] Add Phytium optee driver support
- !2895 netfilter: conntrack: dccp: copy entire header to stack buffer, not just basic one

View File

@ -0,0 +1,52 @@
From 826a9c1864dd9b6042a401eefd84df627b6d3ec9 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 b04256636d4b..4253a546d7eb 100644
--- a/arch/arm64/configs/openeuler_defconfig
+++ b/arch/arm64/configs/openeuler_defconfig
@@ -5141,7 +5141,8 @@ CONFIG_TEE=m
#
# CONFIG_OPTEE is not set
# CONFIG_SIOX is not set
-# CONFIG_UACCE is not set
+CONFIG_UACCE=m
+CONFIG_CRYPTO_DEV_HISI_QM=m
# CONFIG_SLIMBUS is not set
#
@@ -5639,11 +5640,11 @@ 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_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

View File

@ -756,3 +756,4 @@ patches/0752-scsi-hisi_sas-Check-usage-count-only-when-the-runtim.patch
patches/0753-scsi-hisi_sas_v3_hw-Don-t-use-PCI-helper-functions.patch
patches/0754-scsi-hisi_sas_v3_hw-Remove-extra-function-calls-for-.patch
patches/0755-config-arm64-Enable-dubugfs-config-of-hisi-sas.patch
patches/0756-crypto-hisilicon-Add-value-profile-support-for-kerne.patch