Loading Documentation/devicetree/bindings/qdsp/msm-fastrpc.txt +2 −0 Original line number Diff line number Diff line Loading @@ -74,9 +74,11 @@ Remote Heap: Required properties: - compatible : Must be "qcom,msm-adsprpc-mem-region" - memory-region : CMA region which is owned by this device - restrict-access : Blocking vote for hyp_assign_phys function call Example: qcom,adsprpc-mem { compatible = "qcom,msm-adsprpc-mem-region"; memory-region = <&adsp_mem>; restrict-access; }; drivers/char/adsprpc.c +2 −1 Original line number Diff line number Diff line Loading @@ -3399,7 +3399,8 @@ static int fastrpc_probe(struct platform_device *pdev) break; } } if (range.addr) { if (range.addr && !of_property_read_bool(dev->of_node, "restrict-access")) { int srcVM[1] = {VMID_HLOS}; int destVM[4] = {VMID_HLOS, VMID_MSS_MSA, VMID_SSC_Q6, VMID_ADSP_Q6}; Loading Loading
Documentation/devicetree/bindings/qdsp/msm-fastrpc.txt +2 −0 Original line number Diff line number Diff line Loading @@ -74,9 +74,11 @@ Remote Heap: Required properties: - compatible : Must be "qcom,msm-adsprpc-mem-region" - memory-region : CMA region which is owned by this device - restrict-access : Blocking vote for hyp_assign_phys function call Example: qcom,adsprpc-mem { compatible = "qcom,msm-adsprpc-mem-region"; memory-region = <&adsp_mem>; restrict-access; };
drivers/char/adsprpc.c +2 −1 Original line number Diff line number Diff line Loading @@ -3399,7 +3399,8 @@ static int fastrpc_probe(struct platform_device *pdev) break; } } if (range.addr) { if (range.addr && !of_property_read_bool(dev->of_node, "restrict-access")) { int srcVM[1] = {VMID_HLOS}; int destVM[4] = {VMID_HLOS, VMID_MSS_MSA, VMID_SSC_Q6, VMID_ADSP_Q6}; Loading