Displaying 20 results from an estimated 42 matches for "ttm_bo_handle_move_mem".
2018 Jan 31
2
swiotlb buffer is full
...80/MS-1761, BIOS E1761IMS V3.01 05/02/2011
[ +0.000003] Call Trace:
[ +0.000009] dump_stack+0x9f/0xe1
[ +0.000008] swiotlb_alloc_coherent+0xdf/0x150
[ +0.000010] ttm_dma_pool_get_pages+0x1ec/0x4b0
[ +0.000015] ttm_dma_populate+0x24c/0x340
[ +0.000011] ttm_tt_bind+0x23/0x50
[ +0.000006] ttm_bo_handle_move_mem+0x58c/0x5c0
[ +0.000015] ttm_bo_validate+0x152/0x190
[ +0.000004] ? ttm_bo_init_reserved+0x3d8/0x490
[ +0.000012] ? mutex_trylock+0xcd/0xe0
[ +0.000004] ? ttm_bo_handle_move_mem+0x58/0x5c0
[ +0.000007] ttm_bo_init_reserved+0x3f4/0x490
[ +0.000010] ttm_bo_init+0x2f/0xa0
[ +0.000009] ?...
2018 Feb 01
1
swiotlb buffer is full
...3] Call Trace:
>> [ +0.000009] dump_stack+0x9f/0xe1
>> [ +0.000008] swiotlb_alloc_coherent+0xdf/0x150
>> [ +0.000010] ttm_dma_pool_get_pages+0x1ec/0x4b0
>> [ +0.000015] ttm_dma_populate+0x24c/0x340
>> [ +0.000011] ttm_tt_bind+0x23/0x50
>> [ +0.000006] ttm_bo_handle_move_mem+0x58c/0x5c0
>> [ +0.000015] ttm_bo_validate+0x152/0x190
>> [ +0.000004] ? ttm_bo_init_reserved+0x3d8/0x490
>> [ +0.000012] ? mutex_trylock+0xcd/0xe0
>> [ +0.000004] ? ttm_bo_handle_move_mem+0x58/0x5c0
>> [ +0.000007] ttm_bo_init_reserved+0x3f4/0x490
>>...
2017 Dec 18
3
nouveau. swiotlb: coherent allocation failed for device 0000:01:00.0 size=2097152
...p_stack+0x7c/0xb6
[ 1313.811053] swiotlb_alloc_coherent+0x13f/0x150
[ 1313.811060] ttm_dma_pool_alloc_new_pages+0x106/0x3c0 [ttm]
[ 1313.811066] ttm_dma_pool_get_pages+0x10a/0x1e0 [ttm]
[ 1313.811070] ttm_dma_populate+0x21f/0x2f0 [ttm]
[ 1313.811075] ttm_tt_bind+0x2f/0x60 [ttm]
[ 1313.811079] ttm_bo_handle_move_mem+0x51f/0x580 [ttm]
[ 1313.811084] ? ttm_bo_handle_move_mem+0x5/0x580 [ttm]
[ 1313.811088] ttm_bo_validate+0x10c/0x120 [ttm]
[ 1313.811092] ? ttm_bo_validate+0x5/0x120 [ttm]
[ 1313.811106] ? drm_mode_setcrtc+0x20e/0x540 [drm]
[ 1313.811109] ttm_bo_init_reserved+0x290/0x490 [ttm]
[ 1313.811114]...
2017 Dec 18
0
nouveau. swiotlb: coherent allocation failed for device 0000:01:00.0 size=2097152
...811053] swiotlb_alloc_coherent+0x13f/0x150
> [ 1313.811060] ttm_dma_pool_alloc_new_pages+0x106/0x3c0 [ttm]
> [ 1313.811066] ttm_dma_pool_get_pages+0x10a/0x1e0 [ttm]
> [ 1313.811070] ttm_dma_populate+0x21f/0x2f0 [ttm]
> [ 1313.811075] ttm_tt_bind+0x2f/0x60 [ttm]
> [ 1313.811079] ttm_bo_handle_move_mem+0x51f/0x580 [ttm]
> [ 1313.811084] ? ttm_bo_handle_move_mem+0x5/0x580 [ttm]
> [ 1313.811088] ttm_bo_validate+0x10c/0x120 [ttm]
> [ 1313.811092] ? ttm_bo_validate+0x5/0x120 [ttm]
> [ 1313.811106] ? drm_mode_setcrtc+0x20e/0x540 [drm]
> [ 1313.811109] ttm_bo_init_reserved+0x290/0x4...
2018 Feb 01
0
swiotlb buffer is full
...02/2011
> [ +0.000003] Call Trace:
> [ +0.000009] dump_stack+0x9f/0xe1
> [ +0.000008] swiotlb_alloc_coherent+0xdf/0x150
> [ +0.000010] ttm_dma_pool_get_pages+0x1ec/0x4b0
> [ +0.000015] ttm_dma_populate+0x24c/0x340
> [ +0.000011] ttm_tt_bind+0x23/0x50
> [ +0.000006] ttm_bo_handle_move_mem+0x58c/0x5c0
> [ +0.000015] ttm_bo_validate+0x152/0x190
> [ +0.000004] ? ttm_bo_init_reserved+0x3d8/0x490
> [ +0.000012] ? mutex_trylock+0xcd/0xe0
> [ +0.000004] ? ttm_bo_handle_move_mem+0x58/0x5c0
> [ +0.000007] ttm_bo_init_reserved+0x3f4/0x490
> [ +0.000010] ttm_bo_in...
2018 May 11
2
kernel spew from nouveau/ swiotlb
On Thu, 2018-05-10 at 12:28 +0200, Mike Galbraith wrote:
> On Thu, 2018-05-10 at 11:10 +0200, Mike Galbraith wrote:
> > Greetings,
> >
> > When box is earning its keep, nouveau/swiotlb grumble.. a LOT. The
> > below is from master.today.
> >
> > [12594.640959] nouveau 0000:01:00.0: swiotlb buffer is full (sz: 2097152 bytes)
> > [12594.693000] nouveau
2013 Jul 01
1
[PATCH] drm/nouveau: fix locking in nouveau_crtc_page_flip
...t;ffffffff810b9dbd>] lock_acquire+0x90/0x1f9
[<ffffffff816ed517>] mutex_lock_nested+0x56/0x3bb
[<ffffffffa0346b66>] nouveau_bo_move_m2mf.isra.13+0x4d/0x130 [nouveau]
[<ffffffffa034745f>] nouveau_bo_move+0xb9/0x3cb [nouveau]
[<ffffffffa01979e3>] ttm_bo_handle_move_mem+0x24e/0x6b0 [ttm]
[<ffffffffa0198da4>] ttm_bo_move_buffer+0x157/0x164 [ttm]
[<ffffffffa0198e51>] ttm_bo_validate+0xa0/0x129 [ttm]
[<ffffffffa0347c80>] nouveau_bo_validate+0x1c/0x1e [nouveau]
[<ffffffffa0347d52>] nouveau_ttm_fault_reserve_notify+0x...
2020 Feb 18
5
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...t;, man->size);
>>> ????? drm_printf(p, "??? available_caching: 0x%08X\n",
>>> man->available_caching);
>>> ????? drm_printf(p, "??? default_caching: 0x%08X\n",
>>> man->default_caching);
>>> @@ -345,12 +344,6 @@ static int ttm_bo_handle_move_mem(struct
>>> ttm_buffer_object *bo,
>>> ? moved:
>>> ????? bo->evicted = false;
>>> ? -??? if (bo->mem.mm_node)
>>> -??????? bo->offset = (bo->mem.start << PAGE_SHIFT) +
>>> -??????????? bdev->man[bo->mem.mem_type].gpu_off...
2020 Feb 18
2
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...????? drm_printf(p, "??? available_caching: 0x%08X\n",
>>>>> man->available_caching);
>>>>> ????? drm_printf(p, "??? default_caching: 0x%08X\n",
>>>>> man->default_caching);
>>>>> @@ -345,12 +344,6 @@ static int ttm_bo_handle_move_mem(struct
>>>>> ttm_buffer_object *bo,
>>>>> ? moved:
>>>>> ????? bo->evicted = false;
>>>>> ? -??? if (bo->mem.mm_node)
>>>>> -??????? bo->offset = (bo->mem.start << PAGE_SHIFT) +
>>>>> -???...
2017 Aug 13
1
[Bug 102192] New: Dell XPS 15 9560: PU: 1 PID: 58 at drivers/gpu/drm/nouveau/nvkm/subdev/mmu/gf100.c:190 gf100_vm_flush+0x1b3/0x1c0
...30.734291] ttm_bo_mem_put+0x2a/0x30 [ttm]
[ 1730.734293] ttm_bo_move_accel_cleanup+0x10c/0x200 [ttm]
[ 1730.734308] ? nouveau_fence_new+0x58/0x90 [nouveau]
[ 1730.734324] nouveau_bo_move_m2mf.constprop.14+0x170/0x1a0 [nouveau]
[ 1730.734340] nouveau_bo_move+0xac/0x430 [nouveau]
[ 1730.734342] ttm_bo_handle_move_mem+0x280/0x5b0 [ttm]
[ 1730.734344] ttm_bo_evict+0x116/0x2b0 [ttm]
[ 1730.734346] ? find_busiest_group+0x122/0x980
[ 1730.734354] ? drm_rect_debug_print+0x31/0xc0 [drm]
[ 1730.734356] ttm_mem_evict_first+0x157/0x1b0 [ttm]
[ 1730.734358] ttm_bo_force_list_clean+0x6b/0x110 [ttm]
[ 1730.734360] ttm...
2019 Oct 09
3
[Bug 111940] New: frequent timeout warnings during normal operation
...[410260.351678] nvif_vmm_map+0x115/0x130 [nouveau]
[410260.351678] ? reservation_object_wait_timeout_rcu+0x159/0x2d0
[410260.351678] nouveau_mem_map+0x8d/0xf0 [nouveau]
[410260.351678] nouveau_vma_map+0x44/0x70 [nouveau]
[410260.351678] nouveau_bo_move_ntfy+0xc1/0xe0 [nouveau]
[410260.351678] ttm_bo_handle_move_mem+0x3a1/0x4f0 [ttm]
[410260.351678] ttm_bo_evict+0x150/0x1d0 [ttm]
[410260.351678] ? find_busiest_group+0x40/0x540
[410260.351678] ? drm_mm_scan_color_evict+0x66/0xd0 [drm]
[410260.351678] ttm_mem_evict_first+0x262/0x340 [ttm]
[410260.351678] ttm_bo_force_list_clean+0xa4/0x160 [ttm]
[410260.3516...
2020 Feb 18
2
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...ailable_caching: 0x%08X\n",
>>>>>>> man->available_caching);
>>>>>>> ?????? drm_printf(p, "??? default_caching: 0x%08X\n",
>>>>>>> man->default_caching);
>>>>>>> @@ -345,12 +344,6 @@ static int ttm_bo_handle_move_mem(struct
>>>>>>> ttm_buffer_object *bo,
>>>>>>> ?? moved:
>>>>>>> ?????? bo->evicted = false;
>>>>>>> ?? -??? if (bo->mem.mm_node)
>>>>>>> -??????? bo->offset = (bo->mem.start <&...
2018 Feb 22
0
[Bug 105173] [MCP79][Regression] Unhandled NULL pointer dereference in nvkm_object_unmap since kernel 4.15
....00 PG 04/22/2009
[ 1035.437025] Call Trace:
[ 1035.437036] dump_stack+0x5c/0x85
[ 1035.437040] swiotlb_alloc_coherent+0x1c3/0x1e0
[ 1035.437052] ttm_dma_pool_get_pages+0x21a/0x620 [ttm]
[ 1035.437057] ttm_dma_populate+0xdd/0x390 [ttm]
[ 1035.437062] ttm_tt_bind+0x2e/0x60 [ttm]
[ 1035.437067] ttm_bo_handle_move_mem+0x4cf/0x550 [ttm]
[ 1035.437073] ttm_bo_validate+0x119/0x130 [ttm]
[ 1035.437104] ? drm_get_edid_switcheroo+0x16/0x40 [drm]
[ 1035.437109] ttm_bo_init_reserved+0x334/0x380 [ttm]
[ 1035.437114] ? ttm_bo_init+0x62/0xd0 [ttm]
[ 1035.437190] ? nouveau_bo_invalidate_caches+0x10/0x10 [nouveau]
[ 103...
2018 May 11
0
[patch] swiotlb: fix ignored DMA_ATTR_NO_WARN request
...39;s request for silence onward.
Xorg-3170 [006] .... 963.866098: swiotlb_alloc+0x1d/0x1a0: gfp & __GFP_NOWARN
Xorg-3170 [006] .... 963.866101: <stack trace>
=> ttm_dma_populate+0x250/0x310 [ttm]
=> ttm_tt_populate+0x28/0x70 [ttm]
=> ttm_tt_bind+0x26/0x60 [ttm]
=> ttm_bo_handle_move_mem+0x51a/0x580 [ttm]
=> ttm_bo_validate+0xfa/0x110 [ttm]
=> ttm_bo_init_reserved+0x296/0x450 [ttm]
=> ttm_bo_init+0x73/0xd0 [ttm]
=> nouveau_bo_new+0x3eb/0x5c0 [nouveau]
=> nouveau_gem_new+0x66/0x110 [nouveau]
=> nouveau_gem_ioctl_new+0x48/0xc0 [nouveau]
=> drm_ioctl_kernel...
2009 Dec 19
0
we don't synchronize in our buffer object move driver hook
ttm_bo_validate() calls ttm_bo_move_buffer() which calls
ttm_bo_handle_move_mem() which calls bdev->driver->move() which calls
nouveau_bo_move_m2mf(), which doesn't ensure synchronization (nowait
== false) if the bo is moved on another channel (which is common for
nv50). I suspect this to be the source of some corruption problems.
Maarten.
2014 Nov 17
0
kworker/u16:57: page allocation failure: order:0, mode:0x284000
...tree_insert+0x39/0xe0
[<c077ae59>] add_dma_entry+0x89/0x150
[<c04121b0>] ? save_stack_trace+0x30/0x50
[<c077b21d>] debug_dma_map_page+0xfd/0x130
[<f83e3578>] nouveau_ttm_tt_populate+0x118/0x230 [nouveau]
[<f817de4e>] ttm_tt_bind+0x2e/0x60 [ttm]
[<f818016a>] ttm_bo_handle_move_mem+0x4ca/0x560 [ttm]
[<f81807fd>] ? ttm_bo_mem_space+0x14d/0x310 [ttm]
[<f817eed3>] ? ttm_bo_wait+0x113/0x250 [ttm]
[<f81804a3>] ttm_mem_evict_first+0x2a3/0x4b0 [ttm]
[<c040c498>] ? sched_clock+0x8/0x10
[<f83eb41d>] ? nv84_fence_sync+0x3d/0x60 [nouveau]
[<f8180a2...
2018 Feb 28
0
[Bug 105173] [MCP79][Regression] Unhandled NULL pointer dereference in nvkm_object_unmap since kernel 4.15
...5] Call Trace:
> [ 1035.437036] dump_stack+0x5c/0x85
> [ 1035.437040] swiotlb_alloc_coherent+0x1c3/0x1e0
> [ 1035.437052] ttm_dma_pool_get_pages+0x21a/0x620 [ttm]
> [ 1035.437057] ttm_dma_populate+0xdd/0x390 [ttm]
> [ 1035.437062] ttm_tt_bind+0x2e/0x60 [ttm]
> [ 1035.437067] ttm_bo_handle_move_mem+0x4cf/0x550 [ttm]
> [ 1035.437073] ttm_bo_validate+0x119/0x130 [ttm]
> [ 1035.437104] ? drm_get_edid_switcheroo+0x16/0x40 [drm]
> [ 1035.437109] ttm_bo_init_reserved+0x334/0x380 [ttm]
> [ 1035.437114] ? ttm_bo_init+0x62/0xd0 [ttm]
> [ 1035.437190] ? nouveau_bo_invalidate_caches+...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...gt;>>> ????? drm_printf(p, "??? available_caching: 0x%08X\n",
>>>> man->available_caching);
>>>> ????? drm_printf(p, "??? default_caching: 0x%08X\n",
>>>> man->default_caching);
>>>> @@ -345,12 +344,6 @@ static int ttm_bo_handle_move_mem(struct
>>>> ttm_buffer_object *bo,
>>>> ? moved:
>>>> ????? bo->evicted = false;
>>>> ? -??? if (bo->mem.mm_node)
>>>> -??????? bo->offset = (bo->mem.start << PAGE_SHIFT) +
>>>> -??????????? bdev->man[bo-&...
2018 Oct 07
0
Device release NULL pointer dereference
...0
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000048 CR3: 000000042e65a004 CR4: 00000000003606f0
Call Trace:
nouveau_bo_move_m2mf.constprop.24+0x121/0x1e0 [nouveau]
nouveau_bo_move+0xaa/0x450 [nouveau]
? nvif_vmm_unmap+0x38/0x60 [nouveau]
? nouveau_vma_unmap+0x20/0x30 [nouveau]
ttm_bo_handle_move_mem+0x28a/0x5a0 [ttm]
ttm_bo_evict+0x171/0x350 [ttm]
? drm_mm_remove_node+0xbe/0x360 [drm]
ttm_mem_evict_first+0x18d/0x210 [ttm]
ttm_bo_force_list_clean+0xa1/0x170 [ttm]
ttm_bo_clean_mm+0x89/0xf0 [ttm]
nouveau_ttm_fini+0x2b/0xc0 [nouveau]
nouveau_drm_unload+0x7b/0xd0 [nouveau]
drm_dev_unregister+0x3f/0...
2020 Feb 18
0
[PATCH 8/8] drm/ttm: do not keep GPU dependent addresses
...>>>> ????? drm_printf(p, "??? available_caching: 0x%08X\n",
>>>> man->available_caching);
>>>> ????? drm_printf(p, "??? default_caching: 0x%08X\n",
>>>> man->default_caching);
>>>> @@ -345,12 +344,6 @@ static int ttm_bo_handle_move_mem(struct
>>>> ttm_buffer_object *bo,
>>>> ? moved:
>>>> ????? bo->evicted = false;
>>>> ? -??? if (bo->mem.mm_node)
>>>> -??????? bo->offset = (bo->mem.start << PAGE_SHIFT) +
>>>> -??????????? bdev->man[bo-&g...