[PATCH] microblaze: Fix _reset() function

From: Michal Simek
Date: Wed Feb 12 2020 - 03:43:36 EST


There is a need to disable VM before jump to zero reset vector.

Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
Reviewed-by: Stefan Asserhall <stefan.asserhall@xxxxxxxxxx>
---

arch/microblaze/kernel/entry.S | 1 +
1 file changed, 1 insertion(+)

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
--
2.25.0