arm64: Allow exceptions to return
authorAlexander Graf <agraf@suse.de>
Fri, 4 Mar 2016 00:10:05 +0000 (01:10 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 01:30:10 +0000 (21:30 -0400)
commit4c2cc7c4e92094efa562a872cef515fdf6d6f915
treeec6d44585ab9f2c482a46c2e007ca9ce64171116
parent5d00995c361c5a01b0684927d2686fdb540ab467
arm64: Allow exceptions to return

Our current arm64 exception handlers all panic and never return to the
exception triggering code.

But if any handler wanted to continue execution after fixups, it would
need help from the exception handling code to restore all registers.

This patch implements that help. With this code, exception handlers on
aarch64 can successfully return to the place the exception happened (or
somewhere else if they modify elr).

Signed-off-by: Alexander Graf <agraf@suse.de>
arch/arm/cpu/armv8/exceptions.S