🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Claudiu Manoil Fri, 20 Nov 2026 13:17
RE: [PATCH v4 0/6] net: enetc: S32N79 pseudo-MAC (PPM) networking support
#19817
Author: Claudiu Manoil
Date: Fri, 20 Nov 2026 13:17
49 lines
22239 bytes
NXP Confidential
From: Enric Balletbo i Serra <eballetb@redhat.com>
Sent: Friday, November 20, 2026 12:01 AM
[...]
> Subject: Re: [PATCH v4 0/6] net: enetc: S32N79 pseudo-MAC (PPM)
> networking support
>
> On Fri, Nov 13, 2026 at 05:02:31PM +0200, Claudiu Manoil wrote:
> > This series adds networking support for the ENETCv4.4 pseudo-MAC (PPM)
> > ports found on the NXP S32N79 SoC. On S32N79, the ENETCv4 ports are
> > not wired to any external PHY/MII; instead they are internal "pseudo-MAC"
> > links into the on-chip NETC switch. These links are proprietary, expose
> > no standard IEEE interface, and run at a speed fixed at boot time by the
> > Port PCR[PSPEED] register.
> >
> > A key use case is a port that has no "ethernet" DT node at all: NETC is
> > reached over PCI from a host that probes the ENETC, while the internal
> > NETC switch it connects to is not owned by Linux. Such a port must have
> > its fixed link synthesized at probe time.
> >
> > The driver synthesizes the fixed link directly in C using an of_changeset:
> > of_changeset_create_node() adds a "fixed-link" subnode onto the PCI
> > function's dynamic OF node (CONFIG_PCI_DYNAMIC_OF_NODES), with the
> "speed"
> > property read from PCR[PSPEED] at probe time and "full-duplex" set.
> > phylink then picks up the fixed-link node through dev_fwnode().
> >
> > The series touches three subsystems:
> >   - net/enetc:  pseudo-MAC fixed-link support, probing of 4.4 devices
> >                 and a fix for more than 6 ring interrupt vectors
> >   - arm64 dts:  NETC IEP18 ECAM node on S32N79 and its RDB board enable
> >   - PCI:        a quirk creating the OF node for the ENETC PMAC functions
> >
> > Because this is primarily a networking feature and the pieces are
> > interdependent at runtime, it would be most convenient to merge the
> > whole series through the netdev tree.
> >
> > Patch 1 has a runtime (not Kconfig) dependency on
> > CONFIG_PCI_DYNAMIC_OF_NODES; absent that, the pseudo-MAC probe
> path
> > fails gracefully with -ENODEV.
> >
>
> Hi Claudiu,
>
> I tested this series on the S32N79-RDB board running latest mainline kernel
> and applied your v4 pseudo-MAC/PPM patches on top.
>
> I used, though, the MRU MSI controller for NETC IEP18 overriding
> the upstream msi-map property with msi-parent pointing to
> the NXP MRU MSI controller (this driver is not upstream yet but I ported it).
>
> With that configuration the ENETC PF probes successfully and networking is
> functional on the board. So,
>
> Tested-by: Enric Balletbo i Serra <eballetb@redhat.com>
>

Thanks. There will be a follow-up regarding the MRU MSI driver, as planned.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads