mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 17:02:17 +00:00
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: 672299736a ("clk: bcm: rpi: Manage clock rate in prepare/unprepare callbacks")
Reported-by: Mark Brown <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Signed-off-by: Maíra Canal <[email protected]>
Link: https://patch.msgid.link/[email protected]
Tested-by: Mark Brown <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Acked-by: Brian Masney <[email protected]> # Active contributor to clk
Reviewed-by: Stefan Wahren <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>