Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp227605pxj; Wed, 16 Jun 2021 00:40:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVFhhKK9CWSuOm1SdPOsJbZCDSIDmTXIfrARu/aSw5cC8Pcx+BG9/mmo6S/YHSebYbMce7 X-Received: by 2002:a05:6638:3471:: with SMTP id q49mr2932723jav.23.1623829222478; Wed, 16 Jun 2021 00:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623829222; cv=none; d=google.com; s=arc-20160816; b=tCOPEfT9T8NW2D/+m9MPYNGUAdMBSsch7zrAcFzfViwRwZimTqt+awlTt1aS51RRpO lnpaU3sSR3lZF2Y2uLG1ytI9IWSrFxmolcLUjwhFkhqKnEDbt8ShK2rAegNDcWtCbge2 vmjes72BC+56FCH8FzHGVD3zsyO0RWCzWYA2+GseBVwFJKAEzUpAiWvPRrKJ7aGEi4rf k6YhjAntFxuA2djdaETAhxNAbw55tVDnX7W/vnwqo1ydig87TEVg/oe5ZVApHBih1Rb8 0DcUxdUikDuMvzUQavL24dpFlHD4lSmhB91KVzNHoC2TajmvZVVabkZzKlqYpI7QkKf4 n/Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Pcm9OtQSmYzk0bKXkfb+/OVYP5Q3PdqvwoKWGAx3Fkg=; b=E2XhTqPhCI1z+yn0lJk5YSPFKOIWUfsFG+YYVxSEDVQU/9l6anGoC29AqwiPOz40as 8NRq4Xk/vBngJJXddNDidZaKjLf3bcpReHnEfAJEpzMLgPu0MXDrHajSP/jCyM3L7E0O l2RsfVth3jKw7OpMVHgzt7bTfLIavv9Fb9keKNJcxihSLW+GnMXFtrOrJIlBr/v0X1RY nbqj3yorvxb3UW0ZdqHEixA9kdDzJMsYgN5hb0dCDsyirkm8Lqg7SSN/RmiG0clouDXF hNKZxp389C/LPQSxCdxVywRWgfePtX8TB5bfKQxh/rVsxfmfnSTCXCBiaPxJbsLb02Vh bQCg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r13si1928624ill.4.2021.06.16.00.40.09; Wed, 16 Jun 2021 00:40:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231521AbhFPHlh (ORCPT + 99 others); Wed, 16 Jun 2021 03:41:37 -0400 Received: from verein.lst.de ([213.95.11.211]:52999 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231187AbhFPHlf (ORCPT ); Wed, 16 Jun 2021 03:41:35 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 9C8526736F; Wed, 16 Jun 2021 09:39:22 +0200 (CEST) Date: Wed, 16 Jun 2021 09:39:22 +0200 From: Christoph Hellwig To: Claire Chang Cc: Rob Herring , mpe@ellerman.id.au, Joerg Roedel , Will Deacon , Frank Rowand , Konrad Rzeszutek Wilk , boris.ostrovsky@oracle.com, jgross@suse.com, Christoph Hellwig , Marek Szyprowski , benh@kernel.crashing.org, paulus@samba.org, "list@263.net:IOMMU DRIVERS" , sstabellini@kernel.org, Robin Murphy , grant.likely@arm.com, xypron.glpk@gmx.de, Thierry Reding , mingo@kernel.org, bauerman@linux.ibm.com, peterz@infradead.org, Greg KH , Saravana Kannan , "Rafael J . Wysocki" , heikki.krogerus@linux.intel.com, Andy Shevchenko , Randy Dunlap , Dan Williams , Bartosz Golaszewski , linux-devicetree , lkml , linuxppc-dev@lists.ozlabs.org, xen-devel@lists.xenproject.org, Nicolas Boichat , Jim Quinlan , tfiga@chromium.org, bskeggs@redhat.com, bhelgaas@google.com, chris@chris-wilson.co.uk, daniel@ffwll.ch, airlied@linux.ie, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, jani.nikula@linux.intel.com, jxgao@google.com, joonas.lahtinen@linux.intel.com, linux-pci@vger.kernel.org, maarten.lankhorst@linux.intel.com, matthew.auld@intel.com, rodrigo.vivi@intel.com, thomas.hellstrom@linux.intel.com Subject: Re: [PATCH v12 06/12] swiotlb: Use is_swiotlb_force_bounce for swiotlb data bouncing Message-ID: <20210616073922.GA2326@lst.de> References: <20210616062157.953777-1-tientzu@chromium.org> <20210616062157.953777-7-tientzu@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210616062157.953777-7-tientzu@chromium.org> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 16, 2021 at 02:21:51PM +0800, Claire Chang wrote: > Propagate the swiotlb_force into io_tlb_default_mem->force_bounce and > use it to determine whether to bounce the data or not. This will be > useful later to allow for different pools. > > Signed-off-by: Claire Chang Looks good, Reviewed-by: Christoph Hellwig