diff options
| author | Paul Burton <[email protected]> | 2017-09-08 22:12:21 +0000 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2017-10-09 14:33:34 +0000 |
| commit | ca8eb05b5f332a9e1ab3e2ece498d49f4d683470 (patch) | |
| tree | 07323bde05e5d316b9e91b81491a4014bf37c432 /tools/perf/scripts/python/stat-cpi.py | |
| parent | MIPS: Fix generic-board-config.sh for builds using O= (diff) | |
| download | kernel-ca8eb05b5f332a9e1ab3e2ece498d49f4d683470.tar.gz kernel-ca8eb05b5f332a9e1ab3e2ece498d49f4d683470.zip | |
MIPS: math-emu: Remove pr_err() calls from fpu_emu()
The FPU emulator includes 2 calls to pr_err() which are triggered by
invalid instruction encodings for MIPSr6 cmp.cond.fmt instructions.
These cases are not kernel errors, merely invalid instructions which are
already handled by delivering a SIGILL which will provide notification
that something failed in cases where that makes sense.
In cases where that SIGILL is somewhat expected & being handled, for
example when crashme happens to generate one of the affected bad
encodings, the message is printed with no useful context about what
triggered it & spams the kernel log for no good reason.
Remove the pr_err() calls to make crashme run silently & treat the bad
encodings the same way we do others, with a SIGILL & no further kernel
log output.
Signed-off-by: Paul Burton <[email protected]>
Fixes: f8c3c6717a71 ("MIPS: math-emu: Add support for the CMP.condn.fmt R6 instruction")
Cc: [email protected]
Cc: stable <[email protected]> # v4.3+
Patchwork: https://patchwork.linux-mips.org/patch/17253/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
