Re: [PATCH] microblaze: Fix _reset() function

From: Michal Simek
Date: Tue Feb 25 2020 - 06:26:52 EST


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

Applied.
M

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: 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


Attachment: signature.asc
Description: OpenPGP digital signature