Commit f259fe29 authored by Maciej W. Rozycki's avatar Maciej W. Rozycki Committed by Ralf Baechle

MIPS: Use `pr_debug' for messages from `__compute_return_epc_for_insn'

Reduce the log level for branch emulation error messages issued before
sending SIGILL by `__compute_return_epc_for_insn' as these are triggered
by user software and are not an event that would normally require any
attention.  The same signal sent from elsewhere does not actually leave
any trace in the kernel log at all.
Signed-off-by: default avatarMaciej W. Rozycki <macro@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16402/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 70f743d1
...@@ -818,17 +818,17 @@ int __compute_return_epc_for_insn(struct pt_regs *regs, ...@@ -818,17 +818,17 @@ int __compute_return_epc_for_insn(struct pt_regs *regs,
return ret; return ret;
sigill_dsp: sigill_dsp:
pr_info("%s: DSP branch but not DSP ASE - sending SIGILL.\n", pr_debug("%s: DSP branch but not DSP ASE - sending SIGILL.\n",
current->comm); current->comm);
force_sig(SIGILL, current); force_sig(SIGILL, current);
return -EFAULT; return -EFAULT;
sigill_r2r6: sigill_r2r6:
pr_info("%s: R2 branch but r2-to-r6 emulator is not present - sending SIGILL.\n", pr_debug("%s: R2 branch but r2-to-r6 emulator is not present - sending SIGILL.\n",
current->comm); current->comm);
force_sig(SIGILL, current); force_sig(SIGILL, current);
return -EFAULT; return -EFAULT;
sigill_r6: sigill_r6:
pr_info("%s: R6 branch but no MIPSr6 ISA support - sending SIGILL.\n", pr_debug("%s: R6 branch but no MIPSr6 ISA support - sending SIGILL.\n",
current->comm); current->comm);
force_sig(SIGILL, current); force_sig(SIGILL, current);
return -EFAULT; return -EFAULT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment