summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorShane Xiao <shane.xiao@amd.com>2025-04-23 17:28:50 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-05-07 17:45:09 -0400
commit2d274bf7099bc5e95fabaa93f23d0eb2977187ad (patch)
treebfd761b70bfd736010b1523bba89f4bf65e64c3f /scripts/gdb/linux/utils.py
parent8e320f67d49d6bb28eba9c8bded66ad04b0acf0b (diff)
amd/amdkfd: Trigger segfault for early userptr unmmapping
If applications unmap the memory before destroying the userptr, it needs trigger a segfault to notify user space to correct the free sequence in VM debug mode. v2: Send gpu access fault to user space v3: Report gpu address to user space, remove unnecessary params v4: update pr_err into one line, remove userptr log info Signed-off-by: Shane Xiao <shane.xiao@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions