On 23/09/2022 15:05, Srinivasa Rao Mandadapu wrote:Okay. Will add iommus in dt-bindings.
Update pil driver with SMMU mapping for allowing authorised
memory access to ADSP firmware, by carveout reserved adsp memory
region from device tree file.
Thank you for your patch. There is something to discuss/improve.
+ if (!rproc->domain)I think your bindings do not allow iommus property.
+ return -EINVAL;
+
+ ret = of_parse_phandle_with_args(adsp->dev->of_node, "iommus", "#iommu-cells", 0, &args);
Best regards,
Krzysztof