Re: [PATCH v7 5/6] cpufreq: powernv: Replace pr_info with trace print for throttle event

From
Viresh Kumar <viresh.kumar@linaro.org>
Date
2016-01-28 08:29:35
Also in
linux-pm, lkml
Reply to
Shilpasri G Bhat, 2016-01-28
On 28-01-16, 12:55, Shilpasri G Bhat wrote:
Currently we use printk message to notify the throttle event. But this
can flood the console if the cpu is throttled frequently. So replace the
printk with the tracepoint to notify the throttle event. And also events
like throttle below nominal frequency and OCC_RESET are reduced to
pr_warn/pr_warn_once as pointed by MFG to not mark them as critical
messages. This patch adds 'throttle_reason' to struct chip to store the
throttle reason.

Signed-off-by: Shilpasri G Bhat <redacted>
---
Changes from v6:
- Rename struct chip member 'throt_reason' to 'throttle_reason'
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

-- 
viresh
Thread (21 messages) 21 messages, 4 authors, last reply 2016-01-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help