aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2017-10-10 14:32:13 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-20 15:03:06 +0200
commit24f0d316fd14c8e61592f580e0075dd3433fde40 (patch)
treea3d5583d474fc8cdcfa1398d1974424568d85708 /drivers/char
parentcoresight: Extend the PIDR mask to cover relevant bits in PIDR2 (diff)
downloadlinux-dev-24f0d316fd14c8e61592f580e0075dd3433fde40.tar.xz
linux-dev-24f0d316fd14c8e61592f580e0075dd3433fde40.zip
doc: coresight: correct usage for disabling idle states
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 release function removes the QoS constraint; finally when the command 'echo' finished there have no constraint imposed on cpu_dma_latency. This patch changes to use 'exec' to access '/dev/cpu_dma_latency', the command 'exec' can avoid the file descriptor to be closed so we can keep the constraint on cpu_dma_latency. This patch also adds the info for reference docs for PM QoS and cpuidle sysfs. Cc: Jonathan Corbet <corbet@lwn.net> Cc: Sudeep Holla <sudeep.holla@arm.com> Reported-by: Kim Phillips <kim.phillips@arm.com> Suggested-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions