[PATCH] clk: bcm: rpi: Mark VEC clock as CLK_IGNORE_UNUSED

Brian Masney bmasney at redhat.com
Fri Apr 24 10:45:23 PDT 2026


On Fri, Apr 24, 2026 at 11:37 AM Mark Brown <broonie at kernel.org> wrote:
> From: Maíra Canal <mcanal at igalia.com>
>
> On Raspberry Pi 3B, the VEC clock is used by the VideoCore firmware
> display driver, which remains active until the vc4 driver loads and
> sends NOTIFY_DISPLAY_DONE. If this clock is disabled during boot, a bus
> lockup happens and the firmware becomes unresponsive, causing a complete
> system lockup.
>
> Mark the VEC clock with CLK_IGNORE_UNUSED so it survives the unused
> clock disablement and remains available until the vc4 driver takes over
> display management.
>
> Fixes: 672299736af6 ("clk: bcm: rpi: Manage clock rate in prepare/unprepare callbacks")
> Reported-by: Mark Brown <broonie at kernel.org>
> Closes: https://lore.kernel.org/r/5f0bec08-f458-4fba-8bf3-06817a100c4c@sirena.org.uk
> Signed-off-by: Maíra Canal <mcanal at igalia.com>
> Link: https://patch.msgid.link/20260401111416.562279-2-mcanal@igalia.com
> Tested-by: Mark Brown <broonie at kernel.org>
> Signed-off-by: Mark Brown <broonie at kernel.org>

Acked-by: Brian Masney <bmasney at redhat.com> # Active contributor to clk

I agree that this would be great to go in direct if possible.




More information about the linux-arm-kernel mailing list