u-boot/arch/microblaze
Ovidiu Panait ee8161f7d1 microblaze: exception: fix return address for delay slot exceptions
According to the MicroBlaze reference manual (xilinx2021.2/ug984/page-37):
"""
If an exception is caused by an instruction in a delay slot (that is,
ESR[DS]=1), the exception handler should return execution to
the address stored in BTR instead of the normal exception return
address stored in R17.
"""

Adjust the code to print the proper return address for delay slot
exceptions.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Link: https://lore.kernel.org/r/20220213080925.1548411-4-ovidiu.panait@windriver.com
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2022-02-15 13:11:43 +01:00
..
cpu microblaze: exception: fix return address for delay slot exceptions 2022-02-15 13:11:43 +01:00
dts .gitignore: move *.dtb and *.dtb.S patterns to the top-level .gitignore 2018-06-18 14:43:12 -04:00
include/asm Pull request doc-2022-04-rc1 2022-01-20 09:39:45 -05:00
lib image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
config.mk microblaze: Enable GCC garbage collector for full U-Boot 2020-11-20 10:42:53 +01:00
Kconfig microblaze: Kconfig: SPL dependencies fixup 2022-01-05 10:22:03 +01:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00