xen: arm: do not pretend to be a Cortex-A15 when running 32-bit guests
authorIan Campbell <ian.campbell@citrix.com>
Tue, 30 Jul 2013 08:42:06 +0000 (09:42 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 2 Aug 2013 14:49:27 +0000 (15:49 +0100)
It is definitely wrong to do this when running on non-Cortex-A15 32-bit
hardware but even when running on 64-bit hardware it's not really necessary
and may cause more harm than good if the underlying processor is not all that
similar to an A15.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
xen/arch/arm/domain_build.c

index 69b4b1dc86ee005c5e3bc1b3e51a452100b2d7ec..01492bb177eae9d7389f13168188d77ac51cc68d 100644 (file)
@@ -599,9 +599,6 @@ int construct_dom0(struct domain *d)
     {
         regs->cpsr = PSR_GUEST32_INIT;
 
-        /* Pretend to be a Cortex A15 */
-        d->arch.vpidr = 0x410fc0f0;
-
         /* FROM LINUX head.S
          *
          * Kernel startup entry point.