AMD General Hi,
I would like to have code review on this kfd fix. I have an observation: the buggy pageable GPU H2D copy read GPU machine code from unrelated text from outside the container into the training input tensor. These bytes have nothing to do with the intended data, and the copy returned success with no error. This happens silently under host memory pressure. The root cause should be a bug in the KFD kernel driver (kfd_svm.c:svm_range_evict); a workaround and a tested kernel patch are attached. kfd_svm_evict_fix_2026-11-08_v2.zip Philip has done the initial code review. Thanks, Qiang
<<attachment: kfd_svm_evict_fix_2026-11-08_v2.zip>>
