Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4893297imu; Tue, 29 Jan 2019 09:13:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN7/eM0LwFCF+P2WBdRx8wVjYoo8ns0ppc8s5Y3/5cAcEu+IB+LuADBisetemZZwnMJd1XLA X-Received: by 2002:a17:902:b78b:: with SMTP id e11mr26856609pls.90.1548782027369; Tue, 29 Jan 2019 09:13:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548782027; cv=none; d=google.com; s=arc-20160816; b=0P84eJWphN7F8/kuNH4UCQMO0sjVKlqFcM+1DontT2mlGjcHFdaWN6IAhp+3U+jBk8 ZrbPIm7t8pe3VN6Um5SBG6FMxR1y+hrOFXBuI58po1HjBNr6j/4UnoM4mDg4GmMs3YHV ifWUmCn7JiuPWUsyTZ0IyGd9v5wf1arGV46qqvCzluZVwSQ8SGpqRbTS6B0DlMcwSJ+f rlvM7SVcpLk8ES4rUjvqyWh6gPBu35gfmve8zlrQJEa/jzQzBQ1hTVqi6PqBHUGZcW2Y JWXZtXLgGiKt3N0nfw8wuMy+6+tpqVn948eZZLwPxaqEYGUo6yjwr/mtAuXWFW3WIS8G Jh7Q== 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=trBgz5jMWkzzOMLxtmXO+1jTkAFcLTCPAeGn2jpngrU=; b=R8AqR66NdtGv4NFIDd9swI6SpRIq0TE5fVjwW+Hda7tagB4Bl77A91fiTf4DGQTB19 jJmBbwf4NcIGvidMC0VkPq80/P8lXnisrQe7l6O6J63ONnCZHmq9lEPMOQwG+Pq/i0PI cUMrMYW3AhsXpDMkRS6XQ2tzaE8Op0UyjyrYCpPeisM6MMu9e2qLUD7ZSKrcdF/DKBBy xeL6X1yh9P9TKggCS3WOHul2lRshhgqtJKOZCndoBlQxPxKnokwwLa5emXNMU8umgGwG /r0K6UGi8A+4NRmy722gdwPe48i6qfUmFqdO5eWVgLtZyLz1SzyBxS6ikw0+NlPQBi3T e36g== 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 y1si21521062plt.356.2019.01.29.09.13.20; Tue, 29 Jan 2019 09:13:47 -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 S1728955AbfA2RM4 (ORCPT + 99 others); Tue, 29 Jan 2019 12:12:56 -0500 Received: from verein.lst.de ([213.95.11.211]:47365 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728379AbfA2RMz (ORCPT ); Tue, 29 Jan 2019 12:12:55 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id 1177A68CEC; Tue, 29 Jan 2019 18:12:54 +0100 (CET) Date: Tue, 29 Jan 2019 18:12:53 +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 2/5] swiotlb: Add is_swiotlb_active() function Message-ID: <20190129171253.GB15195@lst.de> References: <20190129084342.26030-1-joro@8bytes.org> <20190129084342.26030-3-joro@8bytes.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190129084342.26030-3-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:39AM +0100, Joerg Roedel wrote: > From: Joerg Roedel > > This function will be used from dma_direct code to determine > the maximum segment size of a dma mapping. > > Reviewed-by: Konrad Rzeszutek Wilk > Signed-off-by: Joerg Roedel Looks good, Reviewed-by: Christoph Hellwig