Skip to contentSkip to conversation

xen/arm: do not call __cpu_disable on machine_halt

PATCH In review Stefano Stabellini 2 participants 2 messages Apr 29, 2013 – Apr 30, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen/arm: do not call __cpu_disable on machine_halt

__cpu_disable shouldn't be called on machine_halt, in fact it cannot
succeed: cpu_disable_scheduler won't be able to migrate away vcpus to others pcpus.

---
 xen/arch/arm/shutdown.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
xen/arch/arm/shutdown.c +0 -1
index c1b60af..61b5280 100644
@@ -25,7 +25,6 @@ static void raw_machine_reset(void)
 
 static void halt_this_cpu(void *arg)
 {
-    __cpu_disable();
     stop_cpu();
 }
 
Signature · 1 line
1.7.2.5
#1 lore raw
Quoted 5 lines · Stefano Stabellini

__cpu_disable shouldn't be called on machine_halt, in fact it cannot
succeed: cpu_disable_scheduler won't be able to migrate away vcpus to others pcpus.

Acked + applied.