🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1178

Re: [PATCH 1/1] net: ethernet: micrel: ks8842: use dmaengine_submit() instead of ->tx_submit()

#1178
From: Simon Horman
Date: Fri, 09 Oct 2026 10:36
30 lines
6558 bytes
On Wed, Oct 07, 2026 at 05:11:27PM +0200, Vinod Koul wrote:
> On 07-10-26, 15:43, Simon Horman wrote:
> > On Fri, Oct 02, 2026 at 03:30:19PM -0400, Frank.Li@oss.nxp.com wrote:
> > > From: Frank Li <Frank.Li@nxp.com>
> > > 
> > > Replace direct dma_async_tx_descriptor->tx_submit() calls with the
> > > proper dmaengine_submit() API wrapper.
> > > 
> > > Assisted-by: LLM
> > > Signed-off-by: Frank Li <Frank.Li@nxp.com>
> > 
> > Hi Frank,
> > 
> > Is there a back-story to this change?
> > Is it part of something larger?
> 
> Yep, Frank has been fixing direct calls with wrappers with aim to
> eventually start moving dmaengine guts internal and have a good
> consumer/provider split of the engine and objects

Thanks,

In that case all looks good to me.

> 
> > In face value it looks like a cleanup to an unmaintained driver.
> > And if so, I'm not sure it's worth the churn.

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261009103622.GY83879@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-343582-linux-kernel-netdev=dewy.ru
References: <20261002193022.168248-1-Frank.Li@oss.nxp.com> <20261007144334.GR83879@horms.kernel.org> <asZhHwzXU1sdk3TH@parshuram>

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-343582-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 1/1] net: ethernet: micrel: ks8842: use
 dmaengine_submit() instead of ->tx_submit()
Date: Fri, 9 Oct 2026 11:36:22 +0100
Organization: Usenet Network
Message-ID: <20261009103622.GY83879@horms.kernel.org>
References: <20261002193022.168248-1-Frank.Li@oss.nxp.com>
 <20261007144334.GR83879@horms.kernel.org>
 <asZhHwzXU1sdk3TH@parshuram>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1084602"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:OUcrxWvaDeC1hgtmjC14fitXrwI= sha256:tZywm5CQ8UZEOLb2EFOZqG1+muGkQ5OoL3IdqI/RFVw=
	sha1:xASd+DpfIf3XX0LrAa1fYCseTMo= sha256:+fJOzd6Z+zgPqrhWv4H0BNbip4zwYZ82AOE/Qxtp/24=
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 AEE7510F654; Fri,  9 Oct 2026 13:36:55 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, 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 kiLyDKdgBdtn;
	Fri,  9 Oct 2026 13:36:52 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-343582-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 9AA2D10F64F; Fri,  9 Oct 2026 13:36:48 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id 4E9542E3C4; Fri,  9 Oct 2026 10:36:28 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 97326426694;
	Fri,  9 Oct 2026 10:36:27 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kmiJWVSq"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9764D3C9EE4;
	Fri,  9 Oct 2026 10:36:26 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791542187; cv=none; b=Ct/hHEdp98fUC8tnUIVhx/XwddZAeImRgngPmUpNvW0fIybFtFb4avb3X7b4csIcvDfCz9ll/XJPDHvL+qlR+PATY/cYbBiR48/HpbEQHCD8f9BVK4Fv/s1mCoRhF5rZ1F74RKR6fwx0mL86jLq9+kqlSwaLt6IUHMt1xX6V9MI=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791542187; c=relaxed/simple;
	bh=1RN/EsYxex/ghP4ZDZXyxYt0QsAUcFF6WUJ8Shxv248=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=t1Gx+qruIIB39kbGy/Y8QE7xIJW+FLpcQAarN4IVzkfhHIj47u8rwvPwKoqpna8+TQvqp2dbVN3EWyfzhAjFJcnIIW8Pv93evNJsV0feD9wZU6AV08qM8U9wUjw4fePyHR0wHg70jsPIrNOpjPOAGZ8GsZ7RLEiwA4BS/DoX/uI=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kmiJWVSq; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 233051F000FF;
	Fri,  9 Oct 2026 10:36:23 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791542186;
	bh=ynxo/0gvOeqQKfEE3XBlWSt5mCkBPjwXEsdxR42jXko=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=kmiJWVSqeo7ISWCaqD2mb+bNrWb4QSniIZrpYPC00A+TSoPkAo7bhgfD28rugcFid
	 +QTTIx7JJsyFEHXf2COoyENEPaq3FT7QbdvVjoR3O01U/qeMqijlGdaIja0fDkvyDj
	 wsip9cZbfN9NEZPeSbIhmElKm7tfCIcvqqt1nJpa91/Jyk3IY7gLb/SDSR7ktwMs3X
	 vvUCaEL7l9jeKQ4RXtS93Odq4TEmBD0dZsqjXzfQzwRe5Whle0QRQPgALsjJcubUjJ
	 ttwoVJlaiWYfObG+/BDGZ0jT2cjqoWQId0JRAQElFPqHFhYSd+G/JBAZ+bRLWrT3pt
	 QW3ivHBdk7eZA==
X-Cc: Frank.Li@oss.nxp.com, 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>,
	Frank Li <Frank.Li@nxp.com>, Yicong Hui <yiconghui@gmail.com>,
	"open list:NETWORKING DRIVERS" <netdev@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>, imx@lists.linux.dev
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <asZhHwzXU1sdk3TH@parshuram>