Skip to content

net: emac: various cleanups, fixes, and feature additions

Rosen Penev lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net: emac: remove emac_xaht_base()drivers/net/ethernet/ibm/emac/core.h+0 -80 replies
2/10net: emac: fix sparse __iomem warnings in IAHT register accessdrivers/net/ethernet/ibm/emac/core.h+2 -61 reply
3/10net: emac: use DMA-specific and SMP memory barriersdrivers/net/ethernet/ibm/emac/core.c drivers/net/ethernet/ibm/emac/mal.c drivers/net/ethernet/ibm/emac/rgmii.c +2 more+13 -131 reply
4/10net: emac: mal: replace of_get_property with of_property_read_u32drivers/net/ethernet/ibm/emac/mal.c+7 -70 replies
5/10net: emac: mal: replace busy-wait in mal_poll_disable with wait_eventdrivers/net/ethernet/ibm/emac/mal.c drivers/net/ethernet/ibm/emac/mal.h+8 -21 reply
6/10net: emac: batch stats, eliminate modulo, tighten barrier in RX polldrivers/net/ethernet/ibm/emac/core.c+8 -30 replies
7/10net: emac: fix DMA API mapping and unmapping correctnessdrivers/net/ethernet/ibm/emac/core.c drivers/net/ethernet/ibm/emac/core.h+77 -161 reply
8/10net: emac: replace #ifdef CONFIG_PPC_DCR_NATIVE with IS_ENABLED()drivers/net/ethernet/ibm/emac/core.c drivers/net/ethernet/ibm/emac/mal.c+23 -320 replies
9/10net: emac: add Byte Queue Limits (BQL) supportdrivers/net/ethernet/ibm/emac/core.c+9 -00 replies
10/10net: emac: use ndo_get_stats64 instead of ndo_get_statsdrivers/net/ethernet/ibm/emac/core.c+41 -430 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] net: emac: various cleanups, fixes, and feature additions

This series targets the IBM EMAC (Ethernet Media Access Controller) driver used on PowerPC 4xx SoCs. It removes unused infrastructure, fixes sparse warnings, replaces legacy helpers, streamlines synchronization, fixes DMA API usage, and adds BQL support along with ndo_get_stats64 conversion.

Rosen Penev (10):
net: emac: remove emac_xaht_base()
net: emac: fix sparse __iomem warnings in IAHT register access
net: emac: use DMA-specific and SMP memory barriers
net: emac: mal: replace of_get_property with of_property_read_u32
net: emac: mal: replace busy-wait in mal_poll_disable with wait_event
net: emac: batch stats, eliminate modulo, tighten barrier in RX poll
net: emac: fix DMA API mapping and unmapping correctness
net: emac: replace #ifdef CONFIG_PPC_DCR_NATIVE with IS_ENABLED()
net: emac: add Byte Queue Limits (BQL) support
net: emac: use ndo_get_stats64 instead of ndo_get_stats

 drivers/net/ethernet/ibm/emac/core.c  | 253 ++++++++++++++++----------
 drivers/net/ethernet/ibm/emac/core.h  |  17 +-
 drivers/net/ethernet/ibm/emac/mal.c   |  37 ++--
 drivers/net/ethernet/ibm/emac/mal.h   |   3 +
 drivers/net/ethernet/ibm/emac/rgmii.c |   2 +-
 drivers/net/ethernet/ibm/emac/tah.c   |   2 +-
 drivers/net/ethernet/ibm/emac/zmii.c  |   4 +-
 7 files changed, 188 insertions(+), 130 deletions(-)
Signature · 1 line
2.54.0