Displaying 6 results from an estimated 6 matches for "pages_list".
2018 Feb 27
4
[PATCH 4/5] drm/ttm: add ttm_sg_tt_init
...+ PAGE_SIZE - 1) >> PAGE_SHIFT;
> - ttm->caching_state = tt_cached;
> - ttm->page_flags = page_flags;
> - ttm->state = tt_unpopulated;
> - ttm->swap_storage = NULL;
> + ttm_tt_init_fields(ttm, bdev, size, page_flags);
>
> INIT_LIST_HEAD(&ttm_dma->pages_list);
> if (ttm_dma_tt_alloc_page_directory(ttm_dma)) {
> @@ -275,11 +286,36 @@ int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev,
> }
> EXPORT_SYMBOL(ttm_dma_tt_init);
>
> +int ttm_sg_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev,
&...
2018 Mar 05
0
[PATCH 4/5] drm/ttm: add ttm_sg_tt_init
...T;
>> - ttm->caching_state = tt_cached;
>> - ttm->page_flags = page_flags;
>> - ttm->state = tt_unpopulated;
>> - ttm->swap_storage = NULL;
>> + ttm_tt_init_fields(ttm, bdev, size, page_flags);
>> INIT_LIST_HEAD(&ttm_dma->pages_list);
>> if (ttm_dma_tt_alloc_page_directory(ttm_dma)) {
>> @@ -275,11 +286,36 @@ int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma,
>> struct ttm_bo_device *bdev,
>> }
>> EXPORT_SYMBOL(ttm_dma_tt_init);
>> +int ttm_sg_tt_init(struct ttm_dma_tt *ttm_dma, st...
2014 Jul 08
8
[PATCH v4 0/6] drm: nouveau: memory coherency on ARM
Another revision of this patchset critical for GK20A to operate.
Previous attempts were exclusively using either TTM's regular page allocator or
the DMA API one. Both have their advantages and drawbacks: the page allocator is
fast but requires explicit synchronization on non-coherent architectures,
whereas the DMA allocator always returns coherent memory, but is also slower,
creates a
2019 Aug 09
6
[RFC PATCH v6 71/92] mm: add support for remote mapping
...hlist_node db_link; /* database link */
+
+ struct mmu_notifier mn; /* for notifications from mm */
+ struct rcu_head rcu; /* for delayed freeing */
+ refcount_t refcnt;
+
+ spinlock_t lock; /* lock for the following */
+ struct mm_struct *client; /* client for this target */
+ struct list_head pages_list; /* mapped HVAs for this target */
+};
+
+struct file_db;
+struct client_db {
+ struct mm_struct *mm; /* mm of this struct */
+ struct hlist_node db_link; /* database link */
+
+ struct mmu_notifier mn; /* for notifications from mm */
+ struct rcu_head rcu; /* for delayed freeing */
+ refcount_t...
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running
on the host or in a separate VM, to control the execution of other VM-s
(pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.),
alter the page access bits in the shadow page tables (only for the hardware
backed ones, eg. Intel's EPT) and receive notifications when events of
interest have taken place
2019 Aug 09
117
[RFC PATCH v6 00/92] VM introspection
The KVM introspection subsystem provides a facility for applications running
on the host or in a separate VM, to control the execution of other VM-s
(pause, resume, shutdown), query the state of the vCPUs (GPRs, MSRs etc.),
alter the page access bits in the shadow page tables (only for the hardware
backed ones, eg. Intel's EPT) and receive notifications when events of
interest have taken place