From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22379148FED for ; Thu, 12 Dec 2024 08:51:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733993499; cv=none; b=OeqvV6Oc49C9/ET1wRT8P5yjNeoUQSGfnku2GTD6u3aiLLFq8t99+uQFullKyqoSPW9DR99ml0U25VfLdV8Xw6Rv94F1aqKj9ijTho8EqW3z17BgyJ1oZOKzM1aqiYCgI45dqTilukDM+tQ/ilbdZGBtg2UKM+HBsBpGX8o7OY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733993499; c=relaxed/simple; bh=iqBPjOHCYyKvzbs7HPUNqqYSdMIjZfsoY2MJDOOLROU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=HuzEmuCN3ROhN4GplaBoXcKGsvAp38jPXvyYdhf4ceS784KAA1bldZL9sqDoqxgrBvHqORMibbjMWVzL88epIz6RNgRCww2eLzH+XUXVUwXT3EvaFoVGKiaKe6GGxhCR0Ejg1+mYOP0oVJONMlO0QkN/EKWpD0uXyfhtz42mmkI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (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 96FF068D1F; Thu, 12 Dec 2024 09:51:31 +0100 (CET) Date: Thu, 12 Dec 2024 09:51:31 +0100 From: Christoph Hellwig To: Leon Romanovsky Cc: Jens Axboe , Jason Gunthorpe , Robin Murphy , Joerg Roedel , Will Deacon , Christoph Hellwig , Sagi Grimberg , Leon Romanovsky , Keith Busch , Bjorn Helgaas , Logan Gunthorpe , Yishai Hadas , Shameer Kolothum , Kevin Tian , Alex Williamson , Marek Szyprowski , =?iso-8859-1?B?Suly9G1l?= Glisse , Andrew Morton , Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-rdma@vger.kernel.org, iommu@lists.linux.dev, linux-nvme@lists.infradead.org, linux-pci@vger.kernel.org, kvm@vger.kernel.org, linux-mm@kvack.org, Randy Dunlap Subject: Re: [PATCH v4 12/18] mm/hmm: provide generic DMA managing logic Message-ID: <20241212085131.GF9376@lst.de> References: Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) > +dma_addr_t hmm_dma_map_pfn(struct device *dev, struct hmm_dma_map *map, > + size_t idx, struct pci_p2pdma_map_state *p2pdma_state); Please avoid the overly long line.