Skip to content

qualcommax: ipq-cmn-pll: keep the CMN block bus clocks enabled (ipq5018 boot fix) - #122

Open
AugustoAmaral wants to merge 1 commit into
qosmio:main-nssfrom
AugustoAmaral:pr/cmn-pll-bus-clocks
Open

qualcommax: ipq-cmn-pll: keep the CMN block bus clocks enabled (ipq5018 boot fix)#122
AugustoAmaral wants to merge 1 commit into
qosmio:main-nssfrom
AugustoAmaral:pr/cmn-pll-bus-clocks

Conversation

@AugustoAmaral

Copy link
Copy Markdown

Backport of @kuncy7's CMN PLL fix, already in openwrt/openwrt main (applied manually by robimarko as openwrt/openwrt@86b584bd0994 in patches-6.18/, from openwrt#24653) but not yet in this tree's 6.12 stack. The probe takes a runtime PM reference and pm_clk gates the GCC AHB/SYS bus clocks asynchronously a few ms after probe — a boot race that silently hangs the SoC on ipq5018 when the NSS/UNIPHY nodes are enabled. It ranges from an occasional hang to a fully reproducible boot loop depending on the binary layout.

On the AX6000, the NSS-enabled image (#113/#114/#115) does not boot at all without this — I hit the hang on hardware and confirmed the fix (Tested-by on the upstream PR). Added as patches-6.12/0192-…; the full CMN patch sequence (0063–0069, 0190, 0192, 0913–0916) applies cleanly with it in place. It will also arrive naturally with the next rebase onto openwrt main — until then, ipq5018 NSS builds need it to boot.


Re-opened as a new PR: the original was closed automatically by GitHub when my fork got detached. Same content, new fork.

Backport of Stanislaw Pal's (kuncy7) fix for the
ipq_cmn_pll_clk_probe() boot race that silently hangs the ipq5018 SoC.
Applied upstream as openwrt/openwrt@86b584bd0994 (PR openwrt#24653),
but not present in this tree's 6.12 stack. Without it, an NSS-enabled
ipq5018 image does not reach userspace on the AX6000.

Signed-off-by: Augusto Amaral <contact@augustoamaral.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant