There is a need to disable VM before jump to zero reset vector.
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Stefan Asserhall <[email protected]>
---
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
On 12. 02. 20 9:43, Michal Simek wrote:
> There is a need to disable VM before jump to zero reset vector.
>
> Signed-off-by: Michal Simek <[email protected]>
> Reviewed-by: Stefan Asserhall <[email protected]>
> ---
>
> 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
>
Applied.
M
--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs