From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.15]) (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 A522F202F92; Tue, 29 Apr 2025 02:13:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745892809; cv=none; b=k1I3rbkyyaaCdrE8JneJBSxD6TrSTMfzTcY1unetGmL96/NVbba+6FPUnydH7QPDnx5UNUhBAVgvHK/oeLddF6EoaQf2Cw+/K4db6OeGywOdH4Q9V1Ad67Cm1zIcXnCte0uE5RcoBPLsIeQ1Nw9xbIKCXM2psA7Yn97qq0zPz60= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745892809; c=relaxed/simple; bh=cl37MECxv3M+3URhi+36RMhj2hMQV9W9XGD1Q2/sh04=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EGc60M2ZkVInieYY12tCksFmF+OdnQeh6r71fNpUaRy0/TjqAMGMbI6p8Xt9TLjZP6e2iLcZloH+/DEhwNWKix4ndFuCsXXeLcnbvjVOU9uYnMsFZtEsvqN7aFrsTuUsE+Yk8gmLlpVaFRppASbqs7GSqvf5J6i2QZM12OEAdXs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=INvP6gVu; arc=none smtp.client-ip=192.198.163.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="INvP6gVu" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1745892808; x=1777428808; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=cl37MECxv3M+3URhi+36RMhj2hMQV9W9XGD1Q2/sh04=; b=INvP6gVufKO91G4YEFb5LDAGQLB2ZOoBqaNVTEZ++6ZTyT4ccdg+ciHG 3M7tIfx6pJfsOZHUJbEnSdQB8I22mSJtdQ5G6GkALEEMAyIv9zYSJoXMZ jEXU2fvxmk8WP1qy8THSJMfzTF4w5J0mnbbR85xhufBrsrzeWG2+x0ig0 ipUA5rj2AsTNYjeUotJZmyDbvH2w+PNvXgz4O09Nh0v5Y36aI8K+dVKDv x6ZMUTkoRsbOf8WyCXv58f+SbvMIhYagrcXDNjQMt7frLSV83RozorSlG i4cmi7E1ah/xfiYaKEQaK7SJD2tNZQWyoVK3L0yRVwmww/cLTLRSy9Vny Q==; X-CSE-ConnectionGUID: 27iqQTDZRUe0QlmqofO6jA== X-CSE-MsgGUID: aB13QRVEQ8+4Vmc9wwBDrw== X-IronPort-AV: E=McAfee;i="6700,10204,11417"; a="47641300" X-IronPort-AV: E=Sophos;i="6.15,247,1739865600"; d="scan'208";a="47641300" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa109.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2025 19:13:27 -0700 X-CSE-ConnectionGUID: vTMeR4UxT2GBmzm6ilMYHw== X-CSE-MsgGUID: qu1jwlhkTHumLQTjOKxa+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,247,1739865600"; d="scan'208";a="137721865" Received: from allen-sbox.sh.intel.com (HELO [10.239.159.30]) ([10.239.159.30]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2025 19:13:19 -0700 Message-ID: Date: Tue, 29 Apr 2025 10:09:07 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v10 02/24] dma-mapping: move the PCI P2PDMA mapping helpers to pci-p2pdma.h To: Leon Romanovsky , Marek Szyprowski , Jens Axboe , Christoph Hellwig , Keith Busch Cc: Jake Edge , Jonathan Corbet , Jason Gunthorpe , Zhu Yanjun , Robin Murphy , Joerg Roedel , Will Deacon , Sagi Grimberg , Bjorn Helgaas , Logan Gunthorpe , Yishai Hadas , Shameer Kolothum , Kevin Tian , Alex Williamson , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Andrew Morton , 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, Niklas Schnelle , Chuck Lever , Luis Chamberlain , Matthew Wilcox , Dan Williams , Kanchan Joshi , Chaitanya Kulkarni , Leon Romanovsky References: <1c9f2a2e97f77d6eebb5e19651723c0459e0dc29.1745831017.git.leon@kernel.org> Content-Language: en-US From: Baolu Lu In-Reply-To: <1c9f2a2e97f77d6eebb5e19651723c0459e0dc29.1745831017.git.leon@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/28/25 17:22, Leon Romanovsky wrote: > From: Christoph Hellwig > > To support the upcoming non-scatterlist mapping helpers, we need to go > back to have them called outside of the DMA API. Thus move them out of > dma-map-ops.h, which is only for DMA API implementations to pci-p2pdma.h, > which is for driver use. > > Note that the core helper is still not exported as the mapping is > expected to be done only by very highlevel subsystem code at least for > now. > > Signed-off-by: Christoph Hellwig > Reviewed-by: Logan Gunthorpe > Acked-by: Bjorn Helgaas > Tested-by: Jens Axboe > Reviewed-by: Luis Chamberlain > Signed-off-by: Leon Romanovsky Reviewed-by: Lu Baolu