xen: arm: enable aborts on all physical processors.
PATCH 1/1 xen: arm: enable aborts on all physical processors.
I'm not sure how this ended up in construct dom0 where it only affects the boot cpu and doesn't logically fit.
Enable aborts at the same time as we enable interrupts.
I'm not sure what the behaviour of an "abort worthy" operation while aborts are disable is, but it must surely be worse than calling do_unexpected_trap, which is what happens from now on.
--- xen/arch/arm/domain_build.c | 2 -- xen/arch/arm/setup.c | 1 + xen/arch/arm/smpboot.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-)
xen/arch/arm/domain_build.c +0 -2
@@ -455,8 +455,6 @@ int construct_dom0(struct domain *d) }#endif -local_abort_enable (); -return 0 ; }
xen/arch/arm/setup.c +1 -0
@@ -473,6 +473,7 @@ void __init start_xen(unsigned long boot_phys_offset,arch_init_memory ();local_irq_enable (); +local_abort_enable ();smp_prepare_cpus (cpus);
xen/arch/arm/smpboot.c +1 -0
@@ -177,6 +177,7 @@ void __cpuinit start_secondary(unsigned long boot_phys_offset,wmb ();local_irq_enable (); +local_abort_enable ();printk (XENLOG_DEBUG "CPU %u booted.\n" ,smp_processor_id ());
Signature · 1 line
1.7.2.5
(Very Belated) Ping?
Quoted 53 lines · Ian Campbell
I'm not sure how this ended up in construct dom0 where it only affects the boot cpu and doesn't logically fit.
Enable aborts at the same time as we enable interrupts.
I'm not sure what the behaviour of an "abort worthy" operation while aborts are disable is, but it must surely be worse than calling
do_unexpected_trap, which is what happens from now on.Signed-off-by Ian Campbell <[email protected]>--- xen/arch/arm/domain_build.c | 2 -- xen/arch/arm/setup.c | 1 + xen/arch/arm/smpboot.c | 1 + 3 files changed, 2 insertions(+), 2 deletions(-)xen/arch/arm/domain_build.c +0
-2@@ -455,8 +455,6 @@ int construct_dom0(struct domain *d) }#endif -local_abort_enable (); -return 0 ; }xen/arch/arm/setup.c +1
-0@@ -473,6 +473,7 @@ void __init start_xen(unsigned long boot_phys_offset,arch_init_memory ();local_irq_enable (); +local_abort_enable ();smp_prepare_cpus (cpus);xen/arch/arm/smpboot.c +1
-0@@ -177,6 +177,7 @@ void __cpuinit start_secondary(unsigned long boot_phys_offset,wmb ();local_irq_enable (); +local_abort_enable ();printk (XENLOG_DEBUG "CPU %u booted.\n" ,smp_processor_id ());
Tim Deegan
Acked-byQuoted 13 lines · Ian Campbell
(Very Belated) Ping?
Quoted 10 lines · Ian Campbell
I'm not sure how this ended up in construct dom0 where it only affects the boot cpu and doesn't logically fit.
Enable aborts at the same time as we enable interrupts.
I'm not sure what the behaviour of an "abort worthy" operation while aborts are disable is, but it must surely be worse than calling
do_unexpected_trap, which is what happens from now on.Signed-off-by Ian Campbell <[email protected]>
Ian Campbell
AppliedQuoted 9 lines · Tim Deegan
Quoted 8 lines · Ian Campbell
(Very Belated) Ping?
Quoted 5 lines · Ian Campbell
I'm not sure how this ended up in construct dom0 where it only affects the boot cpu and doesn't logically fit.
Enable aborts at the same time as we enable interrupts.
Quoted 7 lines
Quoted 5 lines
Quoted 5 lines
I'm not sure what the behaviour of an "abort worthy" operation while aborts are disable is, but it must surely be worse than calling
do_unexpected_trap, which is what happens from now on.Signed-off-by Ian Campbell <[email protected]>Acked-by Tim Deegan <[email protected]>
Thanks, applied.