search for: from_deivc

Displaying 5 results from an estimated 5 matches for "from_deivc".

Did you mean: from_deivce
2020 Jul 20
2
[PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma
...t; The use case for system to system memory migration is for hardware > like ARM SMMU or PCIe ATS where a single set of page tables is shared by > the device and a CPU process over a coherent system memory bus. > Also many integrated GPUs in SOCs fall into this category too. Maybe just TO/FROM_DEIVCE then? Even though the memory is not DEVICE_PRIVATE it is still device owned pages right? > So to me, it makes more sense to specify the direction based on the > source location. It feels strange because the driver doesn't always know or control the source? Jason
2020 Jul 20
1
[PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma
...ion is for hardware > > > like ARM SMMU or PCIe ATS where a single set of page tables is shared by > > > the device and a CPU process over a coherent system memory bus. > > > Also many integrated GPUs in SOCs fall into this category too. > > > > Maybe just TO/FROM_DEIVCE then? Even though the memory is not > > DEVICE_PRIVATE it is still device owned pages right? > > > > > So to me, it makes more sense to specify the direction based on the > > > source location. > > > > It feels strange because the driver doesn't alwa...
2020 Jul 20
0
[PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma
...stem to system memory migration is for hardware >> like ARM SMMU or PCIe ATS where a single set of page tables is shared by >> the device and a CPU process over a coherent system memory bus. >> Also many integrated GPUs in SOCs fall into this category too. > > Maybe just TO/FROM_DEIVCE then? Even though the memory is not > DEVICE_PRIVATE it is still device owned pages right? > >> So to me, it makes more sense to specify the direction based on the >> source location. > > It feels strange because the driver doesn't always know or control the > sour...
2020 Jul 20
0
[PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma
...hardware >>>> like ARM SMMU or PCIe ATS where a single set of page tables is shared by >>>> the device and a CPU process over a coherent system memory bus. >>>> Also many integrated GPUs in SOCs fall into this category too. >>> >>> Maybe just TO/FROM_DEIVCE then? Even though the memory is not >>> DEVICE_PRIVATE it is still device owned pages right? >>> >>>> So to me, it makes more sense to specify the direction based on the >>>> source location. >>> >>> It feels strange because the driver do...
2020 Jul 20
2
[PATCH v2 2/5] mm/migrate: add a direction parameter to migrate_vma
On Mon, Jul 13, 2020 at 10:21:46AM -0700, Ralph Campbell wrote: > The src_owner field in struct migrate_vma is being used for two purposes, > it implies the direction of the migration and it identifies device private > pages owned by the caller. Split this into separate parameters so the > src_owner field can be used just to identify device private pages owned > by the caller of