]> 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)
commit8f9742bbdb867a6a6528bce1b5390c99f45ffb85
tree500c930c40e836417a5e1d62cf00c730664bf104
parentee48322fb76c36729bb5c9f2aa37ed3e069c704c
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