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

From: Rosen Penev

Date: Tue Jun 30 2026 - 00:17:07 EST


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(-)

--
2.54.0