diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2017-08-30 06:12:37 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-09-01 08:39:54 +0200 |
commit | b9da9c8a48c56339c7c95d8ff0c9aff93727ac95 (patch) | |
tree | 8808c889993e2d62d28d9a737f314328b306a741 /arch/powerpc/include/asm | |
parent | powerpc: Emulate the dcbz instruction (diff) | |
download | linux-b9da9c8a48c56339c7c95d8ff0c9aff93727ac95.tar.xz linux-b9da9c8a48c56339c7c95d8ff0c9aff93727ac95.zip |
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')
0 files changed, 0 insertions, 0 deletions