Am 2022-01-09 18:30, schrieb Andre Przywara:
Hi,
I was looking into the arm64 boot code lately and stumbled upon some
issues. Also Nishanth brought back memories of a lengthy debug session,
which was caused due to U-Boot keeping SErrors masked. As the resulting
patches are all somewhat related, I gathered this series here to
address
those problems.
Patches 1 to 3 address exception handling issues, with the SError
enablement being the most prominent fix here.
Patch 4 cleans up asm/io.h. This was on the list before[1], but was
somehow lost when it was intercepted by a shorter version of itself.
Patches 5 and 6 clean up some unnecessarily complicated AArch64
assembly
code.
I did only some light testing, as some code paths do not apply to
boards
I have (ARMV8_MULTIENTRY).
Please have a look and test!
FWIW, tested on kontron sl28 board with and without TF-A. U-Boot is
either
running in EL3 or EL2.
Tested-by: Michael Walle <mich...@walle.cc>
-michael