summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2026-08-12 13:56:28 -0700
committerLizhi Hou <lizhi.hou@amd.com>2026-08-12 23:12:20 -0700
commit6c916e301fa10de9158b922474ade7b43d726cda (patch)
tree8ae367e98be119020ad64d8fdb6c9069152719c2 /tools/perf/scripts/python/bin
parent9a11db68872055e6ead919bad04d6330851c522d (diff)
accel/amdxdna: Skip unmapped range in aie2_populate_range()
aie2_populate_range() incorrectly failed jobs for BOs with multiple mmaps: if the unmapped entry appeared first in umap_list, the loop would pick it up, call hmm_range_fault() on a gone VMA, and return -EFAULT without ever trying the remaining valid mapps. Fix it by skipping unmapped entries. After the loop, if the map list is empty or all maps are valid, map_invalid can be cleared normally. Fixes: e486147c912f ("accel/amdxdna: Add BO import and export") Reviewed-by: Max Zhen <max.zhen@amd.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Link: https://patch.msgid.link/20260812205628.810816-1-lizhi.hou@amd.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions