From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3AC9FC433FE for ; Wed, 13 Apr 2022 05:46:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232593AbiDMFsg (ORCPT ); Wed, 13 Apr 2022 01:48:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232193AbiDMFsc (ORCPT ); Wed, 13 Apr 2022 01:48:32 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 187424FC53 for ; Tue, 12 Apr 2022 22:46:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649828773; x=1681364773; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=IrNsHOC0jQhqTNGVvI4WqlFCg4JXfzht0G6G+u7v/NM=; b=cMx0dTcgULv/NaG16mAMWwM3jAtlSifluRvE8MD6kR6HPC/M8QZwJTQ4 YmW8COqPemgBVOx2e8BrmxkFqYsgJtGuwuAfnyblSyCgVrIRZenv1V01W G9FrHbEpHGK+hjmmNWq39nXJQ76XmhnHh3f4t6n03L4/UJan10tlU+MRX eZ2uUtQuirJaAfzjy4m4aBrGmIxh4PWr6uMKCKexDcmJEQl/8tCt4mTxO sSVeK72SRY+PA1SjjPyGSgWkXp2BgmWqG3gH+yEmBy2r4cpcCiPhGr5W/ BA7RWYP0LaOrqlHBI6drFTALqgEhuUM/MHmRIHfBwF/XB+zpTeQi1LJsU Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10315"; a="249869305" X-IronPort-AV: E=Sophos;i="5.90,255,1643702400"; d="scan'208";a="249869305" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 22:46:12 -0700 X-IronPort-AV: E=Sophos;i="5.90,255,1643702400"; d="scan'208";a="552060313" Received: from gao-cwp.sh.intel.com (HELO gao-cwp) ([10.239.159.23]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2022 22:46:10 -0700 Date: Wed, 13 Apr 2022 13:46:06 +0800 From: Chao Gao To: Christoph Hellwig Cc: Robin Murphy , linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, m.szyprowski@samsung.com, Wang Zhaoyang1 , Gao Liang , Kevin Tian Subject: Re: [PATCH] dma-direct: avoid redundant memory sync for swiotlb Message-ID: <20220413054600.GA23023@gao-cwp> References: <20220412113805.3210-1-chao.gao@intel.com> <20220413010157.GA10502@gao-cwp> <20220413045958.GA31209@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220413045958.GA31209@lst.de> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 13, 2022 at 06:59:58AM +0200, Christoph Hellwig wrote: >So for now I'd be happy with the one liner presented here, but >eventually the whole area could use an overhaul. Thanks. Do you want me to post a new version with the Fixes tag or you will take care of it? Fixes: 55897af63091 ("dma-direct: merge swiotlb_dma_ops into the dma_direct code")