summaryrefslogtreecommitdiffstats
path: root/arch/arc/kernel/entry-compact.S
diff options
context:
space:
mode:
authorVineet Gupta2015-10-09 07:56:12 +0200
committerVineet Gupta2015-10-28 11:38:17 +0100
commit3971cdc202f638f252e39316d42492ace04cc1b1 (patch)
tree74838b53918c8705eda28460a24591ae77cbbf45 /arch/arc/kernel/entry-compact.S
parentARC: smp: Move default boot kick/wait code out of MCIP into common code (diff)
downloadkernel-qcow2-linux-3971cdc202f638f252e39316d42492ace04cc1b1.tar.gz
kernel-qcow2-linux-3971cdc202f638f252e39316d42492ace04cc1b1.tar.xz
kernel-qcow2-linux-3971cdc202f638f252e39316d42492ace04cc1b1.zip
ARC: boot: Support Halt-on-reset and Run-on-reset SMP booting modes
For Run-on-reset, non masters need to spin wait. For Halt-on-reset they can jump to entry point directly. Also while at it, made reset vector handler as "the" entry point for kernel including host debugger based boot (which uses the ELF header entry point) Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/entry-compact.S')
-rw-r--r--arch/arc/kernel/entry-compact.S10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/arc/kernel/entry-compact.S b/arch/arc/kernel/entry-compact.S
index 5221f194602b..59f52035b4ea 100644
--- a/arch/arc/kernel/entry-compact.S
+++ b/arch/arc/kernel/entry-compact.S
@@ -86,7 +86,7 @@
*/
; ********* Critical System Events **********************
-VECTOR res_service ; 0x0, Restart Vector (0x0)
+VECTOR res_service ; 0x0, Reset Vector (0x0)
VECTOR mem_service ; 0x8, Mem exception (0x1)
VECTOR instr_service ; 0x10, Instrn Error (0x2)
@@ -155,13 +155,9 @@ int2_saved_reg:
; ---------------------------------------------
.section .text, "ax",@progbits
-res_service: ; processor restart
- flag 0x1 ; not implemented
- nop
- nop
-reserved: ; processor restart
- rtie ; jump to processor initializations
+reserved:
+ flag 1 ; Unexpected event, halt
;##################### Interrupt Handling ##############################