From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F8D44218BE for ; Wed, 21 Jan 2026 15:41:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769010102; cv=none; b=pwXvONuNKslHgT1LffF+7uUfZW7/IJ7lZ2I5D3HZzBifan4RNsBJd6nuU819GJutNDT9yMNUG59c+9aKfgEstKgPe+Nea93NFh0tGz502g2qGnilNxuz89FbF5UrttUT728Nvh0DqIbYyyCYNGmdxhL2Eu5X7OmKmv2m6VcdhTY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769010102; c=relaxed/simple; bh=MtzfM60Cs9mbb/vDYLGt1i8sN5P/nhUKDazT3BzO028=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=F5i4i2wHKnP6SmbhyFk6CLaDTjbWJMdh+OUylwIe6ly8CblatNvV3fM1MB0FEfoYnpoCV6TL/xH4leqzSFw3sivnDmGkv5GzKxiG1dANoUuGIh9owwihKQcj3wA59twb0ISYcEPSp4bR0KVq8BDyR58sQ2ZV/V+dMf8xzE4H/1U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=d8ipf+KU; arc=none smtp.client-ip=209.85.219.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="d8ipf+KU" Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-894724bc5cbso8451506d6.1 for ; Wed, 21 Jan 2026 07:41:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1769010099; x=1769614899; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ou8wYJVgke38aZatOGIOXXNbnvyF2AuO4MiXOCQfuAM=; b=d8ipf+KU++d9oWZgIR6lkxHBb8zf4MCRmoRwF7J76jVX9G5OiIyG0n6WJtb9AzNyCW jOjZq8LRWOOMO+Er2zSfMqVdcWQ5lDt4hZIILiz99LspfnYKq6Vm96pR1HOSOWuJs1ZG 32i4aWr/fTBs/O3a8mldRbft0k6Baj9NWL2EeQdEiMYBskC4B9Yc5557kORXLi+3GJG7 Pb8f/UNhY3khb4fQObQ8ddLiXbUAdCup/sKMLFCrWUMLzi9q2BqKM2Vaqyonmzp/1hPw 25xyxonm5frcsDVntEjX1kH31oHyKXlWqJew8afiw3qggmbb8YPqg0OOTeGFqoKjzyCd pF9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769010099; x=1769614899; h=in-reply-to: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=Ou8wYJVgke38aZatOGIOXXNbnvyF2AuO4MiXOCQfuAM=; b=oZOsBQo5kO+UJQqZaf6WqbJQMJHsgs8loHeBQZRmznWliKBZuZWpZwPZ08VuGvVl4W cpu0k8hVyA38ENqT20TKF/LYyE4x/Trm5yuhJKMBfrMcxUb7Y5V+yPeZEtitCczAeS6A YStXxflFTEZXECcvyezXskVbE22H2SF7umztFz8rNu4O6TaKTHSI1rrb4mqKhUJBKBr2 kQ2Ujvn+kUyOtb/z3pUnxz8TEH1awXLeo1xX1/NETLwWqdMZGJAy/DO8k9gO2aOIpnwe jya3KxhpjmuJ4Gu3GLuEnSrPJK2I4D7x5BnQ8VG3fwOQGncf/ihOACcPoLifcniAcKLq OnkQ== X-Forwarded-Encrypted: i=1; AJvYcCUbh5frIWtKb0wNohdyVqKMZEhJ6XSSDizUH27dThmdJRpfEig4gHz1MIbe27wKFC2T/I1FLEFGaIsSTQ==@vger.kernel.org X-Gm-Message-State: AOJu0YxEpwXJhyw/20hpruKVXjhU0qf80E2I7P2hmtmBMa8RMWMVBY/T GF0wVf5+Tx2x26sJACPSNZPdCfmlIxjEQqvRX7xuLJby+vF/ixdk8pnxHINktXs53hQ= X-Gm-Gg: AZuq6aJkS9eqW7B9KSXC4mjIFoz2PkRxH03ly5GNVTySttHBDEXxLJ+9Pcf4uOU9uBk 1QNf81gYHt+PHNkzxBSSryKXw/Xu7Z7aGSi+y1RRYcHEOk7e7C+Wy2tu6GYV0wxcthkPmDf9iDm wk+DjchleOQZTCmYLs2TfITTbB3V3yXvsxyT1KZdTL6e1pDRkxrOUUJQU8zoWB2x0YIYi/WUpIH w2Z+2RJhUO4In7Ac4rZShHdERVXOIzg55gtCxCauOZBYjmZ+hCM6hmP4hd/EhcIov+Fq7ap3clN ep7WBn8CwortXItqmn1bUIYmrDBQ9Z/Jwwigkdts93PiMpQKlwsP1PbNRMgdVaktky1xWb0kK41 Apo/S0F7hu0x2umoe9R8Tzqj9sFcoOWRljtvZ8BKv1ODW/kgZA+IFsSgGaTaeosjYXl5SuV27r0 MH9LutRYGErVnb9Llp00rpA28FD75MW07ZaG3xOJCctr0m2yugTiOoJrvU3WWUoMCQGk8tpLjjX U1gmg== X-Received: by 2002:a05:6214:212b:b0:888:6fde:7b72 with SMTP id 6a1803df08f44-8942d7e0460mr262093776d6.32.1769010098574; Wed, 21 Jan 2026 07:41:38 -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 6a1803df08f44-8946a1e3d28sm30951806d6.7.2026.01.21.07.41.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jan 2026 07:41:37 -0800 (PST) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1viaKv-00000006EjK-1pDz; Wed, 21 Jan 2026 11:41:37 -0400 Date: Wed, 21 Jan 2026 11:41:37 -0400 From: Jason Gunthorpe To: Leon Romanovsky Cc: 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 , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , Rodrigo Vivi , Kevin Tian , Joerg Roedel , Will Deacon , Robin Murphy , Felix Kuehling , Alex Williamson , Ankit Agrawal , Vivek Kasireddy , 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 v4 8/8] vfio: Validate dma-buf revocation semantics Message-ID: <20260121154137.GD961572@ziepe.ca> References: <20260121-dmabuf-revoke-v4-0-d311cbc8633d@nvidia.com> <20260121-dmabuf-revoke-v4-8-d311cbc8633d@nvidia.com> <20260121134712.GZ961572@ziepe.ca> <20260121144701.GF13201@unreal> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260121144701.GF13201@unreal> On Wed, Jan 21, 2026 at 04:47:01PM +0200, Leon Romanovsky wrote: > > We need to push an urgent -rc fix to implement a pin function here > > that always fails. That was missed and it means things like rdma can > > import vfio when the intention was to block that. It would be bad for > > that uAPI mistake to reach a released kernel. > > I don't see any urgency here. In the current kernel, the RDMA importer > prints a warning to indicate it was attached to the wrong exporter. > VFIO also invokes dma_buf_move_notify(). The design of vfio was always that it must not work with RDMA because we cannot tolerate the errors that happen due to ignoring the move_notify. The entire purpose of this series could be stated as continuing to block RDMA while opening up other pining users. So it must be addressed urgently before someone builds an application relying on this connection. Jason