[PATCH RESEND v3 1/5] clk: Respect CLK_OPS_PARENT_ENABLE during recalc
Alexander Stein
alexander.stein at ew.tq-group.com
Tue Jan 27 06:55:29 PST 2026
Hello,
Am Freitag, 23. Januar 2026, 02:45:33 CET schrieb Stephen Boyd:
> Quoting Nicolas Frattaroli (2025-12-15 03:23:58)
> > When CLK_OPS_PARENT_ENABLE was introduced, it guarded various clock
> > operations, such as setting the rate or switching parents. However,
> > another operation that can and often does touch actual hardware state is
> > recalc_rate, which may also be affected by such a dependency.
> >
> > Add parent enables/disables where the recalc_rate op is called directly.
> >
> > Fixes: fc8726a2c021 ("clk: core: support clocks which requires parents enable (part 2)")
> > Fixes: a4b3518d146f ("clk: core: support clocks which requires parents enable (part 1)")
> > Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> > Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>
> > Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli at collabora.com>
> > ---
>
> Applied to clk-next
Unfortunately this breaks my board TQMa8MPxL+MBa8MPxL on next-20260126.
Last lines on bootlog (earlycon is necessary)
> [ 1.175639] Initialise system trusted keyrings
> [ 1.178907] workingset: timestamp_bits=42 max_order=19 bucket_order=0
> [ 1.185822] NFS: Registering the id_resolver key type
> [ 1.190295] Key type id_resolver registered
> [ 1.194473] Key type id_legacy registered
> [ 1.198515] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
> [ 1.205235] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver
> Registering... [ 1.213235] cryptd: max_cpu_qlen set to 1000
> [ 1.274689] Key type asymmetric registered
> [ 1.275939] Asymmetric key parser 'x509' registered
> [ 1.280896] Block layer SCSI generic (bsg) driver version 0.4 loaded
> (major 242) [ 1.288278] io scheduler mq-deadline registered
> [ 1.292840] io scheduler kyber registered
> [ 1.299245] ledtrig-cpu: registered to indicate activity on CPUs
Reverting commit 669917676e93fca5ea3c66fc9539830312bec58e fixes the problem.
Best regards,
Alexander
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/
More information about the Linux-mediatek
mailing list