๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6880

Re: [PATCH net v3 2/2] net: nixge: wait for DMA reset before releasing buffers

#6880
From: Simon Horman
Date: Fri, 23 Oct 2026 17:23
35 lines
9027 bytes
Hi Myeonghun,

On Mon, Oct 19, 2026 at 02:10:52AM +0000, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 3 potential
> issue(s) to consider.
> 
> Critical: 0 ยท High: 1 (3) ยท Medium: 1 (2) ยท Low: 1
> 
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
> 
> - [High] The patch only partly closes the hole it describes.

I believe the issue above was covered in your response to the AI-generated
review of v1.

https://lore.kernel.org/netdev/179108725013.434549.7036380491047031962@kernel.org/

> - [Medium] One reset timeout in nixge_stop() now disables the port for
>   good, and nothing in the driver can recover it.

And I tend to think the above is an intentional implementation trade-off.
But could you comment on it?


> - [Low] On reset timeout, nixge_stop() now returns the error from
>   ndo_stop (line 959).
> 
> Pre-existing issues:

...
Technical Details
Message-ID: <20261023172309.GC888721@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351164-linux-kernel-netdev=dewy.ru
References: <20261018020840.3851552-3-mhun512@gmail.com> <179237585255.3135.18388695192416186276@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351164-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3 2/2] net: nixge: wait for DMA reset before
 releasing buffers
Date: Fri, 23 Oct 2026 18:23:09 +0100
Organization: Usenet Network
Message-ID: <20261023172309.GC888721@horms.kernel.org>
References: <20261018020840.3851552-3-mhun512@gmail.com>
 <179237585255.3135.18388695192416186276@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="565538"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:P6DIlvEh5H654pC7MJ8xysjx3QQ= sha256:Oor2DS8TsWGf3L+wvq1dvhnfHCMEtE2U2pO9l7Zx5yA=
	sha1:1xf5uX45kY+FPnvs0vE4vPAYxJc= sha256:871/HjRFMgBiK4GQ40vdsuhenQ3/PLtcTYHnu0mjwPA=
Content-Disposition: inline
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 2147F111532; Fri, 23 Oct 2026 20:23:40 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, 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 ts4tJVjz4BMO;
	Fri, 23 Oct 2026 20:23:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-351164-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 7E90B111516; Fri, 23 Oct 2026 20:23:22 +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 2A3662B3C9; Fri, 23 Oct 2026 17:23:16 +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=1792776195;
	b=4x3TwVBqsNIbF9VfzxRYWM6lH2GsaXKvVRmL0CxJwForI9ByQQFvnVALfrNEVaFpZpv9
	 V/SUpUZBk4VqVz4lM53SDX8RI4sM1meI3+oAWF39ii0f846PLETA/hLWXNJmgTIl4u+tR
	 o+YRA7a4jboM8S15Vnr5gTUP25qGr2XsMYDUlou9Jv9KmdOhYr9sdYNIb4DWzf3VDzoQJ
	 1aqYzT5FRlPDcNle6F6zEEGU5f1R/0LFL4nL17Aq+m58euuprRKmmnPUwc+nJiwVtUo5F
	 vpLYcqUlQ6N3hstpQ2IarUA8FbvwItNRVkJgRywtSViGHwW6rO3cmYBPsnc6HDF576g==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792776195;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:References:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=e9CHgVUiuUr9z0N9kziykHeUFdcQZLlPHyMU3G/0OGQ=;
	b=25PV/U8Q8CyZmFh3texSa5YzwEGVsl9tIRFksXcKF7G10KYzcZ+9Y6EzQPBlbpG/EJh6
	 6xPiDgyLll8Xs118fx2Pr1Q1XndZqw5GyuEdeRa2k6KNiI6EA/ooFcxlcxqQP8rpT1361
	 ldXMNoCjalVaqtuKFGXKZLVPvPKD6ZEZ1JuvuSQ5xRe85zrnAxFTcyOBN0TiWx+0Mxki2
	 H8/htZA+gyGu2on4EmglaFzKBstTWInCE1aKKNKGyh7GQVUT8zKfSxlbgh4avmr6du4hn
	 e2V8E4d/GtCkAurzQww9RrvvylHCtzXFi2mr4tDwVap8k2Y/LUO8vEOKdF0K3NM6q8w==
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=Lf47zUJY;
	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 60EB8606A325;
	Fri, 23 Oct 2026 17:23:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Lf47zUJY
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=1792776194;
	b=05yZ3p+FVj9xnG4BGEXGNbSNZZCz7F+eyDHFZzq/OlZzrxBhKhJ1//owPkdwjofqCE3z
	 6KW8q1JoNufynbRj0vJXCBVJV90sJTRIGal+NjXgQe2IyLX1yRbVyndQKaoCNhQ1smTxr
	 P7kHujr8OcUrjUys+NHiAtkMYqNKajQ/rvNMRS+v43A1EeKA0+uqzikxzS5NAbFjPWGq2
	 HfzoQso3gERy2xvQ2KGxu/FO5EFELJBfWSEhwuAzDJ0RpAICiIRjomwrrAPUfnl1X7lPH
	 bBjPWownwPl+FikiIGBCYm1+1viBXz/QXYtJu/xzVZ86qHGF/AZL8jiHhl9DHSK0pcQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792776194;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:
	 Content-Transfer-Encoding:In-Reply-To;
	bh=e9CHgVUiuUr9z0N9kziykHeUFdcQZLlPHyMU3G/0OGQ=;
	b=DJ29wBC6rdfFnKwB0E7kaguPp3FZatzB9iBxoKV5V0/WtDYBj6smgRl37lHQ1znzi2kT
	 wdcs2z1hWgmxIjPXqHz1+QATFM+FcdSvL30rdVUISHqLJsDZiKVEwolRCESS47XgsX55e
	 iFV25HCG7OhVUEaKebks5niiLQ+E9kN1GqCBnqIRqWyI/V8WgP50ob7M2SvqrJlSJxrx3
	 KSPAeUlN8+RpcpU2azkUwLy3xsHCTR+Tt/NSjuZsQMmEn7czdceYKlWLM0afhyeHFkVSH
	 +wbvWtKzQo3kvdTxjgXjFyxl5ZDf6z+6REXxzyw+0psurpceC1aJD7LnjryUSFak2Pw==
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=Lf47zUJY;
	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 1F398606A31A;
	Fri, 23 Oct 2026 17:23:14 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB4441F01825;
	Fri, 23 Oct 2026 17:23:11 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792776194;
	bh=e9CHgVUiuUr9z0N9kziykHeUFdcQZLlPHyMU3G/0OGQ=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=Lf47zUJY+b8Bje9PmDyS9i4Yc8Cek+co4EKCjYbZdpzfOTGDTk0E819ITQgyQPCEK
	 Gp67JgfrWhN5UOM+6B0GRm4Sz01NAbGpYEqRWjeshmcygRg7AsWpYmrU3LgCzeLSvK
	 hYUSiJXYoIc+PJfrrlBkqeo08CQpKxJpQA/FXSVr9nf8mMEUPrbLObZDZ7OWK2QTNB
	 wdt9lg7gC+ArwBFseNv/svO2YbDqY3uqlNsF7NmQ1Pzb0GdhieySORaNVcGLiqrvIv
	 UkOBGnixkH+OCKXAS0eY29y/1i4FRnwHtJ7u6Ae9lc1+or5zyuA8rdEpEXwQbzbBRO
	 6L0H0EhazrSGw==
X-Cc: mhun512@gmail.com, netdev@vger.kernel.org, andrew+netdev@lunn.ch,
	davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
	pabeni@redhat.com, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org, ae878000@gmail.com,
	daniel.machon@microchip.com
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: <179237585255.3135.18388695192416186276@kernel.org>