Re: [PATCH] accel/rocket: search every core slot when looking up a scheduler
From: Igor Paunovic
Date: Sat Sep 05 2026 - 11:28:34 EST
> - [Critical] The patch introduces a compilation failure by referencing an
> undefined struct member `max_cores` in `struct rocket_device`.
Correct on its own, and my fault for leaving it to a trailer.
max_cores is added by "accel/rocket: search every core slot when a core is
removed", still on the list:
https://lore.kernel.org/dri-devel/20260904125936.26234-1-royalnet026@xxxxxxxxx/
This patch declares that dependency as prerequisite-patch-id, and the id in
it matches git patch-id of that patch exactly. On top of it the build is
clean with W=1. On its own it does not build, as you say - it should have
said so in plain text below the --- as well, not only in the trailer. I
will do that on any patch of mine that depends on a pending one.
The pre-existing issues are useful, and two of them are already in hand: the
global rdev left holding an ERR_PTR, and the devm allocations on drm_dev->dev
that are never freed. The reset work cancelled after drm_sched_fini, and the
iommu_group reference taken in the IRQ handler, I had not seen. I will not
send patches for them until I have reproduced them on hardware - the two bugs
I did send this week both looked different once a KASAN kernel had printed
the trace.
Igor