QAT add missing patch

This commit is contained in:
root 2024-01-02 21:00:43 -05:00
parent 71c27adb18
commit adcc2f332d
2 changed files with 88 additions and 1 deletions

View file

@ -0,0 +1,87 @@
From 9c846c5d2d4e63d75b2cb172625087cadadbe065 Mon Sep 17 00:00:00 2001
From: Yoan Picchi <yoan.picchi@arm.com>
Date: Fri, 17 Jun 2022 09:59:45 +0000
Subject: crypto: qat - Removes the x86 dependency on the QAT drivers
This dependency looks outdated. After the previous patch, we have been able
to use this driver to encrypt some data and to create working VF on arm64.
We have not tested it yet on any big endian machine, hence the new dependency
Signed-off-by: Yoan Picchi <yoan.picchi@arm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
---
drivers/crypto/qat/Kconfig | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
(limited to 'drivers/crypto/qat')
diff --git a/drivers/crypto/qat/Kconfig b/drivers/crypto/qat/Kconfig
index 4b90c0f22b03f..1220cc86f9100 100644
--- a/drivers/crypto/qat/Kconfig
+++ b/drivers/crypto/qat/Kconfig
@@ -17,7 +17,7 @@ config CRYPTO_DEV_QAT
config CRYPTO_DEV_QAT_DH895xCC
tristate "Support for Intel(R) DH895xCC"
- depends on X86 && PCI
+ depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST)
select CRYPTO_DEV_QAT
help
Support for Intel(R) DH895xcc with Intel(R) QuickAssist Technology
@@ -28,7 +28,7 @@ config CRYPTO_DEV_QAT_DH895xCC
config CRYPTO_DEV_QAT_C3XXX
tristate "Support for Intel(R) C3XXX"
- depends on X86 && PCI
+ depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST)
select CRYPTO_DEV_QAT
help
Support for Intel(R) C3xxx with Intel(R) QuickAssist Technology
@@ -39,7 +39,7 @@ config CRYPTO_DEV_QAT_C3XXX
config CRYPTO_DEV_QAT_C62X
tristate "Support for Intel(R) C62X"
- depends on X86 && PCI
+ depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST)
select CRYPTO_DEV_QAT
help
Support for Intel(R) C62x with Intel(R) QuickAssist Technology
@@ -50,7 +50,7 @@ config CRYPTO_DEV_QAT_C62X
config CRYPTO_DEV_QAT_4XXX
tristate "Support for Intel(R) QAT_4XXX"
- depends on X86 && PCI
+ depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST)
select CRYPTO_DEV_QAT
help
Support for Intel(R) QuickAssist Technology QAT_4xxx
@@ -61,7 +61,7 @@ config CRYPTO_DEV_QAT_4XXX
config CRYPTO_DEV_QAT_DH895xCCVF
tristate "Support for Intel(R) DH895xCC Virtual Function"
- depends on X86 && PCI
+ depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST)
select PCI_IOV
select CRYPTO_DEV_QAT
@@ -74,7 +74,7 @@ config CRYPTO_DEV_QAT_DH895xCCVF
config CRYPTO_DEV_QAT_C3XXXVF
tristate "Support for Intel(R) C3XXX Virtual Function"
- depends on X86 && PCI
+ depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST)
select PCI_IOV
select CRYPTO_DEV_QAT
help
@@ -86,7 +86,7 @@ config CRYPTO_DEV_QAT_C3XXXVF
config CRYPTO_DEV_QAT_C62XVF
tristate "Support for Intel(R) C62X Virtual Function"
- depends on X86 && PCI
+ depends on PCI && (!CPU_BIG_ENDIAN || COMPILE_TEST)
select PCI_IOV
select CRYPTO_DEV_QAT
help
--
cgit 1.2.3-korg

View file

@ -3,7 +3,6 @@ pve/0002-wireless-Add-Debian-wireless-regdb-certificates.patch
pve/0003-bridge-keep-MAC-of-first-assigned-port.patch pve/0003-bridge-keep-MAC-of-first-assigned-port.patch
pve/0005-kvm-disable-default-dynamic-halt-polling-growth.patch pve/0005-kvm-disable-default-dynamic-halt-polling-growth.patch
pve/0006-net-core-downgrade-unregister_netdevice-refcount-lea.patch pve/0006-net-core-downgrade-unregister_netdevice-refcount-lea.patch
pve/0008-PCI-Reinstate-PCI-Coalesce-host-bridge-contiguous-ap.patch
pve/0009-do-not-generate-split-BTF-type-info-per-default.patch pve/0009-do-not-generate-split-BTF-type-info-per-default.patch
pve/0010-blk-cgroup-always-terminate-io.stat-lines.patch pve/0010-blk-cgroup-always-terminate-io.stat-lines.patch
pve/0011-drivers-firmware-Don-t-mark-as-busy-the-simple-frame.patch pve/0011-drivers-firmware-Don-t-mark-as-busy-the-simple-frame.patch
@ -11,3 +10,4 @@ pve/0012-drm-simpledrm-Request-memory-region-in-driver.patch
pve/0013-fbdev-simplefb-Request-memory-region-in-driver.patch pve/0013-fbdev-simplefb-Request-memory-region-in-driver.patch
pve/0014-NFSv4.1-provide-mount-option-to-toggle-trunking-disc.patch pve/0014-NFSv4.1-provide-mount-option-to-toggle-trunking-disc.patch
pve/0016-bug-introduce-ASSERT_STRUCT_OFFSET.patch pve/0016-bug-introduce-ASSERT_STRUCT_OFFSET.patch
pve/0025-drop-x86-dependency-qat.patch