You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tom reported that one of the GDB test-cases failed, and Boris bisected
it to commit:
d53d9bc ("x86/debug: Change thread.debugreg6 to thread.virtual_dr6")
The debugging session led us to commit:
6c0aca2 ("x86: Ignore trap bits on single step exceptions")
It turns out that TF and data breakpoints are both traps and will be
merged, while instruction breakpoints are faults and will not be merged.
This means 6c0aca2 is wrong, only TF and instruction breakpoints
need to be excluded while TF and data breakpoints can be merged.
[ bp: Massage commit message. ]
Fixes: d53d9bc ("x86/debug: Change thread.debugreg6 to thread.virtual_dr6")
Fixes: 6c0aca2 ("x86: Ignore trap bits on single step exceptions")
Reported-by: Tom de Vries <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/YBMAbQGACujjfz%[email protected]
Link: https://lkml.kernel.org/r/[email protected]
0 commit comments