🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25652

Re: [PATCH net-next v2 3/3] net: stmmac: Add Siflower SF19A2890 glue

#25652
From: Joseph Telaak
Date: Wed, 02 Dec 2026 08:12
22 lines
10247 bytes
> Is MACH_SIFLOWER_MIPS defined in the tree?  Because that Kconfig symbol
> does not exist, it evaluates to n and prevents DWMAC_SF19A2890 from being
> enabled unless COMPILE_TEST is set.

It comes with the MIPS series [1]; until that lands, the glue builds
only with COMPILE_TEST, as the cover letter says.

> Does sf19a2890_gmac_set_delays() fail probe when CONFIG_NVMEM is disabled?

It does. v3 will treat -EOPNOTSUPP like a missing cell and keep the
bootloader's delays.

> Should plat_dat->has_internal_tx_delay and plat_dat->has_internal_rx_delay
> also be set when falling back to the bootloader's delay settings on an
> uncalibrated unit?

Yes. The TX delay line has no bypass, so v3 will always set
has_internal_tx_delay, and will set has_internal_rx_delay from
RX_DELAY_EN as the bootloader left it.

[1] https://patch.msgid.link/20261126-sf19a2890-mips-v3-1-1f808d38ab37@telaak.dev
Technical Details
Message-ID: <20261202081230.6455-1-joseph@telaak.dev>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!feed-us-ny.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375621-linux-kernel-netdev=dewy.ru
References: <sashiko-outbox-245015@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!feed-us-ny.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-375621-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: Wed,  2 Dec 2026 03:12:30 -0500
Organization: Usenet Network
Message-ID: <20261202081230.6455-1-joseph@telaak.dev>
References: <sashiko-outbox-245015@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1920428"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:XlATw4h4hc+6ShW6yKWTVQVFTPg= sha256:CU0H2lN633C7kYsYg5Ji1oy2t1I87TUqIS5YIF+3hFU=
	sha1:Kl1lDMvMXwUDWv8kL5HnwIQ4iUY= sha256:HzGUz8P4cuDg2WLNRG74LxGwD0Yc5/zItiMKGU341so=
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 CC35E11759B; Wed,  2 Dec 2026 11:12:43 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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 rkCv-uEIBUUI;
	Wed,  2 Dec 2026 11:12:40 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-375621-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 95CA5117598; Wed,  2 Dec 2026 11:12:37 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id CDD7B601669; Wed,  2 Dec 2026 08:12:36 +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=1796199154;
	b=CRmLVGfc2A7AztbVlUVqf22GYw2bUpJ+YBswU+m7EhGtvdOUADthnVX9OGIiO/89QLqo
	 iaWWZWmFYyVWHm51ZwN6JwfTx1s9UyO4w1tWjbqGvS1qgZBP/RCTaQ1Dui9YP/tEKXR6D
	 li/01xjDVRFkYqm53D5rnnLTnfGuGtZrCXCwWORCf4cLk9619tFLUdRUyfjtsXPCIEuyp
	 Axbm6UGQyeaWMEQp8EIHcTBZflrBfMtTcQyzMPJm1QYcjcoRFO89Uauhlnzorig8eRq5o
	 hggxmb8tmIzOk97PqhyoOaIruLCmkm8X5i5OaiyKO9kjs7etxXNr0g5E5CyvQxl3A9w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796199154;
	h=X-Original-To:Received:DMARC-Filter:Received:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted: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=As3DIjt2hUUmeowpYvYCKEf2gS+wntq/heT232Gkf1E=;
	b=2A+l2poPsQq35bJ4LFd70/OEdio0WhFIrREGCMiXt0rHebn6Xad8K1+Hcyghw8z03OCq
	 wdnqpH5MqYKo86obmu3Lesgot/dZIUzdiA1WlPIAPOgeOpme0vWWOSixVHPgwOOM4YWD8
	 DSlJAw4U3zoExD+Fhex/wrrqUG70XTvLXuTGq02G1WMyqSwnyaY2dL4+OI/+64J3CSv9x
	 XGUZLblwL4UglHIa1HYajhVErd14bWcMohNKvnV0oUdWC00xKimkut2nq/IjBZ66t1DOf
	 sUW9E3dIjMSzb4NQxUY2rIEb7PMf53MBs1AA9SwXnw7Jao5R9Xo5RXw0/LQWD3nYwXQ==
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 6242E606A335;
	Wed,  2 Dec 2026 08:12:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.224.45
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796199153;
	b=fxDDNZqFUZptwvnYi3Pwr4Y+eqyJYfUd4M21ORtFN0PRNC4dY0pBVxl3RQClC6UGevYJ
	 GRYJxFe/hd8l8EdWrAAJ0x3CYVeSA7XAH3tj7YI3V+HKXvj1COYYL53eApeA1Z8AW2eL7
	 NoIMfdfPb1rhd8FfAsjhpNuKQ+sW7i9la2ooflEhGSJdMY4skirRMjKlb/ZWdyFeEMLC6
	 QM7iqmnrckxbMgseabonRIKysWET0wPJ0GWk0ZWAEFGuy0B8KxUPPWSLPTPaAtT4acr/V
	 34yTPl7Dk8HcRTLtM2fv8N3lUL6VmvRB4+gO2zEHCRVZ2lO6pwij6CKigRBB3FSznFw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796199153;
	h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
	 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=As3DIjt2hUUmeowpYvYCKEf2gS+wntq/heT232Gkf1E=;
	b=DR5kzyLG524adYJI2YQ7LPTI7IPHTxuSQ8YKypEPWfqVxi9r0VFSnwq0IG5HRV3bve2u
	 jRroYVjYlEy7hW55z8KhH55bZeg5U6Gp+TyZB+6x0Srlde0WvjmgWXinq/Zm77NEqH8yB
	 4qJoUv4fYBW8HngHSbd6xJIAWkGCfzfAnnHqNQX0ODBlMQ21U9uVSSzkLiFk5FZwNAyHj
	 G032X7LMsqqIW5Tvg4VLkQqcVTZRbXvzuFaoaGFII7F/B0AWCyoYsjZyL9kslDP6rZ17g
	 LBJQW7mDOMm0MzD0KKoC2mq276Uejd9sAjO+0vvDXyMoU7Vtk1HzXkm2jxKZZQaiHkw==
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.45
X-Received: from mail-yx1-f45.google.com (mail-yx1-f45.google.com [74.125.224.45])
	(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 78828606A32E
	for <netdev@vger.kernel.org>; Wed,  2 Dec 2026 08:12:33 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 78828606A32E
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-f45.google.com with SMTP id 956f58d0204a3-679aeeddc6bso12680999d50.2
        for <netdev@vger.kernel.org>; Wed, 02 Dec 2026 00:12:33 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1796199152; x=1796803952;
        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=As3DIjt2hUUmeowpYvYCKEf2gS+wntq/heT232Gkf1E=;
        b=qRXOZ2BbUKEuH+g+eo4Gh+Fm1V+tVAGGEu7AQgu34knG/U1hl/1T/EzHi6fEw6TtoJ
         Jn4Aus0kqm4QiVZMOK6Dg2D5RbZFvh3yj70UZBPqsrmAPqRzpdLGowYGPRtRCj8HIf65
         il+Fo/qBzJWIOqnZ2Y8tLZvLqdAAEINLnuUa1Ghw/H+8q9oaz3TN7nCUXJ9UAKdUnEek
         bC0r7I0UmhGyMPMg++w03JXxmz2N1v9Vx68HaQftsyGT6FOtVp2GxpAunl9hbMb8w2iY
         l5vkaBz080W6yyOWAlsGiV7sKT6teZRE988JXMZTZeHk/5CWwgqVVf7X3gSWAW27v/nP
         2LkA==
X-Forwarded-Encrypted: i=1; AL+hErEnVU91E953TOjXt/1ur3OWB19V1wkS87cL46dmcwXCqmSljfHYWNshCWXqAA0+vRxmjRIGU+Q=@vger.kernel.org
X-Gm-Message-State: APuU4Z9zMay7V7Q389ZUCnjQsIHHG6l5TZ587F7D3ULI/dpuX9M2wjvq
	TpMFNEkQv2x4H46sMYpfUufsBGzw9k1y7nUF+t4u6mDy6+zu+bgTz+lr
X-Gm-Gg: AZFdTZc+2Bi7uaEEBCi23GH7zKfBDLmvT0mh4C+tyVPVuxKnJ92ETLNKYHJh7lGchDU
	arHjveCW+Fe+IHPjqHn1hIhAEz7+J93LFJjsunvj9k4QOYtNba/sWbrU7kFbYQiqzzbY10xmC9E
	FXXtClvhr1He67JVvoL9RbWtHN+uq88WWEdyZa+utZ148xsSNmVR1uf5zG+M98ImmyOxUuwcird
	UYeFa+Hf3M2renOqeB55cUoB0RnTeWyJRGY1apmXs4jmKPja6+AzIt6t2DmbYGadgifNXyl1jBv
	ZArNsY4RC5QGUlRrM7v7RYsVUgq861CVRdIX5VjcQInIWxSUJPm+po7Yo8+bXs9gakMzuyN70hL
	obv+UvIDIJK/vrmwfvRrrFdrVrQwLW1W309NTnVap22WacORUIS3YDFSBnESJNOob5S+ocKzZSG
	Pv/J0x3D6YrHxMvFNAlWS59UUWzkWrweTcOcKRZnUdk3sMXugi8TaXvKcJd5Vwmn/+YqHME1Ckj
	tyzSG2McTCaMdI9DxTvmE9BG3ySPO5qCMvE3yCP1RV9MmACY3NaW+i3sDGLxElwdyvz1KQREVEW
	om/PNHuNIADPO002xUg12Ur7fy6+CCfj+FgKDk5JrJ01PInDMU/DMgcQrF/TlHiRPk+b2pr9IRg
	5B/f069uyvDgji5vj5qbAuBkB9eG9Nq4=
X-Received: by 2002:a53:ac90:0:b0:679:a4a5:10c1 with SMTP id 956f58d0204a3-67df44234a8mr13446570d50.22.1796199152532;
        Wed, 02 Dec 2026 00:12:32 -0800 (PST)
X-Received: from localhost.localdomain ([71.68.170.161])
        by smtp.gmail.com with ESMTPSA id 956f58d0204a3-67df330d552sm17711429d50.5.2026.12.02.00.12.31
        (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);
        Wed, 02 Dec 2026 00:12:31 -0800 (PST)
X-Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	Maxime Chevallier <maxime.chevallier@bootlin.com>,
	netdev@vger.kernel.org
X-Mailer: git-send-email 2.50.1
X-In-Reply-To: <sashiko-outbox-245015@kernel.org>
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