[PATCH] accel/rocket: search every core slot when looking up a scheduler

Heiko Stuebner heiko at sntech.de
Tue Oct 13 04:58:09 PDT 2026


On Sat, 05 Sep 2026 17:04:32 +0200, Igor Paunovic wrote:
> sched_to_core() walks rdev->cores[] up to rdev->num_cores, and
> rocket_remove() decrements num_cores for every core it removes. Unbind a
> core that is not the last one and the cores behind it fall outside the
> search, so sched_to_core() returns NULL for a core that is still bound and
> still running jobs. Neither caller checks the result:
> 
>   rocket_job_run():      rocket_fence_create(core), core->dev
>   rocket_job_timedout(): dev_err(core->dev, "NPU job timed out")
> 
> [...]

Applied, thanks!

[1/1] accel/rocket: search every core slot when looking up a scheduler
      commit: 89c2c777df17eb0201c8e22afabbf3691f2a28fe

Best regards,
-- 
Heiko Stuebner <heiko at sntech.de>



More information about the linux-arm-kernel mailing list