diff options
author | Xie XiuQi <[email protected]> | 2017-11-02 12:12:42 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2017-11-02 15:55:41 +0000 |
commit | a92d4d1454ab8b43b80b89fa31fcedb8821f8164 (patch) | |
tree | 7fe68be769470cdc292b16ae345f7c135eb14424 /tools/perf/scripts/python | |
parent | b282e1ce29bb677224ba8fb38e94f5e94e2656d5 (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 <[email protected]>
Signed-off-by: Wang Xiongfeng <[email protected]>
[Split out of a bigger patch, added compat path, renamed, enabled debug
exceptions]
Signed-off-by: James Morse <[email protected]>
Reviewed-by: Catalin Marinas <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions