[Nouveau] [PATCH] mm: Take a page reference when removing device exclusive entries

2023-03-27 Thread Alistair Popple
Device exclusive page table entries are used to prevent CPU access to a page whilst it is being accessed from a device. Typically this is used to implement atomic operations when the underlying bus does not support atomic access. When a CPU thread encounters a device exclusive entry it locks the

Re: [Nouveau] [PATCH] drm/nouveau: Fix bug in buffer relocs for Nouveau

2023-03-27 Thread Christian König
Am 27.03.23 um 10:42 schrieb John Ogness: On 2023-01-19, Tanmay Bhushan <0070472...@gmail.com> wrote: dma_resv_wait_timeout returns greater than zero on success as opposed to ttm_bo_wait_ctx. As a result of that relocs will fail and give failure even when it was a success. Today I switched my