From: Conor Dooley <conor@kernel.org>
To: netdev-bot+sashiko@kernel.org
Cc: jacky_chou@aspeedtech.com, andrew+netdev@lunn.ch,
davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
ratbert@faraday-tech.com, edumazet@kernel.org,
hkallweit1@gmail.com, linux@armlinux.org.uk,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next v2 1/6] dt-bindings: net: ftgmac100: Add AST2700 compatible
Date: Mon, 12 Oct 2026 19:17:51 +0100 [thread overview]
Message-ID: <20261012-aide-wimp-4edf96aaca1d@spud> (raw)
In-Reply-To: <179161911824.434549.4075299707625994950@kernel.org>
[-- Attachment #1: Type: text/plain, Size: 3168 bytes --]
On Sat, Oct 10, 2026 at 07:58:38AM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found more severe
> issue(s) in other patches of this series. This mail is only an FYI, in case
> you want to address the nit picks below when you respin.
>
> Low priority / nit picks for your consideration:
>
> - [Low] Already fixed later in this series, so the baseline decision is
> false.
>
> --
>
> dt-bindings: net: ftgmac100: Add AST2700 compatible
>
> This adds aspeed,ast2700-mac to the FTGMAC100 compatible list, which
> requires the faraday,ftgmac100 fallback. It also updates the RMII RCLK
> clock description to include AST2700, and allows the resets property for
> AST2700 in the same way as for AST2600.
>
> > diff --git a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
> > index d14410018bcf6..bee9570a6f63f 100644
> > --- a/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
> > +++ b/Documentation/devicetree/bindings/net/faraday,ftgmac100.yaml
> > @@ -18,6 +18,7 @@ properties:
> > - aspeed,ast2400-mac
> > - aspeed,ast2500-mac
> > - aspeed,ast2600-mac
> > + - aspeed,ast2700-mac
> > - const: faraday,ftgmac100
>
> [Severity: Low]
> With this patch, "aspeed,ast2700-mac", "faraday,ftgmac100" becomes a
> valid compatible pair. However, at this commit, ftgmac100_of_match[] in
> drivers/net/ethernet/faraday/ftgmac100.c has no aspeed,ast2700-mac entry.
> Such a node could only bind through the generic faraday,ftgmac100 entry
> (FTGMAC100_FARADAY).
>
> On that path, ftgmac100_probe() would do the following:
>
> - program the ring-end bits at BIT(15) instead of the Aspeed BIT(30)
> - leave is_aspeed false, so ftgmac100_setup_clk() never claims
> MACCLK/RCLK
> - register the embedded MDIO bus through ftgmac100_setup_mdio()
> - never set a DMA mask wider than 32 bits
>
> Would an AST2700 node work correctly if it fell back to the Faraday
> match?
Sounds like no, can the submitter please clarify if the fallback is
valid?
>
> Later patches in this series fix this. "net: ftgmac100: Add AST2700
> compatible support" adds FTGMAC100_AST2700 and an aspeed,ast2700-mac
> match entry, ahead of the faraday fallback. That entry selects the
> BIT(30) and is_aspeed path.
>
> "net: ftgmac100: Add AST2700 upper DMA address support" then adds
> dma_set_mask_and_coherent(..., DMA_BIT_MASK(35)).
>
> So the problem only shows up when bisecting to this commit, and only with
> an out-of-tree AST2700 DTS on an ARM64 build. ARM64 builds are only
> enabled by "net: ftgmac100: Allow building on ARM64". Landing the binding
> before the driver match is the usual order for dt-bindings series.
>
> [ ... ]
>
> ^ annotation: none needed for the [ ... ] above; snipped hunks are the RCLK description and the resets allOf block.
>
> --
> Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261006-support_ast2700-v2-0-36de51fb8066%40aspeedtech.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-10-12 18:17 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-06 7:20 [PATCH net-next v2 0/6] net: ftgmac100: Add AST2700 support Jacky Chou
2026-10-06 7:20 ` [PATCH net-next v2 1/6] dt-bindings: net: ftgmac100: Add AST2700 compatible Jacky Chou
2026-10-07 7:21 ` sashiko-bot
2026-10-10 7:58 ` netdev-bot+sashiko
2026-10-12 18:17 ` Conor Dooley [this message]
2026-10-13 5:23 ` 回覆: " Jacky Chou
2026-10-06 7:20 ` [PATCH net-next v2 2/6] net: ftgmac100: Add AST2700 compatible support Jacky Chou
2026-10-06 16:22 ` Andrew Lunn
2026-10-10 7:58 ` netdev-bot+sashiko
2026-10-06 7:20 ` [PATCH net-next v2 3/6] net: ftgmac100: Enable AST2700 RMII support Jacky Chou
2026-10-06 16:31 ` Andrew Lunn
2026-10-08 5:39 ` 回覆: " Jacky Chou
2026-10-08 12:00 ` Andrew Lunn
2026-10-08 12:10 ` 回覆: " Jacky Chou
2026-10-07 7:21 ` sashiko-bot
2026-10-10 7:58 ` netdev-bot+sashiko
2026-10-06 7:20 ` [PATCH net-next v2 4/6] net: ftgmac100: Require phy-mode for AST2700 Jacky Chou
2026-10-06 16:21 ` Andrew Lunn
2026-10-08 5:20 ` 回覆: " Jacky Chou
2026-10-07 7:21 ` sashiko-bot
2026-10-10 7:58 ` netdev-bot+sashiko
2026-10-06 7:20 ` [PATCH net-next v2 5/6] net: ftgmac100: Add AST2700 upper DMA address support Jacky Chou
2026-10-10 7:58 ` netdev-bot+sashiko
2026-10-06 7:20 ` [PATCH net-next v2 6/6] net: ftgmac100: Allow building on ARM64 Jacky Chou
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=20261012-aide-wimp-4edf96aaca1d@spud \
--to=conor@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=hkallweit1@gmail.com \
--cc=jacky_chou@aspeedtech.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=ratbert@faraday-tech.com \
--cc=robh@kernel.org \
/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