🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18841

Re: [PATCH net] net: via-rhine: Stop the NIC on platform device shutdown

#18841
From: patchwork-bot+netdevbpf
Date: Thu, 19 Nov 2026 00:10
29 lines
8990 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 13 Nov 2026 17:01:05 +0400 you wrote:
> Close a running interface on platform device shutdown, so that the chip
> stops its receive DMA before kexec hands its memory to the next kernel.
> Do it in the driver, as the platform (OF) variant lacks a .shutdown
> callback and nothing else stops it, unlike for PCI, where the core
> clears bus mastering ahead of kexec.
> 
> Keep incoming frames from landing in receive buffers the old kernel had
> allocated: on a WonderMedia WM8950 board, broadcast traffic alone
> corrupts the next kernel at random points as it decompresses and boots,
> hanging about a third of kexec attempts early on, e.g. with
> "unrecognized/unsupported processor variant".
> 
> [...]

Here is the summary with links:
  - [net] net: via-rhine: Stop the NIC on platform device shutdown
    https://git.kernel.org/netdev/net/c/3d10dc3ae1f7

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179504700528.2637749.17488188558430878185.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366555-linux-kernel-netdev=dewy.ru
References: <20261113-vt8500-rhine-shutdown-v1-1-9448ea9548ec@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366555-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: via-rhine: Stop the NIC on platform device
 shutdown
Date: Thu, 19 Nov 2026 00:10:05 +0000
Organization: Usenet Network
Message-ID: <179504700528.2637749.17488188558430878185.git-patchwork-notify@kernel.org>
References: <20261113-vt8500-rhine-shutdown-v1-1-9448ea9548ec@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2737343"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:pchMRIjqcMUzfyC+/v2fGXvESK4= sha256:laJfQawgT4dNUjbxOWIw4vjUbtCAYNwMBxXwlfNnfcE=
	sha1:uPdL8VnCqZGl+h4wDsF833hCQ9o= sha256:1kFuIxVBcDRPnmL8Wuz62q03T024N6K4YIECQ58OHyM=
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 89678115445; Thu, 19 Nov 2026 03:10:53 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 abUQsvErFldg;
	Thu, 19 Nov 2026 03:10:50 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-366555-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 828EC115441; Thu, 19 Nov 2026 03:10:39 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id DB6AD48FD6; Thu, 19 Nov 2026 00:10:25 +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=1795047007;
	b=c2pQQxnEOaQO77buXdjQQnJmDxRQY8cb9DL6PFJM7jzIFXcHyVK2PmGUW7IyT1r+vH5E
	 9ercAEdPBf3X6Cz3qMSdtPJVCXRqxi5j1DxDDZnpGdF8RufXXOcPN9RTPNU/Mi0FSmz8B
	 ALqym1zXLFFTs8b6U/I5tro1iAsrtcHgbw3l/W02SV5E5jH/rtLJKGkJhhhSL0kvB63S3
	 tiFff3Cmrv9th71ABXFtmc7+F0OKaMK2MRZkq5GQzVxWE2GxH+R1w0sXlqaOsSfQRX1G4
	 6zaxsrTcHlP/hqws8sonKe1LcsmMAqtOVsjZyD9UOalp/vd3/zhPu2XHqw4OAoMJYyQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795047007;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=3zqfOVb1L8J8UWMRAbLSQuaScgqx98kUOPdW2k8ykvY=;
	b=3WbIu0gL7YJnwAquKbEdmAItXncG+txHQwe+9JRxSK93DoRQXGbPGOLGQySUNTdKBi3n
	 AlGh2GMfweiOjWP3JrTln4+GMWmkdbynrj3wVsNGAwaiakSQ3oKznmKpq9ozX8v8NG95m
	 A/DMs1biyeAjfdTVkkxR41aQcSvn57Gcc2zLnb1jXOL50Gsu3XaaAGkcGCUw7MeGrilGA
	 ACU92NS4yA+0jdpvd2XldJDfOLdpdC1gD53pKxJQX7QFfys1VhmxYyLklZcNlufMty0fP
	 24HvRgQXYlmwY7abuKi3qhJc5Rcu73jp50jx7W5iliyrT0F6rPBiahygzI+F66SihyA==
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=AjJxXbOp;
	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 9062760A3818;
	Thu, 19 Nov 2026 00:10:07 +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=AjJxXbOp
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=1795047006;
	b=ekJqryn0cOfKjJ5lj43VBVeHOMfiCRfzucf8/Bf9MyxJj68IqWL1HBI34hAR2nOd2omD
	 ZG6Wz7+bx7vhcxxnEx6fUuIOUKiFOqnylYhW+TiilO7AI6QzXp/yu/yPfvdYr+zHngX/C
	 ZX+INmara1qiphHo5rOLnglV2i1sl1b0uIxM6Y0jKitgpfeoAR/D/pq11laDchDFLTyKt
	 gB16mBFowf9dGWwGX2bhUU1w17LZUrlqxxR0TgNc77/Um/jii2E8mNZ0yJ5UHF6SHDsVP
	 utwO9NHxl5O5UqsxZTTaFCOP0c9FemyTe0//IwRP7JdL65/Zgw4YDz1/q3w2OxKuZqQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795047006;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=3zqfOVb1L8J8UWMRAbLSQuaScgqx98kUOPdW2k8ykvY=;
	b=4alTMKH2ZRT7DPCdJSkwUX9OBYnknUmIioIldXm8ge9UYSSqocTeGt17n5bXUtORYbrb
	 EEhhvzBEyyRDz4yCRBpPtPjDVZ40VXxj1wDkX1yXTXcFKw8zsz42golupRP16sYHzINew
	 tgN8A5Na+lqPwBRMYNnc5oiCqDqsonhkMZ6hsszQZCZ2M5ieE+pv1TCAqJlSMxMkJ9Ozi
	 qgL9vKpIs02BkfK8V7x+Vy4ZEKrsy/dJgS4dmP64LOSKBa0wTaH7OD0+wrD/SJKY5lXjo
	 NWHlstH+Gewd5yVXqqJT5N7zZj9tr9vp2t+06EiyZtD0qL3rfK5toOTsDJ746kwKHrg==
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=AjJxXbOp;
	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 B18BE60A261F;
	Thu, 19 Nov 2026 00:10:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7EFD91F000C5;
	Thu, 19 Nov 2026 00:10:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795047006;
	bh=3zqfOVb1L8J8UWMRAbLSQuaScgqx98kUOPdW2k8ykvY=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=AjJxXbOpBvx8yGxtFK18oSjI1UlVApu8sJgBcZ+28jA+KoHpX+YU9+xNRxeozF33B
	 fvmUpEdN/8CTZ1jfoDARW+1UKYO1vJfEJAFyX9vBs9J8YYRZewn3GmSzBevB7mL95w
	 rChbsBQtlH3D1sgvEI6/+DGMVW+tiCMTCx2Ugr8FCxRRiEzw8krrqDTzkZYLglpFau
	 X9M3YWqZaRPIl+5TcySKCFOEKDpzNEWWKS3xoSEWSQmC1oDSSP5lMKHdc6YBZSo8dy
	 0UPFN7hqemhxLt2MEAIeCMtRPByzrvKCupocU31VIWHSFFuyS6cK7KiPzhNhABD6Qt
	 4gWBSAdkuFXVg==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 773DA3808210;
	Thu, 19 Nov 2026 00:10:06 +0000 (UTC)
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
X-In-Reply-To: <20261113-vt8500-rhine-shutdown-v1-1-9448ea9548ec@gmail.com>
X-Cc: kevinbrace@bracecomputerlab.com, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 robh@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org