From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=213.95.11.211 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796044700; b=1UUhVh/ss59oYxu092a8AeScElQ6MVrg9tADu/dRpXz+bUC8lnWgbKVhFkWdwzcyXoJi f3UobzVUn1ngAyjiRG+LPvLZPJIuPyjHIoYfv87nIFaBllpouxrcFw7QptPaR5YzK4t3r hLdQcswz6kdoQJTZ7zrtPyQ5UO+0tEYX7LsFIlikisaRSP6HiUCUysQL6BpYwdYRga4Qu Bzf9dU8uhsvX9g1MEJ0ZtpXIms5t3zrfVXjXJrmN3cH+PtifrhqM/mErgBDXOz+nNo8mX 4uTxQh0G+EwdNjVSCX1jjwRDQSr4Q+lWPKm7O4/I800WEqBRLv91j9rq0nh3Owl4fRg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796044700; h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; bh=Fz+/vww1tj1KObrtAPx5iqBr6UWAHCynAGHD8U5hyXU=; b=yk0mvNZOxHKOT51gdNjM4tql3K2WBb/sOJ7N699EUEFN73MXzjfOtMY49UCa9zbtn7ny oKYjr+XpYrzK7Rm+B/sqVvcy2QnbCqteJzogWWGVLpdWioH3Uxd22ZU90Wat+olQjTEWy bP4F0g/OO4QRe18NzT3wro61b3YnYMwOotlhziFuDyYXEV153p+zgfQOC0KOut+B+60Qk baW3QrBsQ5MsJDjrWbG225BDRD75B3aT+GMfo97gqyTtKa5EAX2CoJGCdY2lQttX50qXK 3h0PgBrqNNmJkPyOu5xMCRRkvR32IGY3kUDNcIuwyPL5upOCAzfhUuVWnRN47P6pLGQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.remote-ip=213.95.11.211 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 951EB606A325; Mon, 30 Nov 2026 13:18:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 951EB606A325 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 7F59D68AFE; Mon, 30 Nov 2026 14:18:15 +0100 (CET) Date: Mon, 30 Nov 2026 14:18:14 +0100 From: Christoph Hellwig To: "David Hildenbrand (Arm)" Cc: Naman Jain , Christoph Hellwig , Jens Axboe , Andrew Morton , Alexander Viro , Oscar Salvador , Logan Gunthorpe , Leon Romanovsky , Keith Busch , linux-block@vger.kernel.org, linux-mm@kvack.org, linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] iov_iter: Fix direct I/O across compatible device pgmaps Message-ID: <20261130131814.GD29203@lst.de> References: <20261126053433.88531-1-namjain@linux.microsoft.com> <5cc60faa-002c-4c96-97e3-46d3002718c9@kernel.org> <74edd490-26bd-41a4-81ee-cd18b9f28154@linux.microsoft.com> <06ea7db8-51d1-49e0-8592-300d084ea5fd@kernel.org> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <06ea7db8-51d1-49e0-8592-300d084ea5fd@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Sun, Nov 29, 2026 at 11:32:20AM +0100, David Hildenbrand (Arm) wrote: > Yeah, can we rename the function while moving it? in bio.h the "bio" context was > quite clear. In memremap.h it's a bit weird. > > If this is all about bios, I'd squeeze that into the filename and make it > clearer for *what* they are compatible. This is not about bios at all. And despite the extremely misleading subject it also has nothing to do with direct I/O at all. Fundamentally is is about dma mapping, as each incompatible pgmap or pgmap vs non-pgmap pages can't be mapped in the same IOMMU transaction.