> On May 2, 2019, at 12:28 PM, Jiri Kosina <ji...@kernel.org> wrote: > >> On Thu, 2 May 2019, Linus Torvalds wrote: >> >> I forget: is #BP _only_ for the "int3" instruction? > > Hmm, according to 17.3.2 in vol 3 of SDM (and table 6-1 there), that > indeed seems to be the case, so we should be fine. I’m reasonably confident that the absurd MOV SS; INT3 sequence results in #BP from user mode and then #DB inside that (as opposed to vice versa), so this should be okay.
- [RFC][PATCH 2/2] ftrace/x86: Emulate call function while u... Steven Rostedt
- [RFC][PATCH 1/2] x86: Allow breakpoints to emulate call fu... Steven Rostedt
- Re: [RFC][PATCH 1/2] x86: Allow breakpoints to emulat... Steven Rostedt
- Re: [RFC][PATCH 1/2] x86: Allow breakpoints to em... Peter Zijlstra
- Re: [RFC][PATCH 1/2] x86: Allow breakpoints t... Peter Zijlstra
- Re: [RFC][PATCH 1/2] x86: Allow breakpoints t... Linus Torvalds
- Re: [RFC][PATCH 1/2] x86: Allow breakpoin... Peter Zijlstra
- Re: [RFC][PATCH 1/2] x86: Allow brea... Peter Zijlstra
- Re: [RFC][PATCH 1/2] x86: Allow brea... Linus Torvalds
- Re: [RFC][PATCH 1/2] x86: Allow ... Jiri Kosina
- Re: [RFC][PATCH 1/2] x86: Allow ... Andy Lutomirski
- Re: [RFC][PATCH 1/2] x86: Allow ... Peter Zijlstra
- Re: [RFC][PATCH 1/2] x86: Allow ... Linus Torvalds
- Re: [RFC][PATCH 1/2] x86: Allow ... Peter Zijlstra
- Re: [RFC][PATCH 1/2] x86: Allow ... Steven Rostedt
- Re: [RFC][PATCH 1/2] x86: Allow ... Linus Torvalds
- Re: [RFC][PATCH 1/2] x86: Allow ... Steven Rostedt
- Re: [RFC][PATCH 1/2] x86: Allow ... Linus Torvalds
- Re: [RFC][PATCH 1/2] x86: Allow ... Steven Rostedt
- Re: [RFC][PATCH 1/2] x86: Allow ... Linus Torvalds
- Re: [RFC][PATCH 1/2] x86: Allow ... Andy Lutomirski