Re: [PATCH 11/17] coresight etr: Handle driver mode specific ETR buffers

2017-11-03 Thread Mathieu Poirier
On 3 November 2017 at 04:08, Suzuki K Poulose wrote: > On 02/11/17 20:26, Mathieu Poirier wrote: >> >> On Thu, Oct 19, 2017 at 06:15:47PM +0100, Suzuki K Poulose wrote: >>> >>> Since the ETR could be driven either by SYSFS or by perf, it >>> becomes complicated how we deal

Re: [PATCH 11/17] coresight etr: Handle driver mode specific ETR buffers

2017-11-03 Thread Mathieu Poirier
On 3 November 2017 at 04:08, Suzuki K Poulose wrote: > On 02/11/17 20:26, Mathieu Poirier wrote: >> >> On Thu, Oct 19, 2017 at 06:15:47PM +0100, Suzuki K Poulose wrote: >>> >>> Since the ETR could be driven either by SYSFS or by perf, it >>> becomes complicated how we deal with the buffers used

Re: [PATCH 11/17] coresight etr: Handle driver mode specific ETR buffers

2017-11-03 Thread Suzuki K Poulose
On 02/11/17 20:26, Mathieu Poirier wrote: On Thu, Oct 19, 2017 at 06:15:47PM +0100, Suzuki K Poulose wrote: Since the ETR could be driven either by SYSFS or by perf, it becomes complicated how we deal with the buffers used for each of these modes. The ETR driver cannot simply free the current

Re: [PATCH 11/17] coresight etr: Handle driver mode specific ETR buffers

2017-11-03 Thread Suzuki K Poulose
On 02/11/17 20:26, Mathieu Poirier wrote: On Thu, Oct 19, 2017 at 06:15:47PM +0100, Suzuki K Poulose wrote: Since the ETR could be driven either by SYSFS or by perf, it becomes complicated how we deal with the buffers used for each of these modes. The ETR driver cannot simply free the current

Re: [PATCH 11/17] coresight etr: Handle driver mode specific ETR buffers

2017-11-02 Thread Mathieu Poirier
On Thu, Oct 19, 2017 at 06:15:47PM +0100, Suzuki K Poulose wrote: > Since the ETR could be driven either by SYSFS or by perf, it > becomes complicated how we deal with the buffers used for each > of these modes. The ETR driver cannot simply free the current > attached buffer without knowing the

Re: [PATCH 11/17] coresight etr: Handle driver mode specific ETR buffers

2017-11-02 Thread Mathieu Poirier
On Thu, Oct 19, 2017 at 06:15:47PM +0100, Suzuki K Poulose wrote: > Since the ETR could be driven either by SYSFS or by perf, it > becomes complicated how we deal with the buffers used for each > of these modes. The ETR driver cannot simply free the current > attached buffer without knowing the

[PATCH 11/17] coresight etr: Handle driver mode specific ETR buffers

2017-10-19 Thread Suzuki K Poulose
Since the ETR could be driven either by SYSFS or by perf, it becomes complicated how we deal with the buffers used for each of these modes. The ETR driver cannot simply free the current attached buffer without knowing the provider (i.e, sysfs vs perf). To solve this issue, we provide: 1) the

[PATCH 11/17] coresight etr: Handle driver mode specific ETR buffers

2017-10-19 Thread Suzuki K Poulose
Since the ETR could be driven either by SYSFS or by perf, it becomes complicated how we deal with the buffers used for each of these modes. The ETR driver cannot simply free the current attached buffer without knowing the provider (i.e, sysfs vs perf). To solve this issue, we provide: 1) the