]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
microblaze: Fix _reset() function
authorMichal Simek <michal.simek@xilinx.com>
Wed, 12 Feb 2020 08:43:29 +0000 (09:43 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 25 Feb 2020 11:26:18 +0000 (12:26 +0100)
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>
arch/microblaze/kernel/entry.S

index f6ded356394afc718b761e250df029600c2f6107..b179f8f6d287e41d5105f69f6550d711d1c76067 100644 (file)
@@ -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