Re: [PATCH v2] x86/debug: Fix DR6 handling

2021-01-29 Thread Tom de Vries
truction breakpoints are faults and will not be >> merged. This means 6c0aca288e72 is wrong, we only need to exclude TF >> and instruction breakpoints while we can merge TF and data >> breakpoints. >> >> Fixes: d53d9bc0cf78 ("x86/debug: Change thread.debugreg6 t

Re: [PATCH] x86/debug: 'Fix' ptrace dr6 output

2021-01-28 Thread Tom de Vries
causes gdb to stop and present a user prompt, and you want to report both events at one user stop, instead of presenting two separate stops and user prompts at the same address. Thanks, - Tom > Fixes: d53d9bc0cf78 ("x86/debug: Change thread.debugreg6 to > thread.virtual_dr6") >

Re: gdbserver + fsgsbase kaputt

2021-01-12 Thread Tom de Vries
On 1/12/21 4:31 AM, Andy Lutomirski wrote: > On Mon, Jan 11, 2021 at 3:52 PM Tom de Vries wrote: >> >> On 1/12/21 12:40 AM, Andy Lutomirski wrote: >>> On Mon, Jan 11, 2021 at 1:06 PM Andy Lutomirski wrote: >>>> >>>> >>&g

Re: gdbserver + fsgsbase kaputt

2021-01-11 Thread Tom de Vries
On 1/12/21 12:40 AM, Andy Lutomirski wrote: > On Mon, Jan 11, 2021 at 1:06 PM Andy Lutomirski wrote: >> >> >>> On Jan 11, 2021, at 12:00 PM, Borislav Petkov wrote: >>> >> >> >>> Or do you mean I should add "unsafe_fsgsbase" to grub cmdline and bisect >>> with fsgsbase enabled in all test kernels?