linux/arch/microblaze
Appana Durga Kedareswara rao adc4cefae9 microblaze: Add support for error injection
To inject the error using the tmr inject IP reset vectors need to be placed
in lmb(bram) due to the limitation in HW when this code runs out of DDR.
Below code adds the error inject code to the .init.ivt section to copy
it in machine_early_init to lmb/Bram location. C_BASE_VECTORS which allow
moving reset vectors out of 0 location is not currently supported by
Microblaze architecture, that's why all the time reset vectors with
injection code is all the time copied to address 0.

As of now getting this functionality working CPU switches to real mode
and simply jumps to bram, which causes triggering of fault which continues
to call_xmb_manager_break break handler which will at the end calls the
error count callback function and performs recovery.

Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Link: https://lore.kernel.org/r/20220627064024.771037-4-appana.durga.rao@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
2022-09-26 14:13:29 +02:00
..
boot kbuild: unify cmd_copy and cmd_shipped 2022-02-14 10:37:32 +09:00
configs microblaze: Remove noMMU code 2020-11-26 16:39:35 +01:00
include microblaze: Add support for error injection 2022-09-26 14:13:29 +02:00
kernel microblaze: Add support for error injection 2022-09-26 14:13:29 +02:00
lib microblaze: fix typos in comments 2022-05-02 08:36:10 +02:00
mm microblaze/mm: enable ARCH_HAS_VM_GET_PAGE_PROT 2022-07-17 17:14:38 -07:00
pci microblaze/PCI: Remove pci_phys_mem_access_prot() dead code 2022-01-24 13:11:34 +01:00
Kbuild kbuild: use more subdir- for visiting subdirectories while cleaning 2021-10-24 13:49:46 +09:00
Kconfig microblaze: Add xmb_manager_register function 2022-09-26 14:13:28 +02:00
Kconfig.debug tracing: Refactor TRACE_IRQFLAGS_SUPPORT in Kconfig 2021-08-16 11:37:21 -04:00
Kconfig.platform docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
Makefile microblaze: use built-in function to get CPU_{MAJOR,MINOR,REV} 2022-01-08 18:28:21 +09:00