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 X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EFD13C433E0 for ; Fri, 12 Mar 2021 00:39:11 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (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 8A85664E10 for ; Fri, 12 Mar 2021 00:39:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8A85664E10 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from list by lists.xenproject.org with outflank-mailman.96766.183421 (Exim 4.92) (envelope-from ) id 1lKVpF-0002X0-0Q; Fri, 12 Mar 2021 00:38:45 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 96766.183421; Fri, 12 Mar 2021 00:38:44 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lKVpE-0002Wt-TY; Fri, 12 Mar 2021 00:38:44 +0000 Received: by outflank-mailman (input) for mailman id 96766; Fri, 12 Mar 2021 00:38:43 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1lKVpC-0002Wo-UN for xen-devel@lists.xenproject.org; Fri, 12 Mar 2021 00:38:42 +0000 Received: from mail.kernel.org (unknown [198.145.29.99]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 9ee21236-2a60-4521-aa1a-22feede08581; Fri, 12 Mar 2021 00:38:41 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id EEE9E64F8E; Fri, 12 Mar 2021 00:38:40 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 9ee21236-2a60-4521-aa1a-22feede08581 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1615509521; bh=LxhJQNmeTlbV2mKTliu09mr/7q9XmffjSSgUB5VRJfk=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=Wto0DKzf3jAwwj8OK7fePvU1NBXf1RyJ2ZP5uSTHIf/ZxNljCWtfP9c8Bs/HcYgKY rm1XeybdlQ50Ip1QLR6m2KKCuFbKH2a/MHmsSy5PK/EbphhcDys1t5YYFj98JhcPOc qd4fNHzWqrvZNkL/90KxkedECuwfuvDZdJhLfcIqKbAkaZaX1pMGE1i0UmO21crlUA 0vDl6yGiTTY+JdzydE/pY9Ev2FGVpzcpAO7M4yk1xd+b51x7diiO5QaUmYWCYjQJdz ozg2vmMSoc1LSU0+9bBclwCa4qpk01GPWh85yDTg3ar7CRnfzJbZK1gJldFXINBSRA tS0JQC0V/kp+w== Date: Thu, 11 Mar 2021 16:38:33 -0800 (PST) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Rahul Singh cc: xen-devel@lists.xenproject.org, bertrand.marquis@arm.com, Stefano Stabellini , Julien Grall , Volodymyr Babchuk Subject: Re: [PATCH 0/5] xen/arm: smmuv1: Fix stream match conflict issue In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1376348301-1615509521=:18926" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1376348301-1615509521=:18926 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Tue, 9 Mar 2021, Rahul Singh wrote: > This patch is the work to fix the stream match conflict issue when two devices > have the same stream-id. > > Approach taken is to merge the below commit from Linux driver to fix the > issue. > > 1. "iommu/arm-smmu: Handle stream IDs more dynamically" > commit 21174240e4f4439bb8ed6c116cdbdc03eba2126e > 2. "iommu/arm-smmu: Consolidate stream map entry state" > commit 1f3d5ca43019bff1105838712d55be087d93c0da > 3. "iommu/arm-smmu: Keep track of S2CR state" > commit 8e8b203eabd8b9e96d02d6339e4abce3e5a7ea4b > 4. "iommu/arm-smmu: Add a stream map entry iterator" > commit d3097e39302083d58922a3d1032d7d59a63d263d > 5. "iommu/arm-smmu: Intelligent SMR allocation" > commit 588888a7399db352d2b1a41c9d5b3bf0fd482390 > > Rahul Singh (5): > xen/arm: smmuv1: Handle stream IDs more dynamically > xen/arm: smmuv1: Consolidate stream map entry state > xen/arm: smmuv1: Keep track of S2CR state > xen/arm: smmuv1: Add a stream map entry iterator > xen/arm: smmuv1: Intelligent SMR allocation > > xen/drivers/passthrough/arm/smmu.c | 423 ++++++++++++++++++----------- > 1 file changed, 262 insertions(+), 161 deletions(-) I didn't closely review the changes but I made sure that all patches build and I also compared each patch with the original commit in Linux: all changes correspond correctly. For the whole series: Acked-by: Stefano Stabellini --8323329-1376348301-1615509521=:18926--