diff options
author | Will Deacon <will.deacon@arm.com> | 2019-02-26 12:52:47 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-09 11:21:13 +0100 |
commit | 26a04d84bc5311d7785b229b353f327e866ab61a (patch) | |
tree | 44725268289823df76ada1f5cdc0959284cbccc8 /certs | |
parent | cb764a69fa41179fb222b53b1a33a9d7373f9249 (diff) |
arm64: debug: Separate debug hooks based on target exception level
Mixing kernel and user debug hooks together is highly error-prone as it
relies on all of the hooks to figure out whether the exception came from
kernel or user, and then to act accordingly.
Make our debug hook code a little more robust by maintaining separate
hook lists for user and kernel, with separate registration functions
to force callers to be explicit about the exception levels that they
care about.
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions