Appana Durga Kedareswara rao 88707ebe77 microblaze: Add custom break vector handler for mb manager
When the TMR Manager detects a fault Lockstep state it is signaled to the
MicroBlaze processors by asserting a break signal, When Microblaze gets
a break vector from tmr Microblaze it's needed to clear/block the break
bit in the tmr manager before performing recovery.
In order to perform recovery need to perform the following steps.
1) Store all internal MicroBlaze registers in RAM
2) Execute a suspend instruction which asserts the reset signal
3) Restore all registers from RAM and execute an RTBD instruction to
return from the reset handler, to resume execution at the place
where the break occurred.

This API supports getting called from kernel space only.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Link: https://lore.kernel.org/r/20220627064024.771037-3-appana.durga.rao@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2022-09-26 14:13:28 +02:00
..
2021-12-13 12:04:45 -06:00
2020-11-26 16:39:35 +01:00
2022-05-02 08:36:10 +02:00
2020-11-26 16:39:35 +01:00
2020-02-25 12:33:19 +01:00
2020-11-26 16:39:35 +01:00
2022-03-28 17:29:53 -07:00
2022-04-22 18:30:44 +02:00
2020-11-26 16:39:35 +01:00