summary refs log tree commit diff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2020-02-12 09:43:29 +0100
committerMichal Simek <michal.simek@xilinx.com>2020-02-25 12:26:18 +0100
commit5119c418f950016eebe7a303e5903a239acaac09 (patch)
tree362d5d74898de2ba26e012cf227de4a4ce0f781b /arch/microblaze
parentdcf639fe6f801f6418357ec20376b2218f666f44 (diff)
downloadlinux-5119c418f950016eebe7a303e5903a239acaac09.tar.gz
microblaze: Fix _reset() function
There is a need to disable VM before jump to zero reset vector.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Stefan Asserhall <stefan.asserhall@xilinx.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/entry.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/entry.S b/arch/microblaze/kernel/entry.S
index f6ded356394a..b179f8f6d287 100644
--- a/arch/microblaze/kernel/entry.S
+++ b/arch/microblaze/kernel/entry.S
@@ -958,6 +958,7 @@ ENTRY(_switch_to)
 	nop
 
 ENTRY(_reset)
+	VM_OFF
 	brai	0; /* Jump to reset vector */
 
 	/* These are compiled and loaded into high memory, then