]> git.baikalelectronics.ru Git - kernel.git/commit
xen/arm: disable cpuidle and cpufreq when linux is running as dom0
authorJulien Grall <julien.grall@linaro.org>
Mon, 9 Sep 2013 11:35:26 +0000 (11:35 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 9 Sep 2013 11:35:26 +0000 (11:35 +0000)
commit3c5180def555124224f05a2cf6037c0fcafd692f
tree500c930c40e836417a5e1d62cf00c730664bf104
parentece9c4882405a90b7c2c6f296edb3461410ecc01
xen/arm: disable cpuidle and cpufreq when linux is running as dom0

When linux is running as dom0, Xen doesn't show the physical cpu but a
virtual CPU.
On some ARM SOC (for instance the exynos 5250), linux registers callbacks
for cpuidle and cpufreq. When these callbacks are called, they will modify
directly the physical cpu not the virtual one. It can impact the whole board
instead of only dom0.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/arm/xen/enlighten.c