[PATCH] ARM: dts: broadcom: rpi: Switch to V3D firmware clock
Stefan Wahren
wahrenst at gmx.net
Tue Oct 21 11:37:57 PDT 2025
Hi Mark,
Am 21.10.25 um 14:09 schrieb Mark Brown:
> On Sun, Oct 05, 2025 at 01:38:16PM +0200, Stefan Wahren wrote:
>> Until commit 919d6924ae9b ("clk: bcm: rpi: Turn firmware clock on/off
>> when preparing/unpreparing") the clk-raspberrypi driver wasn't able
>> to change the state of the V3D clock. Only the clk-bcm2835 was able
>> to do this before. After this commit both drivers were able to work
>> against each other, which could result in a system freeze. One step
>> to avoid this conflict is to switch all V3D consumer to the firmware
>> clock.
> I'm seeing the GPU start to fail probing on the Raspberry Pi 4 in
> today's pending-fixes:
>
> # # v3d fec00000.gpu: probe with driver v3d failed with error -110
> # not ok 1 +platform:fec00000.gpu
>
> which bisects to this commit. I'm not sure if that's just a preexisting
> issue which is now being properly detected or if it's an actual issue,
> I'm not testing the GPU at all so I couldn't tell you if it was actually
> working.
thanks for your report. At least I'm able to reproduce this issue with
current linux-next (arm64/defconfig). There seems to be more driver
affected by this issue and it doesn't look trivial. So it might take
some days to analyze and fix, because I'm on business travel.
Best regards
> Full log:
>
> https://lava.sirena.org.uk/scheduler/job/1981716#L9006
>
> Bisect:
>
> # bad: [b1c99eb0279a6d2aa32fdf6b3f2b35ab05f41d9d] Merge branch 'for-linux-next-fixes' ofhttps://gitlab.freedesktop.org/drm/misc/kernel.git
> # good: [6548d364a3e850326831799d7e3ea2d7bb97ba08] Merge tag 'cgroup-for-6.18-rc2-fixes' ofgit://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
> # good: [8735696acea24ac1f9d4490992418c71941ca68c] spi: cadence-quadspi: Fix pm_runtime unbalance on dma EPROBE_DEFER
> # good: [6b6e03106163458716c47df2baa9ad08ed4ddb0e] spi: amlogic: fix spifc build error
> # good: [0b7d9b25e4bc2e478c9d06281a65f930769fca09] spi: airoha: fix reading/writing of flashes with more than one plane per lun
> # good: [b508de5211652c439419cda7840feb3f22f75cd6] Merge tag 'scmi-fixes-6.18' ofgit://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes
> # good: [03667191cbeb1a23c444c88b7c058dcbf2dd03f1] Merge tag 'ffa-fix-6.18' ofgit://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes
> # good: [f43579ef3500527649b1c233be7cf633806353aa] spi: spi-nxp-fspi: limit the clock rate for different sample clock source selection
> # good: [ee795e82e10197c070efd380dc9615c73dffad6c] spi: rockchip-sfc: Fix DMA-API usage
> # good: [4092fc5f35cecb01d59b2cdf7740b203eac6948a] spi: dt-bindings: cadence: add soc-specific compatible strings for zynqmp and versal-net
> # good: [18a5f1af596e6ba22cd40ada449063041f3ce6d4] spi: dw-mmio: add error handling for reset_control_deassert()
> git bisect start 'b1c99eb0279a6d2aa32fdf6b3f2b35ab05f41d9d' '6548d364a3e850326831799d7e3ea2d7bb97ba08' '8735696acea24ac1f9d4490992418c71941ca68c' '6b6e03106163458716c47df2baa9ad08ed4ddb0e' '0b7d9b25e4bc2e478c9d06281a65f930769fca09' 'b508de5211652c439419cda7840feb3f22f75cd6' '03667191cbeb1a23c444c88b7c058dcbf2dd03f1' 'f43579ef3500527649b1c233be7cf633806353aa' 'ee795e82e10197c070efd380dc9615c73dffad6c' '4092fc5f35cecb01d59b2cdf7740b203eac6948a' '18a5f1af596e6ba22cd40ada449063041f3ce6d4'
> # test job: [8735696acea24ac1f9d4490992418c71941ca68c]https://lava.sirena.org.uk/scheduler/job/1948358
> # test job: [6b6e03106163458716c47df2baa9ad08ed4ddb0e]https://lava.sirena.org.uk/scheduler/job/1959348
> # test job: [0b7d9b25e4bc2e478c9d06281a65f930769fca09]https://lava.sirena.org.uk/scheduler/job/1962113
> # test job: [b508de5211652c439419cda7840feb3f22f75cd6]https://lava.sirena.org.uk/scheduler/job/1981616
> # test job: [03667191cbeb1a23c444c88b7c058dcbf2dd03f1]https://lava.sirena.org.uk/scheduler/job/1980576
> # test job: [f43579ef3500527649b1c233be7cf633806353aa]https://lava.sirena.org.uk/scheduler/job/1948241
> # test job: [ee795e82e10197c070efd380dc9615c73dffad6c]https://lava.sirena.org.uk/scheduler/job/1927696
> # test job: [4092fc5f35cecb01d59b2cdf7740b203eac6948a]https://lava.sirena.org.uk/scheduler/job/1911635
> # test job: [18a5f1af596e6ba22cd40ada449063041f3ce6d4]https://lava.sirena.org.uk/scheduler/job/1930414
> # test job: [b1c99eb0279a6d2aa32fdf6b3f2b35ab05f41d9d]https://lava.sirena.org.uk/scheduler/job/1981716
> # bad: [b1c99eb0279a6d2aa32fdf6b3f2b35ab05f41d9d] Merge branch 'for-linux-next-fixes' ofhttps://gitlab.freedesktop.org/drm/misc/kernel.git
> git bisect bad b1c99eb0279a6d2aa32fdf6b3f2b35ab05f41d9d
> # test job: [2878351f8275c49fc809cbf6490a4a2e05cd360d]https://lava.sirena.org.uk/scheduler/job/1982267
> # bad: [2878351f8275c49fc809cbf6490a4a2e05cd360d] Merge branch 'driver-core-linus' ofhttps://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git
> git bisect bad 2878351f8275c49fc809cbf6490a4a2e05cd360d
> # test job: [ea6aa8d2fbbba24d4f0732596fc716800eb4e3f6]https://lava.sirena.org.uk/scheduler/job/1982733
> # bad: [ea6aa8d2fbbba24d4f0732596fc716800eb4e3f6] Merge branch 'for-next' ofhttps://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git
> git bisect bad ea6aa8d2fbbba24d4f0732596fc716800eb4e3f6
> # test job: [40efeb7008e820c09532760b0aa07f327a5eaa4f]https://lava.sirena.org.uk/scheduler/job/1983168
> # bad: [40efeb7008e820c09532760b0aa07f327a5eaa4f] Merge branch 'arm/fixes' ofhttps://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git
> git bisect bad 40efeb7008e820c09532760b0aa07f327a5eaa4f
> # test job: [70b154f7b68ac0df0abdc242462856ef58cd50a3]https://lava.sirena.org.uk/scheduler/job/1983459
> # good: [70b154f7b68ac0df0abdc242462856ef58cd50a3] Merge branch 'mm-hotfixes-unstable' ofhttps://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
> git bisect good 70b154f7b68ac0df0abdc242462856ef58cd50a3
> # test job: [bc16536fee96bae9ed573dfcc6d455775682f041]https://lava.sirena.org.uk/scheduler/job/1983942
> # good: [bc16536fee96bae9ed573dfcc6d455775682f041] Merge branch 'fixes' ofhttps://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
> git bisect good bc16536fee96bae9ed573dfcc6d455775682f041
> # test job: [2f3471cc5d4179811a2c15675ea278d348d30d73]https://lava.sirena.org.uk/scheduler/job/1984071
> # bad: [2f3471cc5d4179811a2c15675ea278d348d30d73] Merge tag 'arm-soc/for-6.18/devicetree-arm64-fixes' ofhttps://github.com/Broadcom/stblinux into arm/fixes
> git bisect bad 2f3471cc5d4179811a2c15675ea278d348d30d73
> # test job: [d2dc8a386a906bc120fda82207e291244e73d292]https://lava.sirena.org.uk/scheduler/job/1984278
> # bad: [d2dc8a386a906bc120fda82207e291244e73d292] Merge tag 'arm-soc/for-6.18/devicetree-fixes' ofhttps://github.com/Broadcom/stblinux into arm/fixes
> git bisect bad d2dc8a386a906bc120fda82207e291244e73d292
> # test job: [4adc20ba95d472a919f54d441663924e33c92279]https://lava.sirena.org.uk/scheduler/job/1984408
> # bad: [4adc20ba95d472a919f54d441663924e33c92279] ARM: dts: broadcom: rpi: Switch to V3D firmware clock
> git bisect bad 4adc20ba95d472a919f54d441663924e33c92279
> # first bad commit: [4adc20ba95d472a919f54d441663924e33c92279] ARM: dts: broadcom: rpi: Switch to V3D firmware clock
More information about the linux-arm-kernel
mailing list