提交 3ed6dfbd 编写于 作者: V Vladimir Zapolskiy 提交者: Viresh Kumar

cpufreq: qcom-hw: Set CPU affinity of dcvsh interrupts

In runtime CPU cluster specific dcvsh interrupts may be handled on
unrelated CPU cores, it leads to an issue of too excessive number of
received and handled interrupts, but this is not observed, if CPU
affinity of the interrupt handler is set in accordance to CPU clusters.

The change reduces a number of received interrupts in about 10-100 times.
Signed-off-by: NVladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: NMatthias Kaehlcke <mka@chromium.org>
Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
上级 e0e27c3d
......@@ -392,6 +392,11 @@ static int qcom_cpufreq_hw_lmh_init(struct cpufreq_policy *policy, int index)
return 0;
}
ret = irq_set_affinity_hint(data->throttle_irq, policy->cpus);
if (ret)
dev_err(&pdev->dev, "Failed to set CPU affinity of %s[%d]\n",
data->irq_name, data->throttle_irq);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册