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 29F29C433F5 for ; Wed, 13 Apr 2022 05:49:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232613AbiDMFwA (ORCPT ); Wed, 13 Apr 2022 01:52:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232604AbiDMFv5 (ORCPT ); Wed, 13 Apr 2022 01:51:57 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40AD51160 for ; Tue, 12 Apr 2022 22:49:37 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id AD46968B05; Wed, 13 Apr 2022 07:49:33 +0200 (CEST) Date: Wed, 13 Apr 2022 07:49:33 +0200 From: Christoph Hellwig To: Chao Gao Cc: Christoph Hellwig , 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: <20220413054933.GA32020@lst.de> References: <20220412113805.3210-1-chao.gao@intel.com> <20220413010157.GA10502@gao-cwp> <20220413045958.GA31209@lst.de> <20220413054600.GA23023@gao-cwp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220413054600.GA23023@gao-cwp> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 13, 2022 at 01:46:06PM +0800, Chao Gao wrote: > 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? I can add the fixes tag. I'll wait another day or two for more feedback, though. > > Fixes: 55897af63091 ("dma-direct: merge swiotlb_dma_ops into the dma_direct code") ---end quoted text--- 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 smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6758FC433EF for ; Wed, 13 Apr 2022 05:49:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 19F7560EAF; Wed, 13 Apr 2022 05:49:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GHD2Bytn6rQL; Wed, 13 Apr 2022 05:49:40 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp3.osuosl.org (Postfix) with ESMTPS id EA69F60E64; Wed, 13 Apr 2022 05:49:39 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B92D5C002F; Wed, 13 Apr 2022 05:49:39 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id ECFD8C002C for ; Wed, 13 Apr 2022 05:49:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C642882E5F for ; Wed, 13 Apr 2022 05:49:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FpK0xIVIObEN for ; Wed, 13 Apr 2022 05:49:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by smtp1.osuosl.org (Postfix) with ESMTPS id 4593382D45 for ; Wed, 13 Apr 2022 05:49:38 +0000 (UTC) Received: by verein.lst.de (Postfix, from userid 2407) id AD46968B05; Wed, 13 Apr 2022 07:49:33 +0200 (CEST) Date: Wed, 13 Apr 2022 07:49:33 +0200 From: Christoph Hellwig To: Chao Gao Subject: Re: [PATCH] dma-direct: avoid redundant memory sync for swiotlb Message-ID: <20220413054933.GA32020@lst.de> References: <20220412113805.3210-1-chao.gao@intel.com> <20220413010157.GA10502@gao-cwp> <20220413045958.GA31209@lst.de> <20220413054600.GA23023@gao-cwp> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220413054600.GA23023@gao-cwp> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Kevin Tian , Wang Zhaoyang1 , linux-kernel@vger.kernel.org, Gao Liang , iommu@lists.linux-foundation.org, Robin Murphy , Christoph Hellwig X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Wed, Apr 13, 2022 at 01:46:06PM +0800, Chao Gao wrote: > 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? I can add the fixes tag. I'll wait another day or two for more feedback, though. > > Fixes: 55897af63091 ("dma-direct: merge swiotlb_dma_ops into the dma_direct code") ---end quoted text--- _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu