From: Chee Yang Lee <[email protected]>

Signed-off-by: Chee Yang Lee <[email protected]>
---
 ...qat-Silence-smp_processor_id-warning.patch | 72 -------------------
 ..._4.19.0-00005.bb => qat17_4.20.0-00001.bb} |  5 +-
 2 files changed, 2 insertions(+), 75 deletions(-)
 delete mode 100644 
recipes-extended/qat/files/0009-crypto-qat-Silence-smp_processor_id-warning.patch
 rename recipes-extended/qat/{qat17_4.19.0-00005.bb => qat17_4.20.0-00001.bb} 
(96%)

diff --git 
a/recipes-extended/qat/files/0009-crypto-qat-Silence-smp_processor_id-warning.patch
 
b/recipes-extended/qat/files/0009-crypto-qat-Silence-smp_processor_id-warning.patch
deleted file mode 100644
index d619cc3..0000000
--- 
a/recipes-extended/qat/files/0009-crypto-qat-Silence-smp_processor_id-warning.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From a79112f8673c3d4912bb28592e64a90f237a31e5 Mon Sep 17 00:00:00 2001
-From: Alexander Sverdlin <[email protected]>
-Date: Tue, 23 Jul 2019 07:24:01 +0000
-Subject: [PATCH 09/11] crypto: qat - Silence smp_processor_id() warning
-
-It seems that smp_processor_id() is only used for a best-effort
-load-balancing, refer to qat_crypto_get_instance_node(). It's not feasible
-to disable preemption for the duration of the crypto requests. Therefore,
-just silence the warning. This commit is similar to e7a9b05ca4
-("crypto: cavium - Fix smp_processor_id() warnings").
-
-Silences the following splat:
-BUG: using smp_processor_id() in preemptible [00000000] code: 
cryptomgr_test/2904
-caller is qat_alg_ablkcipher_setkey+0x300/0x4a0 [intel_qat]
-CPU: 1 PID: 2904 Comm: cryptomgr_test Tainted: P           O    4.14.69 #1
-...
-Call Trace:
- dump_stack+0x5f/0x86
- check_preemption_disabled+0xd3/0xe0
- qat_alg_ablkcipher_setkey+0x300/0x4a0 [intel_qat]
- skcipher_setkey_ablkcipher+0x2b/0x40
- __test_skcipher+0x1f3/0xb20
- ? cpumask_next_and+0x26/0x40
- ? find_busiest_group+0x10e/0x9d0
- ? preempt_count_add+0x49/0xa0
- ? try_module_get+0x61/0xf0
- ? crypto_mod_get+0x15/0x30
- ? __kmalloc+0x1df/0x1f0
- ? __crypto_alloc_tfm+0x116/0x180
- ? crypto_skcipher_init_tfm+0xa6/0x180
- ? crypto_create_tfm+0x4b/0xf0
- test_skcipher+0x21/0xa0
- alg_test_skcipher+0x3f/0xa0
- alg_test.part.6+0x126/0x2a0
- ? finish_task_switch+0x21b/0x260
- ? __schedule+0x1e9/0x800
- ? __wake_up_common+0x8d/0x140
- cryptomgr_test+0x40/0x50
- kthread+0xff/0x130
- ? cryptomgr_notify+0x540/0x540
- ? kthread_create_on_node+0x70/0x70
- ret_from_fork+0x24/0x50
-
-Fixes: ed8ccaef52 ("crypto: qat - Add support for SRIOV")
-Cc: [email protected]
-Signed-off-by: Alexander Sverdlin <[email protected]>
-Signed-off-by: Herbert Xu <[email protected]>
-
-Upstream-Status: Backport
-[https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1b82feb6c5e1996513d0fb0bbb475417088b4954]
-
-Signed-off-by: Yongxin Liu <[email protected]>
----
- quickassist/qat/drivers/crypto/qat/qat_common/adf_common_drv.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/quickassist/qat/drivers/crypto/qat/qat_common/adf_common_drv.h 
b/quickassist/qat/drivers/crypto/qat/qat_common/adf_common_drv.h
-index 8d57925..38bad69 100644
---- a/quickassist/qat/drivers/crypto/qat/qat_common/adf_common_drv.h
-+++ b/quickassist/qat/drivers/crypto/qat/qat_common/adf_common_drv.h
-@@ -100,7 +100,7 @@ struct service_hndl {
- 
- static inline int get_current_node(void)
- {
--      return topology_physical_package_id(smp_processor_id());
-+      return topology_physical_package_id(raw_smp_processor_id());
- }
- 
- int adf_service_register(struct service_hndl *service);
--- 
-2.14.5
-
diff --git a/recipes-extended/qat/qat17_4.19.0-00005.bb 
b/recipes-extended/qat/qat17_4.20.0-00001.bb
similarity index 96%
rename from recipes-extended/qat/qat17_4.19.0-00005.bb
rename to recipes-extended/qat/qat17_4.20.0-00001.bb
index 5167b40..3126657 100644
--- a/recipes-extended/qat/qat17_4.19.0-00005.bb
+++ b/recipes-extended/qat/qat17_4.20.0-00001.bb
@@ -12,21 +12,20 @@ PROVIDES += "virtual/qat"
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
-SRC_URI = 
"https://downloadmirror.intel.com/743650/QAT.L.4.19.0-00005.tar.gz;subdir=qat17 
\
+SRC_URI = 
"https://downloadmirror.intel.com/761891/QAT.L.4.20.0-00001.tar.gz;subdir=qat17 
\
            file://0001-qat-fix-for-cross-compilation-issue.patch \
            file://0002-qat-remove-local-path-from-makefile.patch \
            file://0003-qat-override-CC-LD-AR-only-when-it-is-not-define.patch \
            file://0004-update-KDIR-for-cross-compilation.patch \
            file://0005-Added-include-dir-path.patch \
            file://0006-qat-add-install-target-and-add-folder.patch \
-           file://0009-crypto-qat-Silence-smp_processor_id-warning.patch \
            
file://0001-usdm_drv-convert-mutex_lock-to-mutex_trylock-to-avio.patch \
            file://qat-remove-the-deprecated-pci-dma-compat.h-API.patch \
           "
 
 do_configure[depends] += "virtual/kernel:do_shared_workdir"
 
-SRC_URI[sha256sum] = 
"0eeb6c56f88617ada642d78f805a1a4b5b343a2fa62f34e72726537149a7e27e"
+SRC_URI[sha256sum] = 
"90ca71c551cbb963b261f528616f2be5085f23a87578f2325623cfb6511a32f7"
 
 COMPATIBLE_MACHINE = "null"
 COMPATIBLE_HOST:x86-x32 = 'null'
-- 
2.37.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7834): 
https://lists.yoctoproject.org/g/meta-intel/message/7834
Mute This Topic: https://lists.yoctoproject.org/mt/97021747/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to