FAILED: patch "[PATCH] net: mscc: ocelot: fix address of SYS_COUNT_TX_AGING counter" failed to apply to 4.19-stable tree
Subsystems (3)
[email protected]
maintainerThe patch below does not apply to the 4.19-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From 173ca86618d751bd183456c9cdbb69952ba283c8 Mon Sep 17 00:00:00 2001
From: Vladimir Oltean <[email protected]>
Date: Tue, 16 Aug 2022 16:53:47 +0300
Subject: [PATCH] net: mscc: ocelot: fix address of SYS_COUNT_TX_AGING counter
This register, used as part of stats->tx_dropped in ocelot_get_stats64(), has a wrong address. At the address currently given, there is actually the c_tx_green_prio_6 counter.
Fixes a556c76adc05 ("net: mscc: Add initial Ocelot switch support")
Signed-off-by Vladimir Oltean <[email protected]>
Signed-off-by Jakub Kicinski <[email protected]>
drivers/net/ethernet/mscc/vsc7514_regs.c +1 -1
@@ -202,7 +202,7 @@ const u32 vsc7514_sys_regmap[] = {REG (SYS_COUNT_TX_512_1023 ,0x00012c ),REG (SYS_COUNT_TX_1024_1526 ,0x000130 ),REG (SYS_COUNT_TX_1527_MAX ,0x000134 ), -REG (SYS_COUNT_TX_AGING ,0x000170 ), +REG (SYS_COUNT_TX_AGING ,0x000178 ),REG (SYS_RESET_CFG ,0x000508 ),REG (SYS_CMID ,0x00050c ), REG(SYS_VLAN_ETYPE_CFG, 0x000510),