[PATCH v6 05/13] drm/amdkfd: generic type as sys mem on migration to ram
Christoph Hellwig
hch at lst.de
Tue Aug 17 05:49:00 UTC 2021
On Mon, Aug 16, 2021 at 02:53:18PM -0500, Sierra Guiza, Alejandro (Alex) wrote:
> For above’s condition equal to connected_to_cpu , we’re explicitly
> migrating from
> device memory to system memory with device generic type. In this type,
> device PTEs are
> present in CPU page table.
>
> During migrate_vma_collect_pmd walk op at migrate_vma_setup call, there’s
> a condition
> for present pte that require migrate->flags be set for
> MIGRATE_VMA_SELECT_SYSTEM.
> Otherwise, the migration for this entry will be ignored.
I think we might need a new SELECT flag here for IOMEM.
More information about the amd-gfx
mailing list