[PATCH v2] drm/nouveau: prime: fix ttm_bo_delayed_delete oops

2025-03-19 Thread Chris Bainbridge
Fix an oops in ttm_bo_delayed_delete which results from dererencing a dangling pointer: Oops: general protection fault, probably for non-canonical address 0x6b6b6b6b6b6b6b7b: [#1] PREEMPT SMP CPU: 4 UID: 0 PID: 1082 Comm: kworker/u65:2 Not tainted 6.14.0-rc4-00267-g505460b44513-dirty #216 H

Re: [PATCH v2] drm/nouveau: prime: fix ttm_bo_delayed_delete oops

2025-03-19 Thread Danilo Krummrich
On Wed, Mar 19, 2025 at 03:06:52PM +0100, Christian König wrote: > Am 19.03.25 um 14:04 schrieb Danilo Krummrich: > > >> Signed-off-by: Chris Bainbridge > >> Co-Developed-by: Christian König > > Then also Christian's SoB is required. > > I only pointed out which two lines in nouveau need to mov

Re: [PATCH v2] drm/nouveau: prime: fix ttm_bo_delayed_delete oops

2025-03-19 Thread Christian König
Am 19.03.25 um 14:04 schrieb Danilo Krummrich: > Hi Chris, > > Thanks for the fix, few comments below. > > On Wed, Mar 19, 2025 at 12:54:26PM +, Chris Bainbridge wrote: >> Fix an oops in ttm_bo_delayed_delete which results from dererencing a >> dangling pointer: >> >> Oops: general protection f

Re: [PATCH v2] drm/nouveau: prime: fix ttm_bo_delayed_delete oops

2025-03-19 Thread Danilo Krummrich
Hi Chris, Thanks for the fix, few comments below. On Wed, Mar 19, 2025 at 12:54:26PM +, Chris Bainbridge wrote: > Fix an oops in ttm_bo_delayed_delete which results from dererencing a > dangling pointer: > > Oops: general protection fault, probably for non-canonical address > 0x6b6b6b6b6b6b