powerpc/85xx: disable timebase synchronization under the hypervisor
authorTimur Tabi <timur@freescale.com>
Tue, 14 Jun 2011 13:04:33 +0000 (13:04 +0000)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 27 Jun 2011 13:36:19 +0000 (08:36 -0500)
commit14497d31e65cca73c9814a1ff373ae294aae616b
tree982eb296f2234f40c8ad8c027dbaf92a900af872
parent2d05c392b8403d4a1becc8babd4b44465a758b64
powerpc/85xx: disable timebase synchronization under the hypervisor

The Freescale hypervisor does not allow guests to write to the timebase
registers (virtualizing the timebase register was deemed too complicated),
so don't try to synchronize the timebase registers when we're running
under the hypervisor.

This typically happens when kexec support is enabled.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/p3041_ds.c
arch/powerpc/platforms/85xx/p4080_ds.c
arch/powerpc/platforms/85xx/p5020_ds.c