summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/sstep.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2017-08-30 07:12:31 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2017-09-01 09:39:51 +0300
commit958465ee5407dc1b25ba6eb33f0e8bb6179960ee (patch)
tree6f4712b6150519bb4830a3fe206be77301d8590f /arch/powerpc/include/asm/sstep.h
parent5762e08344bd7c5bfc41030f74c4ab6ce6e461d0 (diff)
downloadlinux-958465ee5407dc1b25ba6eb33f0e8bb6179960ee.tar.xz
powerpc: Add emulation for the addpcis instruction
The addpcis instruction puts the sum of the next instruction address plus a constant into a register. Since the result depends on the address of the instruction, it will give an incorrect result if it is single-stepped out of line, which is what the *probes subsystem will currently do if a probe is placed on an addpcis instruction. This fixes the problem by adding emulation of it to analyse_instr(). 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