* [PATCH] microblaze: Fix _reset() function
@ 2020-02-12 8:43 Michal Simek
2020-02-25 11:26 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2020-02-12 8:43 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Stefan Asserhall, Sebastian Andrzej Siewior, Thomas Gleixner,
Valentin Schneider
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 | 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] microblaze: Fix _reset() function
2020-02-12 8:43 [PATCH] microblaze: Fix _reset() function Michal Simek
@ 2020-02-25 11:26 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2020-02-25 11:26 UTC (permalink / raw)
To: Michal Simek, linux-kernel, git
Cc: Stefan Asserhall, Sebastian Andrzej Siewior, Thomas Gleixner,
Valentin Schneider
[-- Attachment #1.1: Type: text/plain, Size: 1018 bytes --]
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@xilinx.com>
> Reviewed-by: Stefan Asserhall <stefan.asserhall@xilinx.com>
> ---
>
> 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-25 11:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-12 8:43 [PATCH] microblaze: Fix _reset() function Michal Simek
2020-02-25 11:26 ` Michal Simek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®