Commit dbfdc90a authored by Jean-Philippe Brucker's avatar Jean-Philippe Brucker Committed by Xie XiuQi
Browse files

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: default avatarJean-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: default avatarFang Lijun <fanglijun3@huawei.com>
Reviewed-by: default avatarHanjun Guo <guohanjun@huawei.com>
Reviewed-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent c73e69a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment