]> git.dujemihanovic.xyz Git - u-boot.git/commit
armv8: layerscape: Enable routing SError exception
authorYork Sun <york.sun@nxp.com>
Mon, 5 Nov 2018 18:01:23 +0000 (18:01 +0000)
committerYork Sun <york.sun@nxp.com>
Thu, 6 Dec 2018 22:37:19 +0000 (14:37 -0800)
commitbb50569dc4c3ac71af075d5e994d0a37579efc51
treeab3f6f67e06a08a7d06725c7f29b8987e26936ba
parent088d52cfa8ec515316e20a6168dc2dd163c799b9
armv8: layerscape: Enable routing SError exception

In case SError happens at EL2, if SCR_EL3[EA] is not routing it to
EL3, and SCR_EL3[RW] is set to aarch64, setting HCR_EL2[AMO] routes
the exception to EL2. Otherwise this exception is not taken.

Signed-off-by: York Sun <york.sun@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S