Hi,
     Sorry for the noise, when set/change STE, why it need to call 
arm_smmu_sync_ste_for_sid() two times using diferent dst[0], as shown below.



static void arm_smmu_write_strtab_ent(struct arm_smmu_device *smmu, u32 sid,
                                      u64 *guest_ste, u64 *dst, bool bypass,
                                      u32 vmid)
{
        .....................
        arm_smmu_sync_ste_for_sid(smmu, sid);
        dst[0] = val;
        dsb(ishst);
        arm_smmu_sync_ste_for_sid(smmu, sid);
}

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/2d772a63.185d.17bf1d1b525.Coremail.consingdj%40163.com.

Reply via email to