🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #14471

[PATCH net-next 0/2] net: sgi: ioc3-eth: two changes for the IOC3 on SGI IP35 machines

#14471
From: Imre Kaloz
Date: Wed, 11 Nov 2026 09:51
34 lines
8828 bytes
With the IP35 support series [1] posted, these two changes let ioc3-eth
drive the IOC3 of the SGI Fuel, which sits behind an XBridge and has no
MAC PROM.

Patch 1 applies the DMA attributes and the RX barrier's upper address
bits only to 64-bit direct-mapped addresses, so the IOC3 can use a
bridge's 32-bit direct window. Patch 2 asks
eth_platform_get_mac_address() when the 1-wire MAC PROM read fails,
and uses a random address once deferred probing gives up.

Both were posted as 25/53 and 38/53 of the IP35 series v2 [1] and are
reposted on their own for net-next, as Jakub asked [2]. The rest of that
series puts an IOC3 behind an XBridge or PIC on the 32-bit window and
supplies the MAC address from the L1 system controller. There is no
build dependency in either direction, and IOC3 Ethernet on IP35 machines
needs both sides.

Tested on an SGI Fuel.

[1] https://lore.kernel.org/all/cover.1791890466.git.kaloz@kernel.org/
[2] https://lore.kernel.org/all/20261021073921.07632a37@kernel.org/

Imre Kaloz (2):
  net: sgi: ioc3-eth: apply the DMA attributes only to 64-bit addresses
  net: sgi: ioc3-eth: fall back to the platform MAC address

 drivers/net/ethernet/sgi/ioc3-eth.c | 43 ++++++++++++++++++++++++-----
 1 file changed, 36 insertions(+), 7 deletions(-)


