From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 04262D2ED16 for ; Tue, 20 Jan 2026 08:26:02 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7ED7710E582; Tue, 20 Jan 2026 08:25:59 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=ziepe.ca header.i=@ziepe.ca header.b="elC4Fmpn"; dkim-atps=neutral Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9956210E4C0 for ; Mon, 19 Jan 2026 16:24:26 +0000 (UTC) Received: by mail-qk1-f194.google.com with SMTP id af79cd13be357-8c52e25e636so671477585a.2 for ; Mon, 19 Jan 2026 08:24:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1768839866; x=1769444666; darn=lists.freedesktop.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=zCRrpohPCspJo8o5qWVDG1aTKo63AMTSXJRpwyKl02I=; b=elC4Fmpn55wFtJ79hAWSleyxWT/4wyCIjOdS6Ix40SLTDTcFJrR7fP0/2ze5wKe1qy 2/yJRyLGht7HwO9M/IrL1yBVTPfR1T/waxXj43Nhx+W0HzG4Bx6OzmGX62GH9VqIsW1T f/V9H4Y4uzntIuJld20dFGDJ1rsO/bEH6cevfR0du37nXy6AWx6flyzi+IU149Gk2T49 Ja9Wbv6yvZ3Vk+4LxAZU1OhkqmzeAlpQG6yZNzkOYIaVhFx4cbfgqitkjXEXA8f+LUrv 2zxFvYjzbx1Q0TXifjuzyYzI6gPwfOePGQzvjNXIkTPyRIdjz2xAnYXy9qExiEzPw9ae 0h/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768839866; x=1769444666; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=zCRrpohPCspJo8o5qWVDG1aTKo63AMTSXJRpwyKl02I=; b=ErSceWgPAxIgNQwrcgodmFH4p7tzQxZvnm7uoJPEHXmC3R+X4zDjmt7C5ZhRLNdhRf doVxVIUKlHRMJSlIWAPj8C8M2iaP5CUbBcpMvSYALv4SPLUcMXbkbR6AOHarE06aLjqm 5CIgSgRY4c5v7sg5vTFQQpumTrQ+xxdgvKBItJHy4zh05chsgM4+K4lr/1LjIcjTMV8v zmQzyiXY9qE3OjsTaCbunkU/5GRczvBbJksLygfwm61iQbEtE+sZ2YVrU9VfHfn4AFJa LlI7WKTmnZ+asXL+uUmPzBsLsOARtgiEJqRfjSPIWLEN/gfODVQul9OOP9NDyXxFgKiH gfHw== X-Forwarded-Encrypted: i=1; AJvYcCUbW/UwOHW8DEkmPuKmDIQeefrq2LmAI6g+M6g9OMNAzL2QcQm7kWJZZ7eWsDySAXsESCvrg8f6@lists.freedesktop.org X-Gm-Message-State: AOJu0YwFd6gcarEcPTsqAoYHrxxMJeHcW+14KDhPyKFRuEQzUdlZFWFC tW2lNslJ2LrvcFmAAVPHgc4FKXpWaTKGfQ60orxHgWK222VH4YJTsCnD+ulc04MmrkE= X-Gm-Gg: AY/fxX4sDDghKdwel0xE3zyIVH96xgkuB1TmCje4KpY9WjC9x00LUpWIn44HnlnsWnu UbUT/9GRacmwky7vhQBpaWYajDEL0C92QpWTrTTeqSIhdRyfOIAJFIxVkgKiPWZkndiWMROYjBc ciN3ByBNifTIarhJRnRHwATmjlxykhL8hy7vmzBe6NuE4RXIKEWn944AdpyCnA7W7jZ+1SKF1w9 hgHQxmjjlv65ox+YI2meWe7Dlo1GnL72+ppjkcrslQqlnEYggd5c3KpNqo0ENNjMJq+hDGf6YKj UPHPgONz3MAJc+zNxor275cXm/yhqnAvz+T4qNnv0O1UaAgulXijW4M8+I2itKG/KULSOZ4ohX+ C4QjmGJBpGz0PZYtI5Z3WM+sL6yXLRN3xQu5//9SiW22YhrDEWQX0+m6aJ1jiAGeY76/Mp4krwC r0Sb9zqeoUfnlExnXVj9MNGgt6L2whzxg3enr2byOHJJx8ZksXxG4EBaQbsr4N647Fx00= X-Received: by 2002:a05:620a:2a02:b0:8c5:33bf:5252 with SMTP id af79cd13be357-8c6a6963403mr1445548485a.70.1768839865634; Mon, 19 Jan 2026 08:24:25 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-162-112-119.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.112.119]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8c6a724a484sm800372485a.33.2026.01.19.08.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jan 2026 08:24:25 -0800 (PST) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1vhs3E-00000005I0S-2Krj; Mon, 19 Jan 2026 12:24:24 -0400 Date: Mon, 19 Jan 2026 12:24:24 -0400 From: Jason Gunthorpe To: Thomas =?utf-8?Q?Hellstr=C3=B6m?= Cc: Leon Romanovsky , Sumit Semwal , Christian =?utf-8?B?S8O2bmln?= , Alex Deucher , David Airlie , Simona Vetter , Gerd Hoffmann , Dmitry Osipenko , Gurchetan Singh , Chia-I Wu , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Lucas De Marchi , Rodrigo Vivi , Kevin Tian , Joerg Roedel , Will Deacon , Robin Murphy , Alex Williamson , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, virtualization@lists.linux.dev, intel-xe@lists.freedesktop.org, linux-rdma@vger.kernel.org, iommu@lists.linux.dev, kvm@vger.kernel.org Subject: Re: [PATCH v2 0/4] dma-buf: document revoke mechanism to invalidate shared buffers Message-ID: <20260119162424.GE961572@ziepe.ca> References: <20260118-dmabuf-revoke-v2-0-a03bb27c0875@nvidia.com> <20260119075229.GE13201@unreal> <9112a605d2ee382e83b84b50c052dd9e4a79a364.camel@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9112a605d2ee382e83b84b50c052dd9e4a79a364.camel@linux.intel.com> X-Mailman-Approved-At: Tue, 20 Jan 2026 08:25:58 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" On Mon, Jan 19, 2026 at 10:27:00AM +0100, Thomas Hellström wrote: > this sounds like it's not just undocumented but also in some cases > unimplemented. The xe driver for one doesn't expect move_notify() to be > called on pinned buffers, so if that is indeed going to be part of the > dma-buf protocol, wouldn't support for that need to be advertised by > the importer? Can you clarify this? I don't see xe's importer calling dma_buf_pin() or dma_buf_attach() outside of tests? It's importer implements a fully functional looking dynamic attach with move_notify()? I see the exporer is checking for pinned and then not calling move_notify - is that what you mean? When I looked through all the importers only RDMA obviously didn't support move_notify on pinned buffers. Jason