qualcommax: ipq-cmn-pll: keep the CMN block bus clocks enabled (ipq5018 boot fix) - #122
Open
AugustoAmaral wants to merge 1 commit into
Open
qualcommax: ipq-cmn-pll: keep the CMN block bus clocks enabled (ipq5018 boot fix)#122AugustoAmaral wants to merge 1 commit into
AugustoAmaral wants to merge 1 commit into
Conversation
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>
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.