netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] Ocelot/Felix driver cleanup
@ 2023-04-12 12:47 Vladimir Oltean
  2023-04-12 12:47 ` [PATCH net-next 1/8] net: mscc: ocelot: strengthen type of "u32 reg" in I/O accessors Vladimir Oltean
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: Vladimir Oltean @ 2023-04-12 12:47 UTC (permalink / raw)
  To: netdev
  Cc: Andrew Lunn, Florian Fainelli, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Claudiu Manoil, Alexandre Belloni,
	UNGLinuxDriver, Colin Foster, linux-kernel

The cleanup mostly handles the statistics code path - some issues
regarding understandability became apparent after the series
"Fix trainwreck with Ocelot switch statistics counters":
https://lore.kernel.org/netdev/20230321010325.897817-1-vladimir.oltean@nxp.com/

There is also one patch which cleans up a misleading comment
in the DSA felix_setup().

Vladimir Oltean (8):
  net: mscc: ocelot: strengthen type of "u32 reg" in I/O accessors
  net: mscc: ocelot: refactor enum ocelot_reg decoding to helper
  net: mscc: ocelot: debugging print for statistics regions
  net: mscc: ocelot: remove blank line at the end of ocelot_stats.c
  net: dsa: felix: remove confusing/incorrect comment from felix_setup()
  net: mscc: ocelot: strengthen type of "u32 reg" and "u32 base" in
    ocelot_stats.c
  net: mscc: ocelot: strengthen type of "int i" in ocelot_stats.c
  net: mscc: ocelot: fix ineffective WARN_ON() in ocelot_stats.c

 drivers/net/dsa/ocelot/felix.c           |  5 ---
 drivers/net/ethernet/mscc/ocelot.h       |  9 +++++
 drivers/net/ethernet/mscc/ocelot_io.c    | 50 +++++++++++++-----------
 drivers/net/ethernet/mscc/ocelot_stats.c | 42 +++++++++++++-------
 include/soc/mscc/ocelot.h                | 20 +++++-----
 5 files changed, 75 insertions(+), 51 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2023-04-14  5:20 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-12 12:47 [PATCH net-next 0/8] Ocelot/Felix driver cleanup Vladimir Oltean
2023-04-12 12:47 ` [PATCH net-next 1/8] net: mscc: ocelot: strengthen type of "u32 reg" in I/O accessors Vladimir Oltean
2023-04-12 21:11   ` Jacob Keller
2023-04-12 12:47 ` [PATCH net-next 2/8] net: mscc: ocelot: refactor enum ocelot_reg decoding to helper Vladimir Oltean
2023-04-12 21:16   ` Jacob Keller
2023-04-12 12:47 ` [PATCH net-next 3/8] net: mscc: ocelot: debugging print for statistics regions Vladimir Oltean
2023-04-12 21:17   ` Jacob Keller
2023-04-12 12:47 ` [PATCH net-next 4/8] net: mscc: ocelot: remove blank line at the end of ocelot_stats.c Vladimir Oltean
2023-04-12 15:59   ` Colin Foster
2023-04-12 21:18   ` Jacob Keller
2023-04-12 12:47 ` [PATCH net-next 5/8] net: dsa: felix: remove confusing/incorrect comment from felix_setup() Vladimir Oltean
2023-04-12 21:18   ` Jacob Keller
2023-04-12 12:47 ` [PATCH net-next 6/8] net: mscc: ocelot: strengthen type of "u32 reg" and "u32 base" in ocelot_stats.c Vladimir Oltean
2023-04-12 21:19   ` Jacob Keller
2023-04-12 12:47 ` [PATCH net-next 7/8] net: mscc: ocelot: strengthen type of "int i" " Vladimir Oltean
2023-04-12 21:21   ` Jacob Keller
2023-04-12 12:47 ` [PATCH net-next 8/8] net: mscc: ocelot: fix ineffective WARN_ON() " Vladimir Oltean
2023-04-12 21:23   ` Jacob Keller
2023-04-13  0:45 ` [PATCH net-next 0/8] Ocelot/Felix driver cleanup Colin Foster
2023-04-13 10:08   ` Vladimir Oltean
2023-04-14  5:20 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).