[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/5] xen/arm: smmuv1: Fix stream match conflict issue


  • To: Rahul Singh <Rahul.Singh@xxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Fri, 12 Mar 2021 07:58:00 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yRHEgE2s3aK/DfilkpZqg2QbZfFmk6MMUG7VO5LcJ+I=; b=jPJFx1pGnxGv9ikAlTMj08QBI0/+X7TIJrl/bAMUAS5tsiRQ7F6Bk2pHSylCchgfEgVJqmfZDcjjoJq5bB2NbzL9xpEUKKy/bUnjL15GlDfg97E2sA5/Tn2Y9XKEbikgwc65s3UP+3LXC6hmA4CARGLFHh3CM4hNaAMrFodNZHZVL9U/IuLbBsc3eHM74bkjKtBjefajHK/JkC1b+YoauZL4iyVKvF6ZE7IFYLlMNvVXqJsRwT4+IS08GJqP84s3ygE+jgrVwYrWGwNPZuB+4SXZUQ6AtATUgBYP8Obga2LNJN2iz/NLc4ZHR0wl3nmAtl8LbEJQxHr6VnmPwnEUlw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iDPltf6DzK79ih4iKbgCxcWv/TiHgZwHq5YRDJcbbl07o8TiHacmsbmcKxRLkQz2iKdFDf+OASXsJ8wEWk834SWEGakAsNZvhNij8NLHPLp30NhgPlDqpD7Sn6EiwAwkGf7o5PdEJLu/68uqUZHJWAqHaduUUIT+v/pp+cp4ZoiJZMdUIW6Q2/TUZaqXKLfnYtjL1wiEiw2+ZgXwPajfdHSZpOkKI+MSnynTtspNCUEO2qw8pPVEQSjEKPBqUleXes6Mej0wL0QEPlofL7vSpR+svNnasGLP5TPbDxzT87MgaTHQPp5fENCgVJMh4RKZwF+sLqlxjBxxq+grqTZsyA==
  • Authentication-results-original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Fri, 12 Mar 2021 07:58:16 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHXFRDsfmQEpjwmUkeZqlC6XkDzOqqAALUA
  • Thread-topic: [PATCH 0/5] xen/arm: smmuv1: Fix stream match conflict issue

Hi Rahul,

> On 9 Mar 2021, at 19:19, Rahul Singh <Rahul.Singh@xxxxxxx> 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(-)

For the whole serie:

Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>

Cheers
Bertrand

> 
> -- 
> 2.17.1
> 




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.