🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5709

Re: [PATCH net-next v2] net: devmem: allow peer-to-peer dma-buf attach for bindings

#5709
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 20:40
27 lines
8903 bytes
Hello:

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

On Tue, 13 Oct 2026 14:09:54 -0700 you wrote:
> net_devmem_bind_dmabuf() uses dma_buf_attach(), a static attachment
> with peer2peer false. Exporters must then keep the buffer reachable
> without P2P; amdgpu does so by placing it in GTT (system memory), so a
> device memory binding silently ends up in host memory.
> 
> Use dma_buf_dynamic_attach() with allow_peer2peer set, so an exporter
> that can do P2P to the device keeps the buffer in device memory.
> Dynamic attachments are not pinned on map, and devmem cannot handle the
> buffer moving, so:
> 
> [...]

Here is the summary with links:
  - [net-next,v2] net: devmem: allow peer-to-peer dma-buf attach for bindings
    https://git.kernel.org/netdev/net-next/c/69ab87acc614

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179252880430.198184.9183453318719653530.git-patchwork-notify@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-349565-linux-kernel-netdev=dewy.ru
References: <20261013210954.2170175-1-erfansh@meta.com>

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-349565-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2] net: devmem: allow peer-to-peer dma-buf
 attach
 for bindings
Date: Tue, 20 Oct 2026 20:40:04 +0000
Organization: Usenet Network
Message-ID: <179252880430.198184.9183453318719653530.git-patchwork-notify@kernel.org>
References: <20261013210954.2170175-1-erfansh@meta.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3955329"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:IO5lUslVcDT9e0I8Vo8nE1poZOw= sha256:/S97xbmZalNI0IzYRR7nVdYpRW2zJ88cyMs7Qb+ba70=
	sha1:Cc2Rtg+rG21Fts0xUn5Q4UFjmLk= sha256:h2W91RYF93CFv9h0+AZWZyLpclk8TDx9hHG970XypGc=
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 7D405110E42; Tue, 20 Oct 2026 23:40:45 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.829
X-Spam-Status: No, score=-3.829 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.329, 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 KL_nN2OAqA4o;
	Tue, 20 Oct 2026 23:40:42 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-349565-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 7E4D9110E07; Tue, 20 Oct 2026 23:40:33 +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 573A460D4B9; Tue, 20 Oct 2026 20:40:09 +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=1792528807;
	b=bmGmzuZcg5BfsVH8RFiFP76aDqy+j7+3ZJVsZeUBfeGdqinUrzZdPJCs+0bYtkXx1xO7
	 1+9Vt7Qr4slmWWgubzc2w58Y/8BoD1kS+DT+NSwtZQdFS9NSanPbiKt6OQ/Jv9Le0/K9g
	 5szANTa8OwHQpQ2g4SF9KpGr0xAEoVs9xNQmKRGUuOPMsr+a1UY+T87yZ0vCg1bF6NRO7
	 nN/ugq/+6U3dp/PrLktiZLYoNtG8vPB6PeZH6fTaw3ncIDzXAjVHQKCeJyssWq5EXSuTA
	 n4RF+ZZk2C1rd8pBaWKELJ/8EmvPKHROWYIwpqw1fo4V4ajroEolKnak1Uy3Cxd+RCg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792528807;
	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=flulyxbLP0UsSv1OFvs0YSLFEceTAtZ9GIeNv73cBYA=;
	b=GJrH+Npt0tcTLlw65Dk2YrHW/ShyR/E55DMu4XMZREmyNiKu0jQHnjFd/gkonCFPQzmN
	 f6MCo5WdXTyYvXOy4SA7lsYI2PT+EYCcXPEt1ZRVkTC48+BvJFwrfvEWcjC1pJReAcWU4
	 /Hn41t+cUEWtV1PJaOwVxdKlyLsGhNgI4eKGL0fIinZ9RTtghvXEIFt4vN95jn35GKzEU
	 F0LEwvuciAnRlM8EVyfTk+ogDdmBUe3TuF2hNRhxZAxEd9x2p0/2Ucm+2sMDOVceFD1BV
	 X/6bl3rwtFURSla5pFDorrpJg2fdrOzebnrLQSYMaCNxD8wmnEGaxNzLT3gd9eI8ruQ==
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=P+HoHJLm;
	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 3EEFC606A31E;
	Tue, 20 Oct 2026 20:40:07 +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=P+HoHJLm
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=1792528806;
	b=2BzpptSH7s8I8jZ77/fQ836JXilFQzmQFiN1dy+cDKWJsHL2BCDExh3dRLVvg1lLYE/B
	 5MHb6txwFfKFRxUKdjjCWcwdp1o93kyKevQBfFD4d+ZwGesqC2U/LfTSS70Km8wcyz1gS
	 t4lREQdG5BkNV3xLOcz2eohz9Or/Gu73Rbo19AXacq0tBB7Bx700D7EwdVAGGI9E8PaM2
	 PMWdG5z12MGxj8XHe2WXxSVJu/ea+DjGSR0Ye74dzvARYB1kQZ6hLUzVIP/s8jTm9zVIQ
	 K4c+xz1nX/3gqyEhgsF0ojby+Ta0+OJdJLgGeND6o0xX5ld7kDPoBbvsOYHB5SalIDQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792528806;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=flulyxbLP0UsSv1OFvs0YSLFEceTAtZ9GIeNv73cBYA=;
	b=QTHOz0DJPrUtZ07++k9BNHLYkLVZzRHArX+0rERi7GYKcukZ8rL8O/FBgCrgSLY+a3cx
	 eS+e72vqnIAybM9WPQOCaQVHKRre1Fg+lDI2UKvX7WMk7IA1EjSt9n66t2qerK8o5Ck1b
	 t9JQeTwvXEMKOmbtC8uVoIIG0ZHV+7KYHspTBNl7K2IoqkMrgvGl+2zrkNgWvfXeUdSFF
	 /S/BSSKYB6+UdGxgKBtoTN9lAuSyPmgNE7v2X8SabGuqmrm5vm0dCCX4BYhNQ+etCrdj5
	 4oruFoqhOsEVYHo0NSWsm2cN6rliqAJai9x2BDqVK1rgF7uIFT7Y2W2lSTI56QK2pWQ==
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=P+HoHJLm;
	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 212A3606A31A
	for <netdev@vger.kernel.org>; Tue, 20 Oct 2026 20:40:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 824171F000C9;
	Tue, 20 Oct 2026 20:40:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792528805;
	bh=flulyxbLP0UsSv1OFvs0YSLFEceTAtZ9GIeNv73cBYA=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=P+HoHJLmeGv690Je7Hm/2xUTHlXRjsNir2NbRq77s+29AnYZDk49MsIRZrQPGAb1k
	 +GMazyn/Y77d0JM+LN+iUB/hMOunzUL2wrFwxHQRvKsFCWg+nt/0vS/G5rXnaawyD/
	 sEUiM/4opCxtN1YuZbzfqsCZB2D1O40tULXXVUviTBp8/R5q7xZr3yqdqu4eF1FSRz
	 DSNQsIZyKDTA8k7hieVDzSqoV4wSBeB/kjxRtaLkusl0nbXhvSjFGIxVojbcSV77hs
	 GAkzmZ93Q176RIVfenaBjiH6VjpBf7D2ToLV19uMvToXN6BqLFV0D8IIj+ZJ4shWgO
	 QegeUvHi50v9A==
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 774063809A09;
	Tue, 20 Oct 2026 20:40:05 +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: <20261013210954.2170175-1-erfansh@meta.com>
X-Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, almasrymina@google.com,
 kaiyuanz@google.com, willemb@google.com, asml.silence@gmail.com,
 sdf@fomichev.me, bobbyeshleman@meta.com