Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4841198yba; Mon, 13 May 2019 00:08:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqwcDhE0ty2mM01AGfZnuyuYoFh9AY0hUvdAoV5eVBJVLuTMe1L/t1aaC6ky67nRgfucYVIP X-Received: by 2002:a17:902:e9:: with SMTP id a96mr2275446pla.37.1557731280122; Mon, 13 May 2019 00:08:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557731280; cv=none; d=google.com; s=arc-20160816; b=uRD0kRpZaZlUsdCtvLoc0rCLNgtlqNisNVN9BfX5K8WlCGcWOqSYEKAkxJEjWXSj/a fKPXV3PcXZaJIS0vr8dEzGZ9Zc2+HjKcZhvXS8n150PypF6y3pkUMX2e7f3jDmKpINSq BoKbqIfH9Lu6vCIz2nzpcte/xAmvQnL4oRAFwz4H3IFzmy29Tx3H5ok2uS/kwEn0W16n xCXmrh7bMdCywhCuVzFfUf9EIcXVJ7zDw+mjftTpV7nuZ3MH7JNkErJ8Bd6LUu88rUja UOsUzkDJ1UmCjend29ugK2Ou4DRtXmOI7SR6l+GOjm14ayVeV5LN0TpNU6G5xwm2vGi+ u7zw== 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=R91ZsumcaaZQB2Q3TV/ASJOrJugcdwpuN2OfLDrUkmo=; b=PRpsgnlRkfA5PLX5PrHhUaLUIfX03qZK1zuXYy34W0d5uvqV19sojriMrXKqarU9Px A9waXjhW7YxGUCQgBtDfP0fhu+wWRz/IZ5SlIdCVWyi5YwWG1iX4BGsBLWVKmHqh8u9e PlV0S4sWMiHy9SWEe04gu6Te0X2fdDgbtDDXsGBVO8Xi61ccaRQnY7dWkHva2gjTDkjg LPOSqNVtQzW4GolKSarvb1ytypkgrv/dQwobWYj181puxmv6KjS5oMPGIugne9TSD/Rb vtRvqi8NQOeuiWpQUGNglmpud0CO+LX1xKdbsCFuO26m0IS5qbfmjpxTBeVicQN/iGhi mqqQ== 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 c7si15549682pgg.235.2019.05.13.00.07.44; Mon, 13 May 2019 00:08:00 -0700 (PDT) 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 S1727508AbfEMHGE (ORCPT + 99 others); Mon, 13 May 2019 03:06:04 -0400 Received: from verein.lst.de ([213.95.11.211]:37359 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726103AbfEMHGE (ORCPT ); Mon, 13 May 2019 03:06:04 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id A4EE268AFE; Mon, 13 May 2019 09:05:42 +0200 (CEST) Date: Mon, 13 May 2019 09:05:42 +0200 From: Christoph Hellwig To: Lu Baolu Cc: Christoph Hellwig , Robin Murphy , David Woodhouse , Joerg Roedel , ashok.raj@intel.com, jacob.jun.pan@intel.com, alan.cox@intel.com, kevin.tian@intel.com, mika.westerberg@linux.intel.com, pengfei.xu@intel.com, Konrad Rzeszutek Wilk , Marek Szyprowski , iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 02/10] swiotlb: Factor out slot allocation and free Message-ID: <20190513070542.GA18739@lst.de> References: <0c6e5983-312b-0d6b-92f5-64861cd6804d@linux.intel.com> <20190423061232.GB12762@lst.de> <20190424144532.GA21480@lst.de> <20190426150433.GA19930@lst.de> <93b3d627-782d-cae0-2175-77a5a8b3fe6e@linux.intel.com> <90182d27-5764-7676-8ca6-b2773a40cfe1@arm.com> <20190429114401.GA30333@lst.de> <7033f384-7823-42ec-6bda-ae74ef689f4f@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7033f384-7823-42ec-6bda-ae74ef689f4f@linux.intel.com> 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 Mon, May 06, 2019 at 09:54:30AM +0800, Lu Baolu wrote: > Agreed. I will prepare the next version simply without the optimization, so > the offset is not required. > > For your changes in swiotlb, will you formalize them in patches or want > me to do this? Please do it yourself given that you still need the offset and thus a rework of the patches anyway.