]> Pileus Git - ~andy/linux/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)
commite1a9c16b303725ac900fee2a3ec4dbe2c2f846ab
tree500c930c40e836417a5e1d62cf00c730664bf104
parentd7f8f48d1eb3186b1b80b2ed9a7adab191f753e9
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