Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7221135imu; Thu, 31 Jan 2019 06:57:35 -0800 (PST) X-Google-Smtp-Source: ALg8bN4eAcAXS9TTpJ1N3YpeSGfYA917Bnk/pTgHWxk6r5UcDq9VdZ3aU1bW9y/r9ry2cPAuXC7P X-Received: by 2002:a17:902:2ac3:: with SMTP id j61mr35080658plb.185.1548946655825; Thu, 31 Jan 2019 06:57:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548946655; cv=none; d=google.com; s=arc-20160816; b=cyQSJJuytVhWi9A9kIyvlVVKqm3DIkGv5BulKS7N6liVryl2RvNoMcsxvoVKXxpAtc 6kA9JfZq7SwYNpuMNTNDV9B5y2cCtT3YiKCBu2N1wi7LlADspO6H7sz/u8P46ZtrhydM 922OV+N8ch1k2zhyhmwMit1WxPRg1PzyylMeWHq0CtHSCA2jmtoX5PkA6ckl6C12hxPE V4vpbyixjHuqRBVbTfy5cHmHUxhWG8AZXMbZVB7OaECKrpuN7m9RRfH/4RWDiH5/5H7V lMe7mY4itNorYyUKJaeoIbCP8mQwMDiyGrIHKyFi3fsnPGcDqAjsUfyV9TzQufiKI3MQ 2tCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=b3hmIP/Tkl4ixx5/fyqWdjlatBIg1vajq0uf2m+2GYY=; b=K942w+kYO/gXhfussSxKJo9uirK9TgXvRE+pCjDsQ3jR2kU0kXpoGXjF2VP2qC3nLg qx1JaKANOSdM8Gqusmdhz1FfoV+C3gLfWPMwdQhyaivGvIht/TM0utM14enPCFA9ZM6u 2k6crXixF6pM5a1zuuQxl2ko6hkB3ypxq2i7sGATEvFdhXmVRd7UuTD7E0gH/izDREkU nbXwmoFKFxo/S8qIeVKalyNZ/KYnz1YiiLQaKtniKDooFhW5q2uhXwU6xvMc3S+hut01 djIkwiJim6WIt2ud1mJWgNsymKQmCyUKTGx0S8rfQDteN4q3VY2ek7Ccb9Ghmaj9zsxI ZL5w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m3si4517195pgs.8.2019.01.31.06.57.20; Thu, 31 Jan 2019 06:57:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731016AbfAaOh0 (ORCPT + 99 others); Thu, 31 Jan 2019 09:37:26 -0500 Received: from verein.lst.de ([213.95.11.211]:57918 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730070AbfAaOhZ (ORCPT ); Thu, 31 Jan 2019 09:37:25 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id DEC2868C8E; Thu, 31 Jan 2019 15:37:23 +0100 (CET) Date: Thu, 31 Jan 2019 15:37:23 +0100 From: Christoph Hellwig To: Joerg Roedel Cc: Christoph Hellwig , "Michael S . Tsirkin" , Jason Wang , Konrad Rzeszutek Wilk , Jens Axboe , virtualization@lists.linux-foundation.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, jfehlig@suse.com, jon.grimm@amd.com, brijesh.singh@amd.com, jroedel@suse.de, Thomas.Lendacky@amd.com Subject: Re: [PATCH] dma: Uninline dma_max_mapping_size() Message-ID: <20190131143723.GA32329@lst.de> References: <20190130164007.26497-1-joro@8bytes.org> <20190130164007.26497-4-joro@8bytes.org> <20190131104129.GA9241@lst.de> <20190131130127.GP32526@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190131130127.GP32526@8bytes.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 31, 2019 at 02:01:27PM +0100, Joerg Roedel wrote: > On Thu, Jan 31, 2019 at 11:41:29AM +0100, Christoph Hellwig wrote: > > Sorry for not noticing last time, but since 5.0 we keep all non-fast > > path DMA mapping interfaces out of line, so this should move to > > kernel/dma/mapping.c. > > Okay, attached patch does that. It applies on-top of this patch-set. > > Michael, feel free to either apply this on-top of the patch-set or merge > the diff into patch 3, whatever you prefer. Looks good: Reviewed-by: Christoph Hellwig I'd prefer it to be squashed if possible.