summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/sstep.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2017-08-30 07:12:37 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-09-01 09:39:54 +0300
commitb9da9c8a48c56339c7c95d8ff0c9aff93727ac95 (patch)
tree8808c889993e2d62d28d9a737f314328b306a741 /arch/powerpc/include/asm/sstep.h
parentb2543f7b20bb2a551ed340447d7303f0ce4644f1 (diff)
downloadlinux-b9da9c8a48c56339c7c95d8ff0c9aff93727ac95.tar.xz
powerpc: Set regs->dar if memory access fails in emulate_step()
This adds code to the instruction emulation code to set regs->dar to the address of any memory access that fails. This address is not necessarily the same as the effective address of the instruction, because if the memory access is unaligned, it might cross a page boundary and fault on the second page. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/sstep.h')
0 files changed, 0 insertions, 0 deletions