Re: [PATCH 1/3] memory: mediatek: Add a new interface mtk_smi_larb_is_ready

2016-07-25 Thread Tomasz Figa
Hi, On Mon, Jul 25, 2016 at 5:39 PM, Matthias Brugger wrote: > > > On 20/07/16 05:01, Yong Wu wrote: >> >> Currently the iommu consumer always call iommu_present to get whether >> the iommu is ready. But in MTK IOMMU, this function can't indicate >> this. The IOMMU call

Re: [PATCH 1/3] memory: mediatek: Add a new interface mtk_smi_larb_is_ready

2016-07-25 Thread Tomasz Figa
Hi, On Mon, Jul 25, 2016 at 5:39 PM, Matthias Brugger wrote: > > > On 20/07/16 05:01, Yong Wu wrote: >> >> Currently the iommu consumer always call iommu_present to get whether >> the iommu is ready. But in MTK IOMMU, this function can't indicate >> this. The IOMMU call

Re: [PATCH 1/3] memory: mediatek: Add a new interface mtk_smi_larb_is_ready

2016-07-25 Thread Yong Wu
On Mon, 2016-07-25 at 10:39 +0200, Matthias Brugger wrote: > > On 20/07/16 05:01, Yong Wu wrote: > > Currently the iommu consumer always call iommu_present to get whether > > the iommu is ready. But in MTK IOMMU, this function can't indicate > > this. The IOMMU call

Re: [PATCH 1/3] memory: mediatek: Add a new interface mtk_smi_larb_is_ready

2016-07-25 Thread Yong Wu
On Mon, 2016-07-25 at 10:39 +0200, Matthias Brugger wrote: > > On 20/07/16 05:01, Yong Wu wrote: > > Currently the iommu consumer always call iommu_present to get whether > > the iommu is ready. But in MTK IOMMU, this function can't indicate > > this. The IOMMU call

Re: [PATCH 1/3] memory: mediatek: Add a new interface mtk_smi_larb_is_ready

2016-07-25 Thread Matthias Brugger
On 20/07/16 05:01, Yong Wu wrote: Currently the iommu consumer always call iommu_present to get whether the iommu is ready. But in MTK IOMMU, this function can't indicate this. The IOMMU call bus_set_iommu->mtk_iommu_add_device-> mtk_iommu_attach_device to parse the iommu data, then it's able

Re: [PATCH 1/3] memory: mediatek: Add a new interface mtk_smi_larb_is_ready

2016-07-25 Thread Matthias Brugger
On 20/07/16 05:01, Yong Wu wrote: Currently the iommu consumer always call iommu_present to get whether the iommu is ready. But in MTK IOMMU, this function can't indicate this. The IOMMU call bus_set_iommu->mtk_iommu_add_device-> mtk_iommu_attach_device to parse the iommu data, then it's able

[PATCH 1/3] memory: mediatek: Add a new interface mtk_smi_larb_is_ready

2016-07-19 Thread Yong Wu
Currently the iommu consumer always call iommu_present to get whether the iommu is ready. But in MTK IOMMU, this function can't indicate this. The IOMMU call bus_set_iommu->mtk_iommu_add_device-> mtk_iommu_attach_device to parse the iommu data, then it's able to transfer "struct mtk_smi_iommu" to

[PATCH 1/3] memory: mediatek: Add a new interface mtk_smi_larb_is_ready

2016-07-19 Thread Yong Wu
Currently the iommu consumer always call iommu_present to get whether the iommu is ready. But in MTK IOMMU, this function can't indicate this. The IOMMU call bus_set_iommu->mtk_iommu_add_device-> mtk_iommu_attach_device to parse the iommu data, then it's able to transfer "struct mtk_smi_iommu" to