Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4893826imu; Tue, 29 Jan 2019 09:14:18 -0800 (PST) X-Google-Smtp-Source: ALg8bN5i74c5gNo0QodJgQ/IGBcGbGxsa+m4bt8OZzpt2rab3AFkeIq31x43HK746lmaK+R8RMGa X-Received: by 2002:a63:f811:: with SMTP id n17mr24921124pgh.23.1548782058629; Tue, 29 Jan 2019 09:14:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548782058; cv=none; d=google.com; s=arc-20160816; b=hUDvSNZQicTrjAtv/kQ9nmfIjhmpLRKj0T+GNz1d98+XxucxJBq1cdMHnfekknoHnn Ru8cA2eJx8sC5TwOw/2kbok4wdltLoPzdCZXM/y1T9TrIPgSenR7w5xZpCBeJsSDdRLZ hLcBIkYeawJrekdMyM41sMGSeYRMLS78HQNuhjb5+6JmqrVv1KM5vwIYJCX3mQRQ7Qe+ iq5V4uI244CyDOcaZBOhrOYYhaUPFvfZ7f/JJrPU2S91SXAdfPnWuaLUCtMaX4nYw37a JZn49tE+54D2PN5m1EQV1jooinsI2ZH6LfL8yhwxUrXOgi83UgDMiKxGJJWn5aLyqPqL +xTw== 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=WXKpBGf8kzKsuUpk2Enhjnln/GIJl4M4Cx/wXA0NWR8=; b=JpKeLxEFuji6gX60ZF8FYJgqgPEikSmhmq5Ss3p5GVIe4wk9CCULEaYi6XsSIpXULH au7VU+uE5NN3IgE/2AOsteAp6+tLPNf/WPEYIx2QoMxV/gWvnW2MfqCiyk5K5X+mghL5 4/hsJEHzkXH4wq+X+IQyHXS3AvBT7QLROl7Fgb7ZgPVu7t9pHbvHiDvBLXpxFNkMVjtZ yPurFnpuguh/Drb0zRGmdsEMvu0zldDYruJd2Uv/aVEUwB9jP08M8/awBN/dJX7OIqpO TXZsaAdXA+cq58K8UnoDrxFwQVxEeMsbAnPjscYiGlP+vJH4ATSCrucJWOSM4WtRPU7j +ysw== 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 y20si19134020plr.106.2019.01.29.09.13.53; Tue, 29 Jan 2019 09:14:18 -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 S1728927AbfA2RMc (ORCPT + 99 others); Tue, 29 Jan 2019 12:12:32 -0500 Received: from verein.lst.de ([213.95.11.211]:47352 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728379AbfA2RMb (ORCPT ); Tue, 29 Jan 2019 12:12:31 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 9F32A68CEC; Tue, 29 Jan 2019 18:12:29 +0100 (CET) Date: Tue, 29 Jan 2019 18:12:29 +0100 From: Christoph Hellwig To: Joerg Roedel Cc: "Michael S . Tsirkin" , Jason Wang , Konrad Rzeszutek Wilk , Christoph Hellwig , 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 Subject: Re: [PATCH 1/5] swiotlb: Introduce swiotlb_max_mapping_size() Message-ID: <20190129171229.GA15195@lst.de> References: <20190129084342.26030-1-joro@8bytes.org> <20190129084342.26030-2-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190129084342.26030-2-joro@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 Tue, Jan 29, 2019 at 09:43:38AM +0100, Joerg Roedel wrote: > From: Joerg Roedel > > The function returns the maximum size that can be remapped > by the SWIOTLB implementation. This function will be later > exposed to users through the DMA-API. > > Reviewed-by: Konrad Rzeszutek Wilk > Signed-off-by: Joerg Roedel Looks good: Reviewed-by: Christoph Hellwig