Re: [PATCHv3 3/4] coresight: etm4x: Add support to enable ETMv4.2

2019-01-22 Thread Sai Prakash Ranjan
On 1/22/2019 3:07 AM, Mathieu Poirier wrote: On Mon, 21 Jan 2019 at 11:48, Mathieu Poirier wrote: On Mon, Jan 21, 2019 at 04:18:36PM +0530, Vivek Gautam wrote: On 1/18/2019 5:52 PM, Sai Prakash Ranjan wrote: SDM845 has ETMv4.2 and can use the existing etm4x driver. But the current etm

Re: [PATCHv3 3/4] coresight: etm4x: Add support to enable ETMv4.2

2019-01-21 Thread Mathieu Poirier
On Mon, 21 Jan 2019 at 11:48, Mathieu Poirier wrote: > > On Mon, Jan 21, 2019 at 04:18:36PM +0530, Vivek Gautam wrote: > > > > On 1/18/2019 5:52 PM, Sai Prakash Ranjan wrote: > > > SDM845 has ETMv4.2 and can use the existing etm4x driver. > > > But the current etm driver checks only for ETMv4.0

Re: [PATCHv3 3/4] coresight: etm4x: Add support to enable ETMv4.2

2019-01-21 Thread Mathieu Poirier
On Mon, Jan 21, 2019 at 04:18:36PM +0530, Vivek Gautam wrote: > > On 1/18/2019 5:52 PM, Sai Prakash Ranjan wrote: > > SDM845 has ETMv4.2 and can use the existing etm4x driver. > > But the current etm driver checks only for ETMv4.0 and > > errors out for other etm4x versions. This patch adds this

Re: [PATCHv3 3/4] coresight: etm4x: Add support to enable ETMv4.2

2019-01-21 Thread Vivek Gautam
On 1/18/2019 5:52 PM, Sai Prakash Ranjan wrote: SDM845 has ETMv4.2 and can use the existing etm4x driver. But the current etm driver checks only for ETMv4.0 and errors out for other etm4x versions. This patch adds this missing support to enable SoC's with ETMv4x to use same driver by checking

[PATCHv3 3/4] coresight: etm4x: Add support to enable ETMv4.2

2019-01-18 Thread Sai Prakash Ranjan
SDM845 has ETMv4.2 and can use the existing etm4x driver. But the current etm driver checks only for ETMv4.0 and errors out for other etm4x versions. This patch adds this missing support to enable SoC's with ETMv4x to use same driver by checking only the ETM architecture major version number.