Loading
iommu/arm-smmu-v3: Implement arm_smmu_get_msi_mapping_domain
virt inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IB4WDJ CVE: NA -------------------------------- In a 1-stage translation setup, a device is attached to a paging domain. In a 2-stage translation setup, a device is attached to a nested domain, which does not have the mappings for the MSI page but only an s2_parent paging domain pointer that holds the mappings. Add arm_smmu_get_msi_mapping_domain in arm_smmu_nested_ops to return the correct paging domain. Signed-off-by:Nicolin Chen <nicolinc@nvidia.com> Signed-off-by:
Kunkun Jiang <jiangkunkun@huawei.com>