Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4894196imu; Tue, 29 Jan 2019 09:14:36 -0800 (PST) X-Google-Smtp-Source: ALg8bN5Tsu18Ni6nxoQDfUIQ2P0Yad/IZaoBBNqGxuYWBNHp0sJpLNScgFdXdiv1CuIF5RMfQPm5 X-Received: by 2002:a63:5621:: with SMTP id k33mr24666131pgb.395.1548782076853; Tue, 29 Jan 2019 09:14:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548782076; cv=none; d=google.com; s=arc-20160816; b=re83Yqe3MxVtVSCX71+bvcPg021MsiIMYNYLnFwTyv+2F2WQo+m2sfUge+VHq/XJh6 iLnn0akU9dyvW5CnhTNO2wxfUMjGgNuvFUutXc3N4Bt7P/2EyNhCNnakMrfsISLYB/7/ h1wR1/OdlNRF4PC+KgUNIDxlBGLweMP/q/Jl0MYTRnc42Oo0xlmIBcY17QHfTIDTEZsl eHzthRQGxNIls2ZT86q9x5Lbj4Cgwz75PmI78LEJ92EJrb/ffn4IR8rNbyGLqkITaATb dOhPat+gFYBKp6IdrGKXy3ytO087dhjfZ+dFmKvrZ/bji0Gj4Aoza6C17RNh8+I5wUF0 T7Ag== 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=OlwcLep4LbQvyKbDg3Og67DkWO29Ut5ptdW/GMPk5wc=; b=aD1QsGJ/QAX7g4EDx82MR5hR72aGC0H+7JqlrWGsdBeYpbQZtmYmTKpE+Mg5SmvBb1 aY943WjuDM0wEI3XkiycOMtRkBq9jJl/+jtucsYsROvIx+y6nMCgr1AsbJueGkzEfd6x GOx9B8TR8DcodfvLBLNIvMtjiwWaGcjZhcBZLZEo9FaxyZwOqpdPLJVhwMeQI6ye8i9X sYBKL8yhup2A0zXepPrpsBblDGJFyi+50i0Vd7txha/+rADxS3Pv/LMUIHAjGX0k6EhT ZglH8nhDBFxoX4O2FoWfKQfJzoLA/EVHFdw9yf89cr3MoFrCQNK/ro4U7mpv9e+2Zvy/ rYzw== 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 10si2910999pgl.30.2019.01.29.09.14.09; Tue, 29 Jan 2019 09:14:36 -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 S1729025AbfA2RNQ (ORCPT + 99 others); Tue, 29 Jan 2019 12:13:16 -0500 Received: from verein.lst.de ([213.95.11.211]:47379 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbfA2RNP (ORCPT ); Tue, 29 Jan 2019 12:13:15 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 09B6668D93; Tue, 29 Jan 2019 18:13:14 +0100 (CET) Date: Tue, 29 Jan 2019 18:13:13 +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 3/5] dma: Introduce dma_max_mapping_size() Message-ID: <20190129171313.GC15195@lst.de> References: <20190129084342.26030-1-joro@8bytes.org> <20190129084342.26030-4-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190129084342.26030-4-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:40AM +0100, Joerg Roedel wrote: > From: Joerg Roedel > > The function returns the maximum size that can be mapped > using DMA-API functions. The patch also adds the > implementation for direct DMA and a new dma_map_ops pointer > so that other implementations can expose their limit. > > Reviewed-by: Konrad Rzeszutek Wilk > Signed-off-by: Joerg Roedel Looks good: Reviewed-by: Christoph Hellwig