提交 d86c1ebe 编写于 作者: J James Hogan 提交者: Paolo Bonzini

MIPS: KVM: Print unknown load/store encodings

When trying to emulate an unrecognised load or store instruction, print
the encoding to aid debug.
Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
上级 eafc4ed2
...@@ -1412,7 +1412,8 @@ enum emulation_result kvm_mips_emulate_store(u32 inst, u32 cause, ...@@ -1412,7 +1412,8 @@ enum emulation_result kvm_mips_emulate_store(u32 inst, u32 cause,
break; break;
default: default:
kvm_err("Store not yet supported"); kvm_err("Store not yet supported (inst=0x%08x)\n",
inst);
er = EMULATE_FAIL; er = EMULATE_FAIL;
break; break;
} }
...@@ -1522,7 +1523,8 @@ enum emulation_result kvm_mips_emulate_load(u32 inst, u32 cause, ...@@ -1522,7 +1523,8 @@ enum emulation_result kvm_mips_emulate_load(u32 inst, u32 cause,
break; break;
default: default:
kvm_err("Load not yet supported"); kvm_err("Load not yet supported (inst=0x%08x)\n",
inst);
er = EMULATE_FAIL; er = EMULATE_FAIL;
break; break;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册