summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorXie XiuQi <xiexiuqi@huawei.com>2017-11-02 12:12:42 +0000
committerWill Deacon <will.deacon@arm.com>2017-11-02 15:55:41 +0000
commita92d4d1454ab8b43b80b89fa31fcedb8821f8164 (patch)
tree7fe68be769470cdc292b16ae345f7c135eb14424 /tools
parentb282e1ce29bb677224ba8fb38e94f5e94e2656d5 (diff)
arm64: entry.S: move SError handling into a C function for future expansion
Today SError is taken using the inv_entry macro that ends up in bad_mode. SError can be used by the RAS Extensions to notify either the OS or firmware of CPU problems, some of which may have been corrected. To allow this handling to be added, add a do_serror() C function that just panic()s. Add the entry.S boiler plate to save/restore the CPU registers and unmask debug exceptions. Future patches may change do_serror() to return if the SError Interrupt was notification of a corrected error. Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by: Wang Xiongfeng <wangxiongfengi2@huawei.com> [Split out of a bigger patch, added compat path, renamed, enabled debug exceptions] Signed-off-by: James Morse <james.morse@arm.com> Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions