arm64: remove debug for alignment fix
Ampere added extra code for arm64 alignment fix, debug and stacktrace was print after fix failure, which may not suitable for production environment, remove this. Signed-off-by: caelli <caelli@tencent.com> Reviewed-by: mengensun <mengensun@tencent.com> Signed-off-by: Jianping Liu <frankjpliu@tencent.com>
This commit is contained in:
parent
739bb98579
commit
fed4e5664b
|
@ -1545,10 +1545,8 @@ static int fixup_alignment(unsigned long addr, unsigned int esr,
|
|||
}
|
||||
if (!res) {
|
||||
instruction_pointer_set(regs, instruction_pointer(regs) + 4);
|
||||
} else {
|
||||
pr_err("cannot handle insn:%x, type:%d\n", insn, type);
|
||||
dump_stack();
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -7,7 +7,7 @@ struct ldst_filter {
|
|||
|
||||
static int ldst_default(struct ldst_filter *f, u32 insn, struct pt_regs *regs)
|
||||
{
|
||||
pr_alert("instruction :%x(%s) is not implemented.\n", insn, f->name);
|
||||
pr_debug("instruction :%x(%s) is not implemented.\n", insn, f->name);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -95,7 +95,7 @@ static int align_ldst_imm_new(u32 insn, struct pt_regs *regs)
|
|||
|
||||
if (!postindex)
|
||||
address += offset;
|
||||
printk("{%s] addr:%llx, offset:%llx\n", __func__, address, offset);
|
||||
pr_debug("{%s] addr:%llx, offset:%llx\n", __func__, address, offset);
|
||||
|
||||
if (is_store) {
|
||||
data = pt_regs_read_reg(regs, t);
|
||||
|
|
Loading…
Reference in New Issue