xen/arm: smmuv1: Revert associating the group pointer with the S2CR
authorRahul Singh <rahul.singh@arm.com>
Fri, 16 Apr 2021 11:25:02 +0000 (12:25 +0100)
committerJulien Grall <jgrall@amazon.com>
Tue, 20 Apr 2021 12:22:54 +0000 (13:22 +0100)
commit9f6cd4983715cb31f0ea540e6bbb63f799a35d8a
tree3eb76072e825ef6ce2c8da2ea30db18bbd1adf92
parentbcab2ac84931ab58e2f2cd1242ed551d8aaff021
xen/arm: smmuv1: Revert associating the group pointer with the S2CR

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 with same stream-id. This issue is introduced by commit
0435784cc75d ("xen/arm: smmuv1: Intelligent SMR allocation”

Reverting the code will not impact to use of SMMU if two devices use the
same stream-id but each device will be in a separate group. This is the same
behaviour before the code is merged.

Fixes: 0435784cc75d ("xen/arm: smmuv1: Intelligent SMR allocation”
Signed-off-by: Rahul Singh <rahul.singh@arm.com>
xen/drivers/passthrough/arm/smmu.c