Patch "drm/ttm: Always take the bo delayed cleanup path for imported bos" has been added to the 6.9-stable tree

2024-07-08 Thread gregkh
This is a note to let you know that I've just added the patch titled drm/ttm: Always take the bo delayed cleanup path for imported bos to the 6.9-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patc

Re: [PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-07-04 Thread Thomas Hellström
On Mon, 2024-07-01 at 12:43 +0200, Christian König wrote: > Am 28.06.24 um 20:13 schrieb Daniel Vetter: > > On Fri, Jun 28, 2024 at 03:51:33PM +, Matthew Brost wrote: > > > On Fri, Jun 28, 2024 at 05:38:48PM +0200, Thomas Hellström wrote: > > > > Bos can be put with multiple unrelated dma-resv

Re: [PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-07-01 Thread Christian König
Am 28.06.24 um 20:13 schrieb Daniel Vetter: On Fri, Jun 28, 2024 at 03:51:33PM +, Matthew Brost wrote: On Fri, Jun 28, 2024 at 05:38:48PM +0200, Thomas Hellström wrote: Bos can be put with multiple unrelated dma-resv locks held. But imported bos attempt to grab the bo dma-resv during dma-bu

Re: [PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-06-28 Thread Daniel Vetter
On Fri, Jun 28, 2024 at 03:51:33PM +, Matthew Brost wrote: > On Fri, Jun 28, 2024 at 05:38:48PM +0200, Thomas Hellström wrote: > > Bos can be put with multiple unrelated dma-resv locks held. But > > imported bos attempt to grab the bo dma-resv during dma-buf detach > > that typically happens du

Re: [PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-06-28 Thread Matthew Brost
On Fri, Jun 28, 2024 at 05:38:48PM +0200, Thomas Hellström wrote: > Bos can be put with multiple unrelated dma-resv locks held. But > imported bos attempt to grab the bo dma-resv during dma-buf detach > that typically happens during cleanup. That leads to lockde splats > similar to the below and a

[PATCH] drm/ttm: Always take the bo delayed cleanup path for imported bos

2024-06-28 Thread Thomas Hellström
Bos can be put with multiple unrelated dma-resv locks held. But imported bos attempt to grab the bo dma-resv during dma-buf detach that typically happens during cleanup. That leads to lockde splats similar to the below and a potential ABBA deadlock. Fix this by always taking the delayed workqueue