Merge tag 'x86-urgent-2020-11-01' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 1 Nov 2020 19:21:26 +0000 (11:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 1 Nov 2020 19:21:26 +0000 (11:21 -0800)
commit7b56fbd83e261484da43f04090bce07570bd117f
treed8b5e4182098d607c8a15119c55d33d50bc1bc4b
parent4312e0e8d3eab027d9506db091eb10e6a9ff25d3
parentcb05143bdf428f280a5d519c82abf196d7871c11
Merge tag 'x86-urgent-2020-11-01' of git://git./linux/kernel/git/tip/tip

Pull x86 fixes from Thomas Gleixner:
 "Three fixes all related to #DB:

   - Handle the BTF bit correctly so it doesn't get lost due to a kernel
     #DB

   - Only clear and set the virtual DR6 value used by ptrace on user
     space triggered #DB. A kernel #DB must leave it alone to ensure
     data consistency for ptrace.

   - Make the bitmasking of the virtual DR6 storage correct so it does
     not lose DR_STEP"

* tag 'x86-urgent-2020-11-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
  x86/debug: Fix DR_STEP vs ptrace_get_debugreg(6)
  x86/debug: Only clear/set ->virtual_dr6 for userspace #DB
  x86/debug: Fix BTF handling