Re: [PATCH] sparc: Fix context switch on SMP

2015-11-12 Thread Sebastian Huber
This patch is broken since we clear the is executing indicator before we flush all windows. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embedded-brains.de PGP

[PATCH] sparc: Fix context switch on SMP

2015-11-12 Thread Sebastian Huber
We must not load registers (e.g. PSR) from the heir context area before the heir stopped execution. Bug reported by Daniel Cederman. --- c/src/lib/libbsp/sparc/shared/irq_asm.S | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/c/src/lib/libbsp/