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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85581C433F5 for ; Tue, 16 Nov 2021 14:26:02 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 23B3161C15 for ; Tue, 16 Nov 2021 14:26:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 23B3161C15 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id DEC03401B2; Tue, 16 Nov 2021 14:26:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WWu_aj_nqNCl; Tue, 16 Nov 2021 14:26:00 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp2.osuosl.org (Postfix) with ESMTPS id 90AE240412; Tue, 16 Nov 2021 14:26:00 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 67DCFC002E; Tue, 16 Nov 2021 14:26:00 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id AEB3DC0012; Tue, 16 Nov 2021 14:25:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 8E92040412; Tue, 16 Nov 2021 14:25:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IirDvKBREoe2; Tue, 16 Nov 2021 14:25:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp2.osuosl.org (Postfix) with ESMTP id 47407401B2; Tue, 16 Nov 2021 14:25:58 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 88B4A6D; Tue, 16 Nov 2021 06:25:57 -0800 (PST) Received: from [10.57.82.45] (unknown [10.57.82.45]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id BA8BF3F766; Tue, 16 Nov 2021 06:25:55 -0800 (PST) Message-ID: Date: Tue, 16 Nov 2021 14:25:50 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH 0/5] iommu: Some IOVA code reorganisation Content-Language: en-GB To: John Garry , Will Deacon References: <1632477717-5254-1-git-send-email-john.garry@huawei.com> <20211004114418.GC27373@willie-the-truck> From: Robin Murphy In-Reply-To: Cc: mst@redhat.com, linuxarm@huawei.com, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, xieyongji@bytedance.com, iommu@lists.linux-foundation.org, jasowang@redhat.com 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On 2021-11-16 14:21, John Garry wrote: > On 04/10/2021 12:44, Will Deacon wrote: >> On Fri, Sep 24, 2021 at 06:01:52PM +0800, John Garry wrote: >>> The IOVA domain structure is a bit overloaded, holding: >>> - IOVA tree management >>> - FQ control >>> - IOVA rcache memories >>> >>> Indeed only a couple of IOVA users use the rcache, and only dma-iommu.c >>> uses the FQ feature. >>> >>> This series separates out that structure. In addition, it moves the FQ >>> code into dma-iommu.c . This is not strictly necessary, but it does make >>> it easier for the FQ domain lookup the rcache domain. >>> >>> The rcache code stays where it is, as it may be reworked in future, so >>> there is not much point in relocating and then discarding. >>> >>> This topic was initially discussed and suggested (I think) by Robin >>> here: >>> https://lore.kernel.org/linux-iommu/1d06eda1-9961-d023-f5e7-fe87e768f067@arm.com/ >>> >> It would be useful to have Robin's Ack on patches 2-4. The implementation >> looks straightforward to me, but the thread above isn't very clear about >> what is being suggested. > > Hi Robin, > > Just wondering if you had made any progress on your FQ code rework or > your own re-org? Hey John - as it happens I started hacking on that in earnest about half an hour ago, aiming to get something out later this week. Cheers, Robin. > I wasn't planning on progressing > https://lore.kernel.org/linux-iommu/1626259003-201303-1-git-send-email-john.garry@huawei.com/ > until this is done first (and that is still a big issue), even though > not strictly necessary. > > Thanks, > John _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu