提交 418702b9 编写于 作者: L Linus Torvalds

Merge tag 'powerpc-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux

Pull powerpc fix from Michael Ellerman:
 "Just one fix, for the handling of alignment interrupts on dcbz
  instructions.

  Thanks to Paul Mackerras, Christian Zigotzky, Michal Sojka"

* tag 'powerpc-4.14-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
  powerpc: Fix handling of alignment interrupt on dcbz instruction
...@@ -341,7 +341,7 @@ int fix_alignment(struct pt_regs *regs) ...@@ -341,7 +341,7 @@ int fix_alignment(struct pt_regs *regs)
type = op.type & INSTR_TYPE_MASK; type = op.type & INSTR_TYPE_MASK;
if (!OP_IS_LOAD_STORE(type)) { if (!OP_IS_LOAD_STORE(type)) {
if (type != CACHEOP + DCBZ) if (op.type != CACHEOP + DCBZ)
return -EINVAL; return -EINVAL;
PPC_WARN_ALIGNMENT(dcbz, regs); PPC_WARN_ALIGNMENT(dcbz, regs);
r = emulate_dcbz(op.ea, regs); r = emulate_dcbz(op.ea, regs);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册