Re: [PATCHv2 3/4] coresight: replicator: Reset replicator if context is lost

2020-05-22 Thread Sai Prakash Ranjan
Hi Mathieu, On 2020-05-22 23:10, Mathieu Poirier wrote: Hi Sai, On Tue, May 19, 2020 at 07:06:02PM +0530, Sai Prakash Ranjan wrote: On some QCOM SoCs, replicators in Always-On domain loses its context as soon as the clock is disabled. Currently as a part of pm_runtime workqueue, clock is

Re: [PATCHv2 3/4] coresight: replicator: Reset replicator if context is lost

2020-05-22 Thread Mathieu Poirier
Hi Sai, On Tue, May 19, 2020 at 07:06:02PM +0530, Sai Prakash Ranjan wrote: > On some QCOM SoCs, replicators in Always-On domain loses its > context as soon as the clock is disabled. Currently as a part > of pm_runtime workqueue, clock is disabled after the replicator > is initialized by

Re: [PATCHv2 3/4] coresight: replicator: Reset replicator if context is lost

2020-05-21 Thread Sai Prakash Ranjan
Hi Mike, On 2020-05-21 21:38, Mike Leach wrote: Hi Sai, On Tue, 19 May 2020 at 14:36, Sai Prakash Ranjan wrote: On some QCOM SoCs, replicators in Always-On domain loses its context as soon as the clock is disabled. Currently as a part of pm_runtime workqueue, clock is disabled after the

Re: [PATCHv2 3/4] coresight: replicator: Reset replicator if context is lost

2020-05-21 Thread Mike Leach
Hi Sai, On Tue, 19 May 2020 at 14:36, Sai Prakash Ranjan wrote: > > On some QCOM SoCs, replicators in Always-On domain loses its > context as soon as the clock is disabled. Currently as a part > of pm_runtime workqueue, clock is disabled after the replicator > is initialized by

[PATCHv2 3/4] coresight: replicator: Reset replicator if context is lost

2020-05-19 Thread Sai Prakash Ranjan
On some QCOM SoCs, replicators in Always-On domain loses its context as soon as the clock is disabled. Currently as a part of pm_runtime workqueue, clock is disabled after the replicator is initialized by amba_pm_runtime_suspend assuming that context is not lost which is not true for replicators