Re: [PATCH v2] doc: coresight: correct usage for disabling idle states

2017-09-19 Thread Leo Yan
On Tue, Sep 19, 2017 at 03:32:54PM -0600, Mathieu Poirier wrote: > On 15 September 2017 at 04:16, Leo Yan wrote: > > In the coresight CPU debug document it suggests to use 'echo' command > > to set latency request to /dev/cpu_dma_latency so can disable all CPU > > idle states,

Re: [PATCH v2] doc: coresight: correct usage for disabling idle states

2017-09-19 Thread Mathieu Poirier
On 15 September 2017 at 04:16, Leo Yan wrote: > In the coresight CPU debug document it suggests to use 'echo' command > to set latency request to /dev/cpu_dma_latency so can disable all CPU > idle states, but in fact this doesn't work. > > This is because when the command

[PATCH v2] doc: coresight: correct usage for disabling idle states

2017-09-15 Thread Leo Yan
In the coresight CPU debug document it suggests to use 'echo' command to set latency request to /dev/cpu_dma_latency so can disable all CPU idle states, but in fact this doesn't work. This is because when the command 'echo' exits, it releases the device node's file descriptor and the kernel