From: Claudiu Manoil <claudiu.manoil@nxp.com>
To: Enric Balletbo i Serra <eballetb@redhat.com>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: dl-S32 <S32@nxp.com>, Vladimir Oltean <vladimir.oltean@nxp.com>,
Wei Fang <wei.fang@nxp.com>, Clark Wang <xiaoning.wang@nxp.com>,
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>,
Rob Herring <robh@kernel.org>,
Saravana Kannan <saravanak@kernel.org>,
Russell King <linux@armlinux.org.uk>,
"imx@lists.linux.dev" <imx@lists.linux.dev>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: RE: [PATCH v4 0/6] net: enetc: S32N79 pseudo-MAC (PPM) networking support
Date: Fri, 20 Nov 2026 13:17:52 +0000 [thread overview]
Message-ID: <GV2PR04MB117404F745B116346797F1BF196782@GV2PR04MB11740.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20261119220034.1658710-1-eballetb@redhat.com>
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.
prev parent reply other threads:[~2026-11-20 13:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4f51bfd237fa584c7d9187d7b82f36e261853ea3.1794581338.git.claudiu.manoil@nxp.com.mbx>
2026-11-19 22:00 ` Enric Balletbo i Serra
2026-11-20 13:17 ` Claudiu Manoil [this message]
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=GV2PR04MB117404F745B116346797F1BF196782@GV2PR04MB11740.eurprd04.prod.outlook.com \
--to=claudiu.manoil@nxp.com \
--cc=S32@nxp.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=eballetb@redhat.com \
--cc=edumazet@kernel.org \
--cc=imx@lists.linux.dev \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=saravanak@kernel.org \
--cc=vladimir.oltean@nxp.com \
--cc=wei.fang@nxp.com \
--cc=xiaoning.wang@nxp.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
all inboxes | Powered by JetHome®