Re: [PATCH v2 11/29] iommu/mediatek: Always pm_runtime_get while tlb flush

2021-10-06 Thread Yong Wu
On Thu, 2021-09-30 at 13:26 +0200, Dafna Hirschfeld wrote: > > On 13.08.21 08:53, Yong Wu wrote: > > Prepare for 2 HWs that sharing pgtable in different power-domains. > > > > The previous SoC don't have PM. Only mt8192 has power-domain, > > and it is display's power-domain which nearly always

Re: [PATCH v2 11/29] iommu/mediatek: Always pm_runtime_get while tlb flush

2021-09-30 Thread Dafna Hirschfeld
On 13.08.21 08:53, Yong Wu wrote: Prepare for 2 HWs that sharing pgtable in different power-domains. The previous SoC don't have PM. Only mt8192 has power-domain, and it is display's power-domain which nearly always is enabled. hi, I see that in mt1873.dtsi, many devices that uses the

Re: [PATCH v2 11/29] iommu/mediatek: Always pm_runtime_get while tlb flush

2021-09-01 Thread 吴勇
On Tue, 2021-08-24 at 15:10 +0800, Hsin-Yi Wang wrote: > On Fri, Aug 13, 2021 at 2:57 PM Yong Wu wrote: > > > > Prepare for 2 HWs that sharing pgtable in different power-domains. > > > > The previous SoC don't have PM. Only mt8192 has power-domain, > > and it is display's power-domain which

Re: [PATCH v2 11/29] iommu/mediatek: Always pm_runtime_get while tlb flush

2021-08-24 Thread Hsin-Yi Wang
On Fri, Aug 13, 2021 at 2:57 PM Yong Wu wrote: > > Prepare for 2 HWs that sharing pgtable in different power-domains. > > The previous SoC don't have PM. Only mt8192 has power-domain, > and it is display's power-domain which nearly always is enabled. > > When there are 2 M4U HWs, it may has

[PATCH v2 11/29] iommu/mediatek: Always pm_runtime_get while tlb flush

2021-08-13 Thread Yong Wu
Prepare for 2 HWs that sharing pgtable in different power-domains. The previous SoC don't have PM. Only mt8192 has power-domain, and it is display's power-domain which nearly always is enabled. When there are 2 M4U HWs, it may has problem. In this function, we get the pm_status via the m4u dev,