From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sender4-op-o11.zoho.com (sender4-op-o11.zoho.com [136.143.188.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C230723BD17; Thu, 6 Aug 2026 00:07:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.11 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785974845; cv=pass; b=byo8e1aSFvNpMKg9qi2wX1eHjvzX7/dPu82UC8N5Pmh9gscyTq037HTbdOTkILl6qjdOF1effh2Gkq07Z/gdX6MD0bo+vQQ66dwD5eWPpFpwvWh+Mjh1ZbKZz1K+ADNHKyHYg04kncKecbTRTtx5nCqfwZWkyJsKzxBbqLpQI+U= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785974845; c=relaxed/simple; bh=i0OYm55VnGqgGb0VFbxOmWFfxkHnHHoaKYh8LfQZVtM=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=JkF27KsgbKOkeYmHHnUGggNI5hIljG1HIiOZ32B+yk9ZdlTs316WluLZNrjCWeSwn2qKRtXW8VLm/ZMgBv3SWNyycHRDUK5ltQFZu0X1psdmqcODnrWeb9x653S76VdpfToBtwMUnj/BJhDHPldSKyyedzQrZQAoQrUjkccKDII= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (1024-bit key) header.d=collabora.com header.i=daniel.almeida@collabora.com header.b=gqDpxPtP; arc=pass smtp.client-ip=136.143.188.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=collabora.com header.i=daniel.almeida@collabora.com header.b="gqDpxPtP" ARC-Seal: i=1; a=rsa-sha256; t=1785974811; cv=none; d=zohomail.com; s=zohoarc; b=F8szQjloI2HGbswnB6GC8fbCZwhihcCrn+BQ6UcWK/tSHtq+iBPuHO9TWxjDYJvUodIFhO7jGrP/kufDjIm1DxqDFnlz7YyTzqgaml1mQoIAVQFOYRYDatjwiu3USAa9USamYyIBSSy3CbeYEBbQK2CHBWKXmt0LsguhUbKTHOA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1785974811; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=i0OYm55VnGqgGb0VFbxOmWFfxkHnHHoaKYh8LfQZVtM=; b=SIeoYuWM+gvgFPcATFE6+tUlzSEJzyAwnzL+G3Kq68DtBMM1h3S1Y3QI4KAnJKOF8q/hL7QxtIrqqzG+2AgkRloaBuWsK3DKHjXDKpKGijG83U1qh7166zDWrxw3a4BC88D/f+hKc86KtwtEphbGh2I6tEgzYix/n7b2uMsEoMQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=daniel.almeida@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1785974811; s=zohomail; d=collabora.com; i=daniel.almeida@collabora.com; h=Content-Type:Mime-Version:Subject:Subject:From:From:In-Reply-To:Date:Date:Cc:Cc:Content-Transfer-Encoding:Message-Id:Message-Id:To:To:Reply-To; bh=i0OYm55VnGqgGb0VFbxOmWFfxkHnHHoaKYh8LfQZVtM=; b=gqDpxPtPAhkDzKfENdNEwBY1Ra4gzCP6UqsC/9mOqbkb9ujjqqe/dbj1SBK3j1O1 Y3qNSWJQI/EwpnzQUVVuXVVGXFgaZs/YpDzqopvhYjktOPrVwgv0y64Z7XoBV1u/Si4 Ry0+WFzY6E2elWwC7voNP1ZNRNnx+5QryZoW0r3w= Received: by mx.zohomail.com with SMTPS id 1785974809483389.16040687769885; Wed, 5 Aug 2026 17:06:49 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: [PATCH v3 0/3] implement GPU reset API From: Daniel Almeida In-Reply-To: <20260708114358.957305-1-work@onurozkan.dev> Date: Wed, 5 Aug 2026 21:06:31 -0300 Cc: linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, dri-devel@lists.freedesktop.org, dakr@kernel.org, aliceryhl@google.com, airlied@gmail.com, simona@ffwll.ch, ojeda@kernel.org, boqun@kernel.org, gary@garyguo.net, bjorn3_gh@protonmail.com, lossin@kernel.org, a.hindborg@kernel.org, tmgross@umich.edu Content-Transfer-Encoding: quoted-printable Message-Id: References: <20260708114358.957305-1-work@onurozkan.dev> To: =?utf-8?Q?Onur_=C3=96zkan?= X-Mailer: Apple Mail (2.3826.700.81) X-ZohoMailClient: External Hi Onur, I went through this and Sami's downstream implementation as asked. I = think we can strike a middle ground here, because it looks like the two trees = need different things at the moment. Upstream tyr today has no scheduler and no jobs. It seems like = everywhere we might want to issue resets can get a hold of &Device: probe, ScopedQueue, IRQ handlers and etc. For this, I think your 'bound design = fits, and I'd like v4 to keep it. I think the problem starts when the job queue lands, because now we = might find ourselves in places that only have access to the DRM device data which = has a 'static bound and thus a hard requirement on Devres, AFAIU. I think we = can keep that in tyr-dev for now and land on top of your code later, if we shape = a few things accordingly. I will leave comments on 3/3. In any case, there are changes in !74 which I think are improvements = regardless of the 'bound vs devres question, and I also think v4 should come with a = user. How about adding the GLB_PING watchdog? It would exercise schedule(), = give ScopedQueue its first user and lets us test this on the board. Lastly, can you use b4 to manage the dependencies for this series, if = you haven't yet? It would make it easier to apply. -- Daniel