diff options
| author | Tiezhu Yang <[email protected]> | 2024-07-20 14:41:07 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2024-07-20 14:41:07 +0000 |
| commit | 3892b11eac5aaaeefbf717f1953288b77759d9e2 (patch) | |
| tree | 110403ad3c278f4c524c40f193fc86bd12561c3c /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | LoongArch: Use rustc option -Zdirect-access-external-data (diff) | |
| download | kernel-3892b11eac5aaaeefbf717f1953288b77759d9e2.tar.gz kernel-3892b11eac5aaaeefbf717f1953288b77759d9e2.zip | |
LoongArch: Check TIF_LOAD_WATCH to enable user space watchpoint
Currently, there are some places to set CSR.PRMD.PWE, the first one is
in hw_breakpoint_thread_switch() to enable user space singlestep via
checking TIF_SINGLESTEP, the second one is in hw_breakpoint_control() to
enable user space watchpoint. For the latter case, it should also check
TIF_LOAD_WATCH to make the logic correct and clear.
Fixes: c8e57ab0995c ("LoongArch: Trigger user-space watchpoints correctly")
Signed-off-by: Tiezhu Yang <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions
