aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorYifan Zhang <yifan1.zhang@amd.com>2026-05-11 22:14:23 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 12:14:55 -0400
commit353f7430d1eccd481cc089decd1fc377d4312f4a (patch)
tree67444122913e1185cf1cd1f336811946bf29b3bb /tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git:
parentdrm/amd/display: Validate payload length and link_index in dc_process_dmub_aux_transfer_async (diff)
drm/amdgpu: unmap all user mappings of framebuffer and doorbell before mode1 reset
During Mode 1 reset, the ASIC undergoes a reset cycle and becomes temporarily inaccessible via PCIe. Any attempt to access framebuffer or MMIO registers during this window can result in uncompleted PCIe transactions, leading to NMI panics or system hangs. To prevent this, Unmap all of the applications mappings of the framebuffer and doorbell BARs before mode1 reset. Also prevent new mappings from coming in during the reset process. v2: remove inode in kfd_dev (Christian) v3: correct unmap offset (Felix), remove prevent new mappings part to avoid deadlock (Christian) Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 70cadefcc6160c575b04f763ada34c20e868d577)
Diffstat (limited to 'tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions