Netdev List
 help / color / mirror / Atom feed
From: Michal Gorlas <michal.gorlas@9elements.com>
To: Jean-Marie Verdun <verdun@hpe.com>,
	Nick Hawkins <nick.hawkins@hpe.com>,
	 Philipp Zabel <p.zabel@pengutronix.de>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	 "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	 Jakub Kicinski <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	 Marcello Sylvester Bauer <marcello.bauer@9elements.com>,
	 Russell King <linux@armlinux.org.uk>
Cc: Tan Siewert <tan.siewert@9elements.com>,
	devicetree@vger.kernel.org,  linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org,
	 Georg Hackel <georg.hackel@9elements.com>
Subject: [PATCH net-next 0/5] net: add HPE GXP UMAC support
Date: Sat, 05 Dec 2026 23:51:37 +0100	[thread overview]
Message-ID: <20261205-umac-v1-0-0796aa6e51c7@9elements.com> (raw)

Add Ethernet driver for the UMAC controller found on HPE GXP SoCs.
The GXP includes two controllers, first is connected to an external
Marvell PHY via an SGMII interface and the second one uses NC-SI
for sideband communication with the host NIC.

The code is based on an implementation written by HPE in a hard-fork
downstream that is available as tarball [1]. The UMAC driver is
currently used on the HPE Proliant Gen11 boards that run OpenBMC [2].
Parts of the code were submitted previously back in 2023 [3].

For stopping the interface while the traffic flows, and for the timeout
handling, also add reset controller, so that we can ensure
that the DMA engine stopped before freeing buffers. It uses the
reset-simple.

Each UMAC block contains its own MDIO controller, however, these are a
bit "weird" on this hardware, i.e. the internal SGMII PCS instances are
both reachable only through the MDIO controller of the second UMAC
block. So the first UMAC uses its external PHY and the PCS from the
second block's bus. This was handled the same in the HPE's downstream
device tree.

Tested the following on DL365 Gen11: multicast, RX/TX integrity,
repeated renegotiation, unbind/rebind, no lockdep reports on a build
with PROVE_LOCKING, NC-SI traffic, 1000/100 full, 100 half and 10 full duplex.

[1] - https://osfci.tech/ci/get_custom_repo
[2] - https://github.com/canopybmc/canopybmc/releases/tag/2026.06
[3] - https://lore.kernel.org/all/20230816215220.114118-1-nick.hawkins@hpe.com/

Signed-off-by: Michal Gorlas <michal.gorlas@9elements.com>
---
Marcello Sylvester Bauer (1):
      dt-bindings: net: add HPE GXP UMAC Ethernet controller

Michal Gorlas (4):
      dt-bindings: reset: add HPE GXP reset controller
      reset: simple: add HPE GXP support
      net: ethernet: add HPE GXP UMAC driver
      MAINTAINERS: Add HPE GXP UMAC entry

 .../devicetree/bindings/net/hpe,gxp-umac.yaml      |  156 +++
 .../devicetree/bindings/reset/hpe,gxp-reset.yaml   |   40 +
 MAINTAINERS                                        |    9 +
 drivers/net/ethernet/Kconfig                       |    1 +
 drivers/net/ethernet/Makefile                      |    1 +
 drivers/net/ethernet/hpe/Kconfig                   |   37 +
 drivers/net/ethernet/hpe/Makefile                  |    6 +
 drivers/net/ethernet/hpe/gxp_umac.c                | 1407 ++++++++++++++++++++
 drivers/net/ethernet/hpe/gxp_umac.h                |  117 ++
 drivers/reset/Kconfig                              |    3 +-
 drivers/reset/reset-simple.c                       |    1 +
 11 files changed, 1777 insertions(+), 1 deletion(-)
---
base-commit: ccb81d5e317b0ae2cc66ca1c628c0ca907928f94
change-id: 20261205-umac-b33a66122424

Best regards,
--  
Michal Gorlas <michal.gorlas@9elements.com>


             reply	other threads:[~2026-12-05 22:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-05 22:51 Michal Gorlas [this message]
2026-12-05 22:51 ` [PATCH net-next 1/5] dt-bindings: reset: add HPE GXP reset controller Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 2/5] reset: simple: add HPE GXP support Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 3/5] dt-bindings: net: add HPE GXP UMAC Ethernet controller Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 4/5] net: ethernet: add HPE GXP UMAC driver Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 5/5] MAINTAINERS: Add HPE GXP UMAC entry Michal Gorlas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261205-umac-v1-0-0796aa6e51c7@9elements.com \
    --to=michal.gorlas@9elements.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@kernel.org \
    --cc=georg.hackel@9elements.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=marcello.bauer@9elements.com \
    --cc=netdev@vger.kernel.org \
    --cc=nick.hawkins@hpe.com \
    --cc=p.zabel@pengutronix.de \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    --cc=tan.siewert@9elements.com \
    --cc=verdun@hpe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox