iommu/arm-smmu-v3: Maintain a SID->device structure
hulk inclusion category: feature bugzilla: 14369 CVE: NA ------------------- When handling faults from the event or PRI queue, we need to find the struct device associated to a SID. Add a rb_tree to keep track of SIDs. Signed-off-by: NJean-Philippe Brucker <jean-philippe.brucker@arm.com> [Backported to 4.19 -mv function arm_smmu_find_master() definition to PATCH: iommu/arm-smmu-v3: Add stall support for platform devices] Signed-off-by: NFang Lijun <fanglijun3@huawei.com> Reviewed-by: NHanjun Guo <guohanjun@huawei.com> Reviewed-by: NZhen Lei <thunder.leizhen@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录