Tiejun, please can you send a patch to fix this up.  Please send just
a revised version of this patch.  I think the rest of the series will
rebase just fine on top of it.  (If I'm wrong then we will need to do
something more complex.)

Sorry to this.


    On ARM side the flag field doesn't take any affect.

    Signed-off-by: Tiejun Chen <tiejun.c...@intel.com>

diff --git a/xen/drivers/passthrough/arm/smmu.c b/xen/drivers/passthrough/arm/smmu.c
index 9a667e9..b62c8cf 100644
--- a/xen/drivers/passthrough/arm/smmu.c
+++ b/xen/drivers/passthrough/arm/smmu.c
@@ -2709,7 +2709,8 @@ static int arm_smmu_reassign_dev(struct domain *s, struct domain *t,
                return ret;

        if (t) {
-               ret = arm_smmu_assign_dev(t, devfn, dev);
+               /* The flag field doesn't matter to DT device. */
+               ret = arm_smmu_assign_dev(t, devfn, dev, 0);
                if (ret)
                        return ret;
        }


Thanks
Tiejun


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to