[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xen/arm: smmuv1: Revert associating the group pointer with the S2CR
- To: Julien Grall <julien@xxxxxxx>
- From: Rahul Singh <Rahul.Singh@xxxxxxx>
- Date: Fri, 16 Apr 2021 15:01:26 +0000
- Accept-language: 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=nDmZAzQAwjX5fR3hIfSDu8J5LL13NXkZlKJzJ9q1YsY=; b=cZh5AMMoRGItIHqUXRObSVq0r0lms0pVDcoucoqyB3YNFKXa11wqfEq69fm6dPVbgDFzVio6R9dY15dgnkQXM+iCbeClwL0mpV4I7gtVPgZgE0PwKftW0jIffhW/ayw9EKmavL3iXSjN2kYuTA/rl2sx0/VzYzWXM3jsn3OMVbvFLFLdj6jLKI5WxVts40nBzU+7TjpwtvQ9MXozh/pIbGYSfHharkU6bE4C9wCVT4z9dcosB9cNETkjRuRdtWoQXT43Zz9wSNIpMUkUP2dmvcHR3lRb391wV3+TT9cJ9EK7b0E9MgAc8uqfMKxDNVpnS/2RN8SPGS1eAN5BheZJEg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bzRT8zXnBGm2DqyqfuAga/HtTmc3ofnpkWfsMqcCV8ZWlW5Q+5js0wq7oNbLZ7jhD8+6iyyPRGBDe0k1LIcRU9ujxZOnTEb940CKHleKhZJgVuKNOIA7F/4aG0iwkquCBQUDB1DvQQh2n3poefr/gTAvg7m4u/KkvTA+2l/7vTsiz6mBKUgfA2ECajRH5jG4tC7xEsjLiTqcjx9RTVVs3bdT6acOA46JeIrFDzjki6wI+nBMEqJXLAeRQbmf5vaZ4zVZkigBI9oKHjxNig4KghoMipf12/SosWtA9VHFSiblbdWwyEYzfL4SC8Zfyyicm3bPEM6ax8oSgTTIW4h9ZA==
- Authentication-results-original: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
- Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Fri, 16 Apr 2021 15:01:52 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
- Thread-index: AQHXMrMxW8Hpcs9A7Ei4/6fuLjr236q3NfuAgAAHXIA=
- Thread-topic: [PATCH] xen/arm: smmuv1: Revert associating the group pointer with the S2CR
Hi Julien,
> On 16 Apr 2021, at 3:35 pm, Julien Grall <julien@xxxxxxx> wrote:
>
> Hi,
>
> On 16/04/2021 12:25, Rahul Singh wrote:
>> Revert the code that associates the group pointer with the S2CR as this
>> code causing an issue when the SMMU device has more than one master
>> device.
>
> It is not clear to me why this change was first added. Are we missing any
> feature when reverting it?
This feature was added when we backported the code from Linux to fix the stream
match conflict issue
as part of commit "xen/arm: smmuv1: Intelligent SMR allocation”.
This is an extra feature added to allocate IOMMU group based on stream-id. If
two device has the
same stream-id then we assign those devices to the same group. This code was
removed from Linux
later point in time when IOMMU group handling is done by Linux code not by a
specific IOMMU driver.
Therefore I think it is ok revert the code.
>
>> This code is merged with the commit "xen/arm: smmuv1: Intelligent
>> SMR allocation”.
>
> This wants a fixes tag. Can be added on commit if there is nothing else to
> change.
Yes. That will be great. This fixes the commit
“0435784cc75dcfef3b5f59c29deb1dbb84265ddb:xen/arm: smmuv1: Intelligent SMR
allocation”
Regards,
Rahul
>
> Cheers,
>
> --
> Julien Grall
|