summaryrefslogtreecommitdiff
path: root/arch/powerpc/kvm/emulate.c
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2017-09-22 14:40:44 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2017-10-04 23:42:16 +1100
commita7b440383f9b078254d38ab6a3672810f1eca74f (patch)
tree0cbbc65e5d44d44bcd27504a84cffa49d1ebf657 /arch/powerpc/kvm/emulate.c
parent22085337f5b9d7a7adf5c6cc4e007c28e5216a7f (diff)
powerpc/kprobes: Do not suppress instruction emulation if a single run failed
Currently, we disable instruction emulation if emulate_step() fails for any reason. However, such failures could be transient and specific to a particular run. Instead, only disable instruction emulation if we have never been able to emulate this. If we had emulated this instruction successfully at least once, then we single step only this probe hit and continue to try emulating the instruction in subsequent probe hits. Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/emulate.c')
0 files changed, 0 insertions, 0 deletions