Re: [PATCH 1/3] coresight: tmc: Cleanup operation mode handling

2016-10-26 Thread Mathieu Poirier
On 27 September 2016 at 07:44, Suzuki K Poulose wrote: > The mode of operation of the TMC tracked in drvdata->mode is defined > as a local_t type. This is always checked and modified under the > drvdata->spinlock and hence we don't need local_t for it and the > unnecessary

Re: [PATCH 1/3] coresight: tmc: Cleanup operation mode handling

2016-10-26 Thread Mathieu Poirier
On 27 September 2016 at 07:44, Suzuki K Poulose wrote: > The mode of operation of the TMC tracked in drvdata->mode is defined > as a local_t type. This is always checked and modified under the > drvdata->spinlock and hence we don't need local_t for it and the > unnecessary synchronisation

[PATCH 1/3] coresight: tmc: Cleanup operation mode handling

2016-09-27 Thread Suzuki K Poulose
The mode of operation of the TMC tracked in drvdata->mode is defined as a local_t type. This is always checked and modified under the drvdata->spinlock and hence we don't need local_t for it and the unnecessary synchronisation instructions that comes with it. This change makes the code a bit more

[PATCH 1/3] coresight: tmc: Cleanup operation mode handling

2016-09-27 Thread Suzuki K Poulose
The mode of operation of the TMC tracked in drvdata->mode is defined as a local_t type. This is always checked and modified under the drvdata->spinlock and hence we don't need local_t for it and the unnecessary synchronisation instructions that comes with it. This change makes the code a bit more