aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2020-10-27 09:15:05 +0000
committerThomas Gleixner <[email protected]>2020-10-27 22:15:23 +0000
commit2a9baf5ad4884108b3c6d56a50e8105ccf8a4ee7 (patch)
treebc9ec3a80992bfac570f35708959deb34210848b /drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
parentMerge tag 'x86-urgent-2020-10-27' of git://git.kernel.org/pub/scm/linux/kerne... (diff)
downloadkernel-2a9baf5ad4884108b3c6d56a50e8105ccf8a4ee7.tar.gz
kernel-2a9baf5ad4884108b3c6d56a50e8105ccf8a4ee7.zip
x86/debug: Fix BTF handling
The SDM states that #DB clears DEBUGCTLMSR_BTF, this means that when the bit is set for userspace (TIF_BLOCKSTEP) and a kernel #DB happens first, the BTF bit meant for userspace execution is lost. Have the kernel #DB handler restore the BTF bit when it was requested for userspace. 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