From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) (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 062412222D1 for ; Fri, 12 Dec 2025 01:06:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765501567; cv=none; b=PLruO9cn1I91/ETdzf5smlSOd/0QmsV3XGmN4tGlTXaphB6SANf2xiOfpkEn/G/5TzgFKQaVFil11JpqhDnJJRFsCjs9K3yY2G4EahtwpImZYOEzvja1UIPKh3xVq8aKAfMLB7Hg+0O1/QgOSHQTrwVlXQGRA2L/aLsJPcYnG8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765501567; c=relaxed/simple; bh=K1VuPgyejhpo8R8GttFalwF9L+ZZzTbzYl21HGIer1I=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uHJGwnoudkd8OFnRWe8QjbYqBLurIrkeqhmFYq/WoJO1z9/rF7wBNxzI2soaLwl49njTohE+DzHtMX5Yd5s9SxBnslgVev2lPaYV+xHsHDgkTeaIKDdDCNmIwvNuC2aHuE6DQ80l4ugRGgrCX0FH135LgdQmRkQEqXogS7eeSrU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Pv7E8nan; arc=none smtp.client-ip=209.85.210.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Pv7E8nan" Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-7f651586be1so90310b3a.1 for ; Thu, 11 Dec 2025 17:06:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765501565; x=1766106365; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=IIn/LcD13PrglPwKrjbzANKOSQPEYp8vSoODGBl4RDw=; b=Pv7E8nan7uRJVNO6eOuSZY2fcLHuM8eyEv1r+jY+mNoTmV+Ewf/m3WWs9DJIgHEZRP +K8yZ+rgoh7CMSV4MTrYsgwKcPuFIo4XmE5R6iPXuZUL9/53v30Bz2eDkTn4SdDTtvot M2WP12QLgC+UFs/h4VNMhthuJPunyFPDqvpHiaUuMdtUcz8kIvlTcAGB6DKCY30EbKS5 wnGa/7aGMB9HURe34bi1NOd+ShGFPjCsVnWwyboL5Oas7rMjb64rWJi7745HVVqJiCEq XMn1Ms5slyhDtvRoHiYno4QYA97m8gDY4i/LzIKQp/tdx2Tp8i5Rk8ga8igJZ3hir4m6 w1/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765501565; x=1766106365; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IIn/LcD13PrglPwKrjbzANKOSQPEYp8vSoODGBl4RDw=; b=J97ErcOjkRCDTNcj809OlO/gQHlQOB6uXIxsavMf2hevPSg3yBVR/xAhFi67KtEW/U G+JlfHnz6jDrdWW/R9Xi1aMoVo+wgKWWoVq9wYGQSBEHT6/1TWJFaDOwgVd/p6+9cUOf FL/5nnT/SSZUXifTTN2vPtZfuaspWG6PTy1MF9Y5l3CNtQBwr1F/trPXq094ethZ0ese fB/X6Yl6ff7iEnpmMKkSYVUE+rkk6uHdjZJtXD0/aW9cI0eVXrSjxYddI405RTbeQA8F D0SZL4aqdC96UUyk+OFHg4FqLSkoeTiKysZL2CNAXp6JavcpoLgugXgpyE59tr58V/vy s+Fw== X-Gm-Message-State: AOJu0YyIMyWJFNCZeOizFF5ugyuV7iYrtW/2uIrG7VBlaC+lRlLgjUnn o8HV3XCFnIsxzS0ixmqju/R5rGOgP2P9V/2imJXag4Z3t32U+MGRgxa4 X-Gm-Gg: AY/fxX5YrSKibNKxoUiAQdzGtKMuuJVE6M1BRWC+b3JXmcSapN9b6HjnZonc6evGSza e6ous7i2HjjkJXUvwkCr/Ap3IYs7HILnTB7lUDj6wZTXueQvMlkrymzch269JUF/OkJQov7mRvW TN++WfoGjdU2LNEdmt39TYzCxdoW3O0AkGbjmBYLsCWxkmZjnXE4rcFCTGIbODBV/AMKBsXF880 05MvN5ldwzFdgJJsuCWmpNBFpHAspu5Y/WBw6+/AgfpsjeG5kFJ5urYJ2D+gDXaJJjsdnLcKscI sXnKJPKZyZeWw90b0jxkXEcde4CCcLvEHO2EvEgzTdY8nSvwK1Ie2/CG85rLO3coT3JMUgIDdZ8 EeqMurxZR/dZRZ9ZWFHgmY+B1Mo/5R47S8v0VYnvMQbrAthYBKvp4kePx6BDw3NNmV/0E9PAENf M1qLq1QMKu1C6ViWSs2Q3qKGS50FiRPfOo6d6IqQxDzDTIy3wgOnLtS7KFa4vHAwTUa8GXdr8oy KJ1/IPDi4Px7utWjVW94NODsiB3fNOKRCWQG/Oo22WHC2hKQEaR5cqj501oLA== X-Google-Smtp-Source: AGHT+IEhxHfa3EvqLnd161U/iUsmuB/KO5aMfBcewaILSnv9w+0OotqTV/mO8Q9y2e3SELVXDNPiCw== X-Received: by 2002:a05:6a00:8c12:b0:7e8:3fcb:bc4a with SMTP id d2e1a72fcca58-7f669c8a4efmr414424b3a.31.1765501565293; Thu, 11 Dec 2025 17:06:05 -0800 (PST) Received: from [10.200.8.97] (fs98a57d9c.tkyc007.ap.nuro.jp. [152.165.125.156]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7f4c5093a56sm3565645b3a.47.2025.12.11.17.06.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Dec 2025 17:06:04 -0800 (PST) Message-ID: <6edcb112-dabc-41ff-8e47-8b331de12f5c@gmail.com> Date: Fri, 12 Dec 2025 01:06:09 +0000 Precedence: bulk X-Mailing-List: linux-block@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC v2 02/11] iov_iter: introduce iter type for pre-registered dma To: Christoph Hellwig Cc: linux-block@vger.kernel.org, io-uring@vger.kernel.org, Vishal Verma , tushar.gohad@intel.com, Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , Alexander Viro , Christian Brauner , Andrew Morton , Sumit Semwal , =?UTF-8?Q?Christian_K=C3=B6nig?= , linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org References: Content-Language: en-US From: Pavel Begunkov In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 12/4/25 10:43, Christoph Hellwig wrote: > On Sun, Nov 23, 2025 at 10:51:22PM +0000, Pavel Begunkov wrote: >> diff --git a/include/linux/uio.h b/include/linux/uio.h >> index 5b127043a151..1b22594ca35b 100644 >> --- a/include/linux/uio.h >> +++ b/include/linux/uio.h >> @@ -29,6 +29,7 @@ enum iter_type { >> ITER_FOLIOQ, >> ITER_XARRAY, >> ITER_DISCARD, >> + ITER_DMA_TOKEN, > > Please use DMABUF/dmabuf naming everywhere, this is about dmabufs and > not dma in general. I guess I can do that (in all places) since it got that much fat around dmabuf, but for me it was always about passing dma addresses. Dmabuf was a way to pass buffers, even though mandatory for uapi. -- Pavel Begunkov