From: Ian Campbell Date: Tue, 30 Jul 2013 08:42:06 +0000 (+0100) Subject: xen: arm: do not pretend to be a Cortex-A15 when running 32-bit guests X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6575 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e7cf6219b48eaa38d91fb46513a951158e87c3aa;p=xen.git xen: arm: do not pretend to be a Cortex-A15 when running 32-bit guests 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 Acked-by: Julien Grall --- diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c index 69b4b1dc86..01492bb177 100644 --- a/xen/arch/arm/domain_build.c +++ b/xen/arch/arm/domain_build.c @@ -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.