Skip to contentSkip to conversation

Patch "staging: fsl-dpaa2/eth: fix off-by-one FD ctrl bitmaks" has been added to the 4.13-stable tree

PATCH [email protected] 1 participant 1 message Sep 7, 2017

Subsystems (2)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

staging: fsl-dpaa2/eth: fix off-by-one FD ctrl bitmaks

to the 4.13-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
staging-fsl-dpaa2-eth-fix-off-by-one-fd-ctrl-bitmaks.patch
and it can be found in the queue-4.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 11b86a84bc535a602fcf72ba6b3aa4eaa748764f Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Horia=20Geant=C4=83?= <[email protected]>
Date: Fri, 1 Sep 2017 15:58:41 +0300
Subject: staging: fsl-dpaa2/eth: fix off-by-one FD ctrl bitmaks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Horia Geantă <[email protected]>

commit 11b86a84bc535a602fcf72ba6b3aa4eaa748764f upstream.

Fix the values of DPAA2_FD_CTRL_FSE and DPAA2_FD_CTRL_FAERR, which are shifted off by one bit.

Fixes 39163c0ce0f48 ("staging: fsl-dpaa2/eth: Errors checking update")
---
 drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h +2 -2
@@ -123,8 +123,8 @@ struct dpaa2_eth_swa {
 /* Error bits in FD CTRL */
 #define DPAA2_FD_CTRL_UFD		0x00000004
 #define DPAA2_FD_CTRL_SBE		0x00000008
-#define DPAA2_FD_CTRL_FSE		0x00000010
-#define DPAA2_FD_CTRL_FAERR		0x00000020
+#define DPAA2_FD_CTRL_FSE		0x00000020
+#define DPAA2_FD_CTRL_FAERR		0x00000040
 
 #define DPAA2_FD_RX_ERR_MASK		(DPAA2_FD_CTRL_SBE	| \
 					 DPAA2_FD_CTRL_FAERR)

Patches currently in stable-queue which might be from [email protected] are

queue-4.13/staging-fsl-dpaa2-eth-fix-off-by-one-fd-ctrl-bitmaks.patch queue-4.13/crypto-caam-qi-fix-compilation-with-config_debug_force_weak_per_cpu-y.patch queue-4.13/crypto-caam-qi-fix-compilation-with-debug-enabled.patch