From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 261B4A0096 for ; Wed, 8 May 2019 18:02:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8DECD2C2B; Wed, 8 May 2019 18:02:39 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 3914FDE3 for ; Wed, 8 May 2019 18:02:38 +0200 (CEST) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5415B307E04C; Wed, 8 May 2019 16:02:37 +0000 (UTC) Received: from rh.redhat.com (ovpn-117-210.ams2.redhat.com [10.36.117.210]) by smtp.corp.redhat.com (Postfix) with ESMTP id 65EFB60C82; Wed, 8 May 2019 16:02:36 +0000 (UTC) From: Kevin Traynor To: Hemant Agrawal Cc: dpdk stable Date: Wed, 8 May 2019 17:01:58 +0100 Message-Id: <20190508160233.2648-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Wed, 08 May 2019 16:02:37 +0000 (UTC) Subject: [dpdk-stable] patch 'raw/dpaa2_qdma: fix spin lock release' has been queued to LTS release 18.11.2 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/14/19. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/e1d18d813644fbefc64dbf96a2d1088b24af11c8 Thanks. Kevin Traynor --- >From e1d18d813644fbefc64dbf96a2d1088b24af11c8 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Wed, 24 Apr 2019 17:15:16 +0530 Subject: [PATCH] raw/dpaa2_qdma: fix spin lock release [ upstream commit 53a1a1f7cb849e39c2e9fe88de1d6655ce72f87d ] The code shall be unlock post the lock. Fixes: c22fab9a6c34 ("raw/dpaa2_qdma: support configuration APIs") Signed-off-by: Hemant Agrawal --- drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c index f8a1b0c40..55f32a596 100644 --- a/drivers/raw/dpaa2_qdma/dpaa2_qdma.c +++ b/drivers/raw/dpaa2_qdma/dpaa2_qdma.c @@ -726,5 +726,5 @@ rte_qdma_vq_destroy(uint16_t vq_id) memset(qdma_vq, 0, sizeof(struct qdma_virt_queue)); - rte_spinlock_lock(&qdma_dev.lock); + rte_spinlock_unlock(&qdma_dev.lock); return 0; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2019-05-08 16:33:57.487342938 +0100 +++ 0001-raw-dpaa2_qdma-fix-spin-lock-release.patch 2019-05-08 16:33:57.268582738 +0100 @@ -1 +1 @@ -From 53a1a1f7cb849e39c2e9fe88de1d6655ce72f87d Mon Sep 17 00:00:00 2001 +From e1d18d813644fbefc64dbf96a2d1088b24af11c8 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 53a1a1f7cb849e39c2e9fe88de1d6655ce72f87d ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org @@ -17 +18 @@ -index a41c1e385..102d423c6 100644 +index f8a1b0c40..55f32a596 100644 @@ -20 +21 @@ -@@ -985,5 +985,5 @@ rte_qdma_vq_destroy(uint16_t vq_id) +@@ -726,5 +726,5 @@ rte_qdma_vq_destroy(uint16_t vq_id)