Messages in this thread | | | Subject | Re: [PATCH 2/4] firmware: qcom: scm: add iommu scm calls for pg table | From | Stanimir Varbanov <> | Date | Thu, 25 Aug 2016 12:08:31 +0300 |
| |
Hi Puja,
On 08/24/2016 09:35 PM, Gupta, Puja wrote: > On 8/19/2016 8:53 AM, Stanimir Varbanov wrote: >> Those two scm calls are used to get the size of secure iommu >> page table and to pass physical memory address for this page >> table. The calls are used by remoteproc venus driver to load >> the firmware.
> Do we really need these additional scm calls for venus? why can't we > just reuse existing __qcom_scm_pas_mem_setup() call?
We are using __qcom_scm_pas_mem_setup() but it will return error if I did not provide page table memory. At least for apq8016 this step looks like is mandatory.
Do you have some idea how those iommu calls can be avoided?
-- regards, Stan
| |