Article View: linux.kernel.netdev
Article #26701Re: [PATCH net-next v2 3/3] net: stmmac: Add Siflower SF19A2890 glue
From: Joseph Telaak
Date: Fri, 04 Dec 2026 03:27
Date: Fri, 04 Dec 2026 03:27
30 lines
10719 bytes
10719 bytes
The netdev-ai review of this patch [1] raised two points beyond what I answered on the sashiko.dev review (NVMEM=n, and the delay flags where the lines are left alone), which v3 will fix as said there. I tested both on a GL-SFT1200, changing its device tree for each case. > These flags are set whenever the calibration parses, and > plat_dat->phy_interface is never checked. Does this make probe fail for > any phy-mode other than rgmii-id? Yes. v3 will leave the delay lines alone for modes other than RGMII, and bypass the RX line unless phy-mode asks for an RX delay. With that, rgmii-txid passes traffic with the calibration given. rgmii and rgmii-rxid cannot work, since the TX line has no bypass, and the binding will limit phy-mode to gmii, mii, rgmii-id, rgmii-txid and rmii. > The binding describes byp_ref as the "RGMII transmit reference clock". > Here the clock is enabled, but the handle is dropped and never stored > in plat_dat->clk_tx_i. No set_clk_tx_rate or fix_mac_speed hook is > installed either. The SoC divides it itself. With the link to the switch forced to 100 and 10 Mb/s, both run at line rate (93 and 9.3 Mb/s) with byp_ref at 125 MHz. Setting byp_ref to 25 MHz stops the 100 Mb/s link, so v3 will keep leaving its rate alone, and the commit message will say why. [1] https://netdev-ai.bots.linux.dev/sashiko/#/message/20261201-sf19a2890-gmac-v2-3-8d2c513db496%40telaak.dev Thanks, Joseph
Technical Details
Message-ID:
<20261204032722.559-1-joseph@telaak.dev>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377019-linux-kernel-netdev=dewy.ruReferences:
<20261201-sf19a2890-gmac-v2-3-8d2c513db496@telaak.dev>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377019-linux-kernel-netdev=dewy.ru
From: joseph@telaak.dev (Joseph Telaak)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2 3/3] net: stmmac: Add Siflower SF19A2890 glue
Date: Thu, 3 Dec 2026 22:27:22 -0500
Organization: Usenet Network
Message-ID: <20261204032722.559-1-joseph@telaak.dev>
References: <20261201-sf19a2890-gmac-v2-3-8d2c513db496@telaak.dev>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="2664816"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1pMBF8n36y0FeKIdkXGP1QZ0SpM= sha256:qc3P1+A7GmKiGj9d+mlW8juTdsh1Qe7Br75DKhwZzbc=
sha1:niSBo7efWUKM3XwtXXpYvidwp0s= sha256:jR2w72c79aLjP7SokBk/8YqBvcxIUFGiG3MjQFy2kNk=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id B9CB9117ADA; Fri, 4 Dec 2026 06:27:35 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.198
X-Spam-Status: No, score=-3.198 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id npOy04iBPc3z;
Fri, 4 Dec 2026 06:27:32 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377019-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=telaak.dev
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 5F27F117AD7; Fri, 4 Dec 2026 06:27:28 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id B239127E4B; Fri, 4 Dec 2026 03:27:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796354846;
b=UDepQ0RBGSLpml9luDG+yZqFvOY/h0BqbRbdOtlox/2R9mjJVaXHmTyVH5nWLmoGTtp8
I/ZiAoxGzbCX/NAGM9aMqpVWI7Cq62ymyDQ0Ln4WtYZIkvsXDv4wHJ9ToPP3136uaKQBe
kpwQjAyZ9K7lsqOvkQ0yeE0hM7eiwOzn79DbMf8nzhR5ZcBeMPcsGxGnJclXnVbqxkFms
ge2K+/OwOIHUhclGgq62d+3vBqSL6/03nDhHQzldWz2EENFW/bcSQv+h2rddDc2MAr/cb
BQrAqYtH+bq8wfP1zVEetdvexdDv7LcugTdEmut/FWCHLul8lsmmbkOEp0LOrN7dWNA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796354846;
h=X-Original-To:Received:DMARC-Filter:Received:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
Date:Message-ID:X-Mailer:In-Reply-To:References:X-Mailing-List:
List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
List-Owner:Precedence:MIME-Version:Content-Transfer-Encoding;
bh=7jAK6EQcLGdhR3ZECqWFzCgUqudbcVUK3syOPYVIgP0=;
b=YdYEZsmLXHBgoaicwmyBweV42pJ3QSJI5HyIB+lKXGfURfwfpLP62lw6O5goIC7pSzBr
/6bRh+s/MdiCDbsB2R+/PXPspAORjAK4mpvm0rK7KJMty8oJts96CzT9zPxVgLitGZ+08
C65hZquHUtRU3qiVvQ+7GChSSDncQpFdx+rfqTvFuTVPlx8BswM65LI97ADye0oZIwxjQ
0N6Omx8pf3ZCms1n/cr0JrJuM3DnWybuoWLfM13Oqn90uDImJ80zHq8nG/NzG0ShOcBHs
xZifPk5+/NtDQd0LR9/Eg82wYQk6aBTz1wQKPQO+gxxDAoD2+Ixh2QAysJNn68hsA9w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dmarc=none header.from=telaak.dev;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 82034606A334;
Fri, 4 Dec 2026 03:27:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.224.47
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796354845;
b=1c/iQf04WZ2DvqEZx/p+MK8QJ+3M3PC7WmNCbyIZQv6PBAQfVUhy7gvfZVIrHRfZH+LZ
BJWqmDDVKIY9qNVbCDmukGAbeXz1sAw2lfTUTc76mOqDsQPqSA/a283rLBMrLtC3L1gMr
x4uK/zSzPwP5q591xRWYiN2CLt4q1/3ePMOhdPT6Bi4Ij/pjzh4Yykm54G4UXHn3yCCrF
qTw4gZfM5x2d2gCuduzR8YykNpPWbq3A3RcQiyUB03L7It63TZhpY/7Rl3zpf3PFh708r
udD3xJgTkGyekDwx3wjr8b/edzzi95eMqDaZvfVHhxfm1bb4cWGVoyQlsRYmzs1bzzg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796354845;
h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Gm-Message-State:
X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:Date:Message-ID:
X-Mailer:In-Reply-To:References:MIME-Version:
Content-Transfer-Encoding;
bh=7jAK6EQcLGdhR3ZECqWFzCgUqudbcVUK3syOPYVIgP0=;
b=viJLG42p4o1jzz1BUbKHpI9/WnhHDbH2MpZfcuIZ576L4ZdrCHCbSmNkzTP+EEocK0dm
Gefjj+Tk6qnYx1vpSifcAC6pQMt7ke0vIygYYRMOh6wH7IDnsSlNus6J7SK1QNxs8RH6D
Ui4P3yageKJLdBtRe9wjZN+rfd15dA39pwJJYwx8DrE4CLYXNoAfnBsGEDbYAQJsI+gE4
VYXqIrGy8XvWmJLl3NXQeoVf2V78TRpKhlYmEBUaBOFKV/BQ5Xx8sezNbvZOguhj70mKh
DK7eBxcpfwpA9ZnqNwajkPfMu3LakjmUgts3XoNrDgghsyld+LoWx862epcWDILA+6g==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=none header.from=telaak.dev;
spf=pass smtp.mailfrom=gmail.com;
arc=none smtp.remote-ip=74.125.224.47
X-Received: from mail-yx1-f47.google.com (mail-yx1-f47.google.com [74.125.224.47])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B1F5606A32D
for <netdev@vger.kernel.org>; Fri, 4 Dec 2026 03:27:25 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8B1F5606A32D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=telaak.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-yx1-f47.google.com with SMTP id 956f58d0204a3-67c6a0abc2eso565620d50.0
for <netdev@vger.kernel.org>; Thu, 03 Dec 2026 19:27:25 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796354845; x=1796959645;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
:to:cc:subject:date:message-id:reply-to:content-type;
bh=7jAK6EQcLGdhR3ZECqWFzCgUqudbcVUK3syOPYVIgP0=;
b=u7TrAS2MZm/pZEZ+vvDm6kwvt0amnIDs+V3w85oL7VR/5SKibIaDPFAh6hP030WgMH
XwLvw5pl3O3C+DvojFyiXdrNrAa0NHoIFSafF4WdPrEEPWeDwqhedsCFvm4FNm8q973C
eh7kCeQ9j3WZHQxQVzHPABxRPF49VuVDACOyhaCVso0JDxviODQgdrSPTwDQnge/wVDX
HZSUGugbLgDshZI/FuQjHMYkwD47Zpy7UVnJzm/RrZo2uQKuovi4GvwhBYxx+fO6YJSg
4Zsd+RSnedCSpbwGWwJXgaiVwMbfnf6RTrhHlX/xAqZ9zZIGr/A6iDk7LF5VlQ1bGNXu
hdMA==
X-Gm-Message-State: APuU4Z/40SUidkRYFEcP/mJIO7xJOr8RI6/9t+RWcxNy529Rp5FAMhjr
EE+CsERGcZ9s59OsKjn0Ul7T2uf/vV6kLht0sX7LrKnFrmXCMXhNeAADNsW9QoYD9X0=
X-Gm-Gg: AZFdTZf0r4CCXVmEaQ7/IWFPlABiyEDMhdbLdmrcOb3nyNuZi5fZJKqycHStbL7UTnG
7noFn6nOiplJz3S2yhlJBVG+BkaKanidoBC+zyJWKClkHAEUg4+1FUIl1dRB4XvafstF37zPxeh
poyw9lMKyb/yVSvKfNCzZEmxRyQwv0CQrT2iqQw4kVFQ7ArGNVibk8TdJPv/CmuO/zQ27FI8Smx
yatwlSxKAEBnhkA7mwjjXJQ7GglFyEoJzTjeMGsiI4ZzZ4bwOnyXTuE8NxuZcmq+x8bmhcPT/EI
cRnb/ogouzrU+m4DckiIPkbSbyG5H42EF/ySnz5R28sjuk4gNdna8QZZ7xecPnqnJs6N3N2vDso
N35vReqA/mUNMTczfqY57XyYgGi13bv/BwZbxexjBPfmSkPVGVK1xtg38HY/Vv61BmCLNEar6rG
GbYzM8qn4+v+dW1IVma8TepLdCZhyAGolLUaDxvPGwc8P459Z/pD3bR+vH5teV/sYiucl1rtrrK
mAuf6/7iVoBRGniR/mwax46lu5SsB8BezO0na12BHpvZ7DPm5AjBjo+MMhwaJnNNQUE68oZJJ1k
TBixsn3Db3HBXNyp7IQJTGqj5GiK33FX+L4qrYveP7of0o25HeivTfg+W/5DxCMAHaGW6BnQJT1
ZKbIkueBcwpYcCyjxsUtqa/hak5Mxx6XQ+C16rA78hEgbWPJDj9iQ
X-Received: by 2002:a05:690e:140b:b0:67d:c165:7f0c with SMTP id 956f58d0204a3-67f6f54751bmr398685d50.54.1796354844547;
Thu, 03 Dec 2026 19:27:24 -0800 (PST)
X-Received: from localhost.localdomain ([71.68.170.161])
by smtp.gmail.com with ESMTPSA id 956f58d0204a3-67f0cd0779asm502370d50.13.2026.12.03.19.27.23
(version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);
Thu, 03 Dec 2026 19:27:23 -0800 (PST)
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
Maxime Chevallier <maxime.chevallier@bootlin.com>
X-Mailer: git-send-email 2.50.1
X-In-Reply-To: <20261201-sf19a2890-gmac-v2-3-8d2c513db496@telaak.dev>
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list