Re: [PATCH v2 07/27] coresight: tmc: Hide trace buffer handling for file read

2018-05-03 Thread Mathieu Poirier
On Tue, May 01, 2018 at 10:10:37AM +0100, Suzuki K Poulose wrote: > At the moment we adjust the buffer pointers for reading the trace > data via misc device in the common code for ETF/ETB and ETR. Since > we are going to change how we manage the buffer for ETR, let us > move the buffer manipulation

[PATCH v2 07/27] coresight: tmc: Hide trace buffer handling for file read

2018-05-01 Thread Suzuki K Poulose
At the moment we adjust the buffer pointers for reading the trace data via misc device in the common code for ETF/ETB and ETR. Since we are going to change how we manage the buffer for ETR, let us move the buffer manipulation to the respective driver files, hiding it from the common code. We do so