Re: [PATCH] coresight: etm_perf: Rework alloc/free methods to avoid lockep warning

2018-07-18 Thread Mathieu Poirier
On Wed, 18 Jul 2018 at 15:31, Suzuki K Poulose wrote: > > Hi Mathieu, > > On 07/18/2018 08:43 PM, Mathieu Poirier wrote: > > When enabling the lockdep mechanic and working with CPU-wide scenarios we > > get the following console output: > > > > > This is fixed by working with the cpu_present_mask,

Re: [PATCH] coresight: etm_perf: Rework alloc/free methods to avoid lockep warning

2018-07-18 Thread Suzuki K Poulose
Hi Mathieu, On 07/18/2018 08:43 PM, Mathieu Poirier wrote: When enabling the lockdep mechanic and working with CPU-wide scenarios we get the following console output: This is fixed by working with the cpu_present_mask, avoinding at the same the need to use get/put_online_cpus() that triggers

[PATCH] coresight: etm_perf: Rework alloc/free methods to avoid lockep warning

2018-07-18 Thread Mathieu Poirier
When enabling the lockdep mechanic and working with CPU-wide scenarios we get the following console output: [ 54.632093] == [ 54.638207] WARNING: possible circular locking dependency detected [ 54.644322] 4.18.0-rc3-00042-g2d39e6356bb7-dirt