Re: [PATCH 1/3] arm64: kprobes: Recover pstate.D in single-step exception handler

2019-07-19 Thread Masami Hiramatsu
On Fri, 19 Jul 2019 11:07:33 +0100 James Morse wrote: > Hi! > > On 18/07/2019 06:43, Masami Hiramatsu wrote: > > On arm64, if a nested kprobes hit, it can crash the kernel with below > > error message. > > > > [ 152.118921] Unexpected kernel single-step exception at EL1 > > > > This is becaus

Re: [PATCH 1/3] arm64: kprobes: Recover pstate.D in single-step exception handler

2019-07-19 Thread James Morse
Hi! On 18/07/2019 06:43, Masami Hiramatsu wrote: > On arm64, if a nested kprobes hit, it can crash the kernel with below > error message. > > [ 152.118921] Unexpected kernel single-step exception at EL1 > > This is because commit 7419333fa15e ("arm64: kprobe: Always clear > pstate.D in breakpoi

[PATCH 1/3] arm64: kprobes: Recover pstate.D in single-step exception handler

2019-07-17 Thread Masami Hiramatsu
On arm64, if a nested kprobes hit, it can crash the kernel with below error message. [ 152.118921] Unexpected kernel single-step exception at EL1 This is because commit 7419333fa15e ("arm64: kprobe: Always clear pstate.D in breakpoint exception handler") clears pstate.D always in the nested kpro