base-commit: 97ced2c090bfc2156db31fca9f52cf253e4bc186
-- 
2.47.3
Technical Details
Message-ID: <20261111095138.1757-1-kaloz@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.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-360965-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.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-360965-linux-kernel-netdev=dewy.ru
From: kaloz@kernel.org (Imre Kaloz)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net-next 0/2] net: sgi: ioc3-eth: two changes for the IOC3 on SGI IP35 machines
Date: Wed, 11 Nov 2026 10:51:36 +0100
Organization: Usenet Network
Message-ID: <20261111095138.1757-1-kaloz@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="823982"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:6oNMyoRXyNEGrjouILVCuQpK8k8= sha256:szVzzRO8SgwtLkEJZjTH4N8afnPq8iyD68HYNtDLLvA=
	sha1:6+TVUPuF9snwR+j9wilxEQZCLgI= sha256:X8dJdBAGq8cvVJD+VCuPoxkz5su/RVdIu8mzFw5YYwU=
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 B4F37113E8D; Wed, 11 Nov 2026 12:57:13 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
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 L3XWiHm3tS0L;
	Wed, 11 Nov 2026 12:57:02 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360965-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 7C36C113E14; Wed, 11 Nov 2026 12:56:54 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id BCDF387F49; Wed, 11 Nov 2026 09:53:20 +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=1794390784;
	b=TXOBFk+icCT94XStdpOIBF4+FoVoJ2kdkG8wZqEqiQ1uq2NUtWOujUflzbcVEy7stuXJ
	 lgBsDd8UoOfgz3p7RNZqFRe1++vIwCHdpioqBos8vemQqVG2waCoRvPhzVp2VYUCEGIoc
	 InEYeJmaTIX0BbEd9GfscmoyUXpmTUcRN87juhcKYAbq3DxXMf6F9r3Hu6+Jj77jFjGtY
	 m9YdD9rsZztq6qbgL2OukyyAYZfa9EPZ3oZxWViZzypWr4Y1+H2bt84YDyvXE5rB6LgkQ
	 lt1s6SYdzLwZB3J6AMQZJnsqRt0+FoZZseg/3OR0kiN6TV+Y87nCGxmZfJuCtjXTr3A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794390784;
	h=X-Original-To:Received:Received:DKIM-Signature:From:To:Cc:Subject:
	 Date:Message-ID:X-Mailer:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding;
	bh=dosgcgtYnwjGfg33mXVJN1zPstrhDPbH2LgaYc37HQ4=;
	b=GF7MrFcNGo6kWfw0Thb1E1CysYkCp/hRta4w9PTrn39MJrC00ECbdmVwblmLyBdQQsmG
	 2RnLJ0/k72dpm3I46hx44nf72BAX2b4zfp00mzrQ+FQghm6KAPk3kVNzclEhrTepLpCdk
	 0lj79+CSqUNvZLcB6OnU4rMprdmCdXCIBoBGMpXPhM42UJNcSKWruM6p/V9S/g3+4cUS5
	 dcifTRgq9d2jFAw+UVhEp4EVC3iybLvKuS5zdQevlxLHIM9655sTuQ2Nof2p3XUbiIXUG
	 v7Cd/4qUAk2Y5k9gwDDoIIzkMParVGy9yCOfNf+dN6hg3lemGE0TNO63gcdZwRpoyzg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BA0j1gTn;
	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 4E3C060A2611;
	Wed, 11 Nov 2026 09:53:04 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BA0j1gTn
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794390783;
	b=vAL3oAaiEkP/BcqUxa+uGN/xj+OjTQsxYC45l9XB3RywzSJR2vLgiW9B1qPwbjs6eZ02
	 Ok+fDmQnnEsrxRXbU0KL/dSmh0RFyWswZaJFxXOjpwO9QES6EHjO0LaEr8+bfnbW/xhS8
	 JDuMQFfz1wv21ONnCI4qqkobwQ8sFPb8mEitrIaY/it6KwA2jI9YGio2mJ+GSjccsx5ue
	 D/UyZqDkg3GuF36cdSKf3NzIxhGcJDsBXfD/1S3mzktabN5wKuYRhg9ezb9EiCh+WwTZN
	 nnul4M8/qJgc1R6ziVitc9eJP8VGNandWcPTKyTVAy9lCXJ1KELp3Eec5K6fuL4c/DA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794390783;
	h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer:
	 MIME-Version:Content-Transfer-Encoding;
	bh=dosgcgtYnwjGfg33mXVJN1zPstrhDPbH2LgaYc37HQ4=;
	b=Nc2Xwm9UMn5bmxEKQYMn/vhsKuvpUddCSUGxH81o0FhnNPmKQ26Erx1H3CLMeJpDi/1T
	 wOUpJqsmvD/soQH51VAaZJ+vMp3DMKnO7mDDGMDvWltTxmSZMKuEOmwVTaadDtJsBICRX
	 DsXzr4ZK6td6bqJO9c+mLdGg3cITRApcoFFFETRzdXkwDclgqAz9i1DBymavXcRLcpEJO
	 PT/tC9AwrvBkyrtPgIFkGya2xUtoqhZFLtWf7CKRTiv/64SCaeOzKykuQvWedDIwP7Dcn
	 tM1NTqXeUSvN+f1HH/V3+JMPSInjJOYyZslhsGjoZlrtTrJaj4EHQ4H5b8O5kme8U+Q==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=BA0j1gTn;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DFF560A2615;
	Wed, 11 Nov 2026 09:53:03 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2D791F00A06;
	Wed, 11 Nov 2026 09:53:00 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794390783;
	bh=dosgcgtYnwjGfg33mXVJN1zPstrhDPbH2LgaYc37HQ4=;
	h=From:To:Cc:Subject:Date;
	b=BA0j1gTn9JckxqLcIm6KxVmr7UL/nxUDp1DN3aVZ3IpISTEjfDkYWKmJj4RVTXfON
	 p1GhjTKkKofZMBNnhijiFHs4vMHgtIwmuMQn9bFur59fY8CF9ytpMJgOVhaFKEyeMt
	 scBaMAMCPX9SxY1eLoR3UBIkWCsjD6wCQ+6UqUGSfZvTAoY/RWRplmCUsdjHy9KJMO
	 NBIcMa7lwuu8GX2y7LvSXeppn5Fj4f+hdq+6SfFkX5dvQpEI3fkJBoH0yJKZd3Ur+b
	 US2yGSDHa8jXeC2RTdvNAOsF23N/2DWGzqUBlZRKoQvAf1YKXGOOguW90Tc+Q0uDps
	 MQN9hTLe1Uzqw==
X-Cc: 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>,
	linux-mips@vger.kernel.org,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.47.3
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