diff options
| author | Peter Zijlstra <[email protected]> | 2020-10-27 09:15:06 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2020-10-27 22:15:23 +0000 |
| commit | a195f3d4528a2f88d6f986f6b1101775ad4891cf (patch) | |
| tree | f61191d9faa00ce094e8a54b215e4de01262fec7 /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c | |
| parent | x86/debug: Fix BTF handling (diff) | |
| download | kernel-a195f3d4528a2f88d6f986f6b1101775ad4891cf.tar.gz kernel-a195f3d4528a2f88d6f986f6b1101775ad4891cf.zip | |
x86/debug: Only clear/set ->virtual_dr6 for userspace #DB
The ->virtual_dr6 is the value used by ptrace_{get,set}_debugreg(6). A
kernel #DB clearing it could mean spurious malfunction of ptrace()
expectations.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Kyle Huey <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c')
0 files changed, 0 insertions, 0 deletions
