summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorXiaogang Chen <xiaogang.chen@amd.com>2026-08-23 15:22:54 -0500
committerAlex Deucher <alexander.deucher@amd.com>2026-08-25 18:21:32 -0400
commit960c4a8069bfd352c48cc88592618f1ebe24c69e (patch)
tree0e081cd1ca0f966fa96727331f943b618cc66c31 /scripts/const_structs.checkpatch
parent9e8bcfde0039238e904b4e720e66b7f4fbf82c0e (diff)
downloadlinux-960c4a8069bfd352c48cc88592618f1ebe24c69e.tar.gz
linux-960c4a8069bfd352c48cc88592618f1ebe24c69e.zip
drm/amdkfd: Fix error path at svm_migrate_copy_to_ram
If page migration from device to sys ram fails for some reasons driver needs release and unlock allocated system pages. To do that driver should use page physical address, or pfn, then get struct page*. Current driver uses dma address(for adev) that is not correct with IOMMU enabled, or even in general. The patch releases and unlocks allocated system pages based on where migration failed by struct page* of sys ram pages. Also dma_unmap correspodent system ram pages at error path. Cc: stable@vger.kernel.org Signed-off-by: Xiaogang Chen <xiaogang.chen@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions