patch 'event/cnxk: fix sub-event clearing mask length' has been queued to stable release 21.11.1

Kevin Traynor ktraynor at redhat.com
Tue Mar 8 15:14:16 CET 2022


Hi,

FYI, your patch has been queued to stable release 21.11.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/14/22. 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

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/9d5386447570c5bbf3f5bcd569b89603114cadf5

Thanks.

Kevin

---
>From 9d5386447570c5bbf3f5bcd569b89603114cadf5 Mon Sep 17 00:00:00 2001
From: Pavan Nikhilesh <pbhagavatula at marvell.com>
Date: Wed, 2 Mar 2022 04:23:08 +0530
Subject: [PATCH] event/cnxk: fix sub-event clearing mask length

[ upstream commit b4766203dd06bca2fe8eabde874bcda9b05b5792 ]

Fix incorrect mask used when clearing subevent type masking out
useful data.

Fixes: e239e0d3faf7 ("event/cnxk: add SSO HW device operations")

Signed-off-by: Pavan Nikhilesh <pbhagavatula at marvell.com>
---
 drivers/event/cnxk/cnxk_eventdev.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/event/cnxk/cnxk_eventdev.h b/drivers/event/cnxk/cnxk_eventdev.h
index 4652b58a84..39c13b02fc 100644
--- a/drivers/event/cnxk/cnxk_eventdev.h
+++ b/drivers/event/cnxk/cnxk_eventdev.h
@@ -45,5 +45,5 @@
 #define CNXK_EVENT_TYPE_FROM_TAG(x) (((x) >> 28) & 0xf)
 #define CNXK_SUB_EVENT_FROM_TAG(x)  (((x) >> 20) & 0xff)
-#define CNXK_CLR_SUB_EVENT(x)	    (~(0xffu << 20) & x)
+#define CNXK_CLR_SUB_EVENT(x)	    (~(0xffull << 20) & x)
 #define CNXK_GRP_FROM_TAG(x)	    (((x) >> 36) & 0x3ff)
 #define CNXK_SWTAG_PEND(x)	    (BIT_ULL(62) & x)
-- 
2.34.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-03-08 13:55:28.532349745 +0000
+++ 0001-event-cnxk-fix-sub-event-clearing-mask-length.patch	2022-03-08 13:55:28.377314835 +0000
@@ -1 +1 @@
-From b4766203dd06bca2fe8eabde874bcda9b05b5792 Mon Sep 17 00:00:00 2001
+From 9d5386447570c5bbf3f5bcd569b89603114cadf5 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit b4766203dd06bca2fe8eabde874bcda9b05b5792 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
-index b157fef096..5564746e6d 100644
+index 4652b58a84..39c13b02fc 100644
@@ -21 +22 @@
-@@ -44,5 +44,5 @@
+@@ -45,5 +45,5 @@



More information about the stable mailing list