diff options
author | Zi Shen Lim <[email protected]> | 2016-01-13 23:33:21 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-01-17 19:15:26 -0500 |
commit | c94ae4f7c5ec6b6fddde1c08809d5e32a963d7f3 (patch) | |
tree | e0041c10278e7105b9979a3aac92eda349559db4 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | dd7445ad6be3809565272b0e724f2f00c2de1989 (diff) |
arm64: insn: remove BUG_ON from codegen
During code generation, we used to BUG_ON unknown/unsupported encoding
or invalid parameters.
Instead, now we report these as errors and simply return the
instruction AARCH64_BREAK_FAULT. Users of these codegen helpers should
check for and handle this failure condition as appropriate.
Otherwise, unhandled codegen failure will result in trapping at
run-time due to AARCH64_BREAK_FAULT, which is arguably better than a
BUG_ON.
Signed-off-by: Zi Shen Lim <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions