arm64: dts: rockchip: px30: enable vop iommu rockchip,disable-device-link-resume

if out of this property, iommu will be enable by pm runtime and use
wrong domain, this will lead to vop iommu pagefault.

init_loader_memory()  --> use drm private domain
  -> __pm_runtime_resume -> rk_iommu_enable  --> use iommu domain
    -> vop iommu pagefault

after this commit:
init_loader_memory()  --> use drm private domain
  -> rockchip_drm_dma_attach_device()  --> instead of drm private domain
    -> rockchip_drm_dma_attach_device() --> enable iommu

Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Change-Id: I797747e1f9eecac9feca8b844f66714b657a22f2
This commit is contained in:
Sandy Huang
2022-08-03 17:25:15 +08:00
committed by Tao Huang
parent 3a6edfd376
commit 0184800224

View File

@@ -1686,6 +1686,7 @@
clock-names = "aclk", "iface";
power-domains = <&power PX30_PD_VO>;
#iommu-cells = <0>;
rockchip,disable-device-link-resume;
status = "disabled";
};
@@ -1734,6 +1735,7 @@
clock-names = "aclk", "iface";
power-domains = <&power PX30_PD_VO>;
#iommu-cells = <0>;
rockchip,disable-device-link-resume;
status = "disabled";
};