diff options
author | 2018-08-14 16:24:54 +0100 | |
---|---|---|
committer | 2018-09-14 17:46:24 +0100 | |
commit | 8a60419d36762a1131c2b29f7bd14371db4df1b5 (patch) | |
tree | 26d51ae49c742f5e1d83eae8487009f270ac3896 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | arm64: cpu: Move errata and feature enable callbacks closer to callers (diff) | |
download | linux-dev-8a60419d36762a1131c2b29f7bd14371db4df1b5.tar.xz linux-dev-8a60419d36762a1131c2b29f7bd14371db4df1b5.zip |
arm64: force_signal_inject: WARN if called from kernel context
force_signal_inject() is designed to send a fatal signal to userspace,
so WARN if the current pt_regs indicates a kernel context. This can
currently happen for the undefined instruction trap, so patch that up so
we always BUG() if we didn't have a handler.
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions