linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Clock init issues on apq8098
@ 2018-11-29 12:40 Marc Gonzalez
  0 siblings, 0 replies; only message in thread
From: Marc Gonzalez @ 2018-11-29 12:40 UTC (permalink / raw)
  To: MSM
  Cc: Bjorn Andersson, Nicolas Dechesne, Niklas Cassel, Andy Gross, linux-clk

Hello,

kernel: v4.20-rc4
DTB: qcom/msm8998-mtp
defconfig: platform defconfig minus lots of stuff to make kernel smaller

When I boot v4.20-rc4 on my APQ8098-based board, the clk driver prints
the following warnings. (Because they are not powered up yet?)

[    1.817128] ------------[ cut here ]------------
[    1.820756] gcc_ufs_rx_symbol_1_clk status stuck at 'on'
[    1.820789] WARNING: CPU: 3 PID: 1 at drivers/clk/qcom/clk-branch.c:92 clk_branch_toggle+0x190/0x1b0
[    1.830753] Modules linked in:
[    1.839852] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G S                4.20.0-rc4 #13
[    1.842728] Hardware name: Qualcomm Technologies, Inc. MSM8998 v1 MTP (DT)
[    1.850625] pstate: 60000085 (nZCv daIf -PAN -UAO)
[    1.857302] pc : clk_branch_toggle+0x190/0x1b0
[    1.862074] lr : clk_branch_toggle+0x190/0x1b0
[    1.866500] sp : ffff00000807bcf0
[    1.870923] x29: ffff00000807bcf0 x28: 0000000000000008 
[    1.874316] x27: ffff0000089ba070 x26: ffff000008946490 
[    1.879697] x25: ffff0000088c26e0 x24: 0000000000000000 
[    1.884992] x23: ffff000009137480 x22: ffff000008412120 
[    1.890287] x21: 0000000000000000 x20: 0000000000000000 
[    1.895583] x19: ffff0000090e9000 x18: ffffffffffffffff 
[    1.900878] x17: 0000000000000000 x16: 0000000000000000 
[    1.906173] x15: ffff0000090e9648 x14: ffff000089191187 
[    1.911468] x13: ffff000009191195 x12: ffff0000090fb000 
[    1.916763] x11: ffff00000807bcf0 x10: ffff00000807bcf0 
[    1.922058] x9 : ffff00000807bcf0 x8 : 207461206b637574 
[    1.927353] x7 : 7320737574617473 x6 : ffff000009190c8c 
[    1.932648] x5 : 0000000000000000 x4 : 0000000000000000 
[    1.937944] x3 : ffffffffffffffff x2 : 00008000f5260000 
[    1.943241] x1 : e0dbf26541ede800 x0 : 0000000000000000 
[    1.948535] Call trace:
[    1.953822]  clk_branch_toggle+0x190/0x1b0
[    1.955998]  clk_branch2_disable+0x18/0x20
[    1.960167]  clk_disable_unused_subtree+0xc4/0xe0
[    1.964246]  clk_disable_unused+0x3c/0x130
[    1.969020]  do_one_initcall+0x5c/0x180
[    1.973015]  kernel_init_freeable+0x198/0x244
[    1.976748]  kernel_init+0x10/0x110
[    1.981255]  ret_from_fork+0x10/0x20
[    1.984555] ---[ end trace 04df2db406d24e2c ]---


[    1.988702] ------------[ cut here ]------------
[    1.992977] gcc_ufs_rx_symbol_0_clk status stuck at 'on'
[    1.992997] WARNING: CPU: 3 PID: 1 at drivers/clk/qcom/clk-branch.c:92 clk_branch_toggle+0x190/0x1b0
[    2.002888] Modules linked in:
[    2.011983] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G S      W         4.20.0-rc4 #13
[    2.014862] Hardware name: Qualcomm Technologies, Inc. MSM8998 v1 MTP (DT)
[    2.022760] pstate: 60000085 (nZCv daIf -PAN -UAO)
[    2.029436] pc : clk_branch_toggle+0x190/0x1b0
[    2.034211] lr : clk_branch_toggle+0x190/0x1b0
[    2.038636] sp : ffff00000807bcf0
[    2.043059] x29: ffff00000807bcf0 x28: 0000000000000008 
[    2.046452] x27: ffff0000089ba070 x26: ffff000008946490 
[    2.051833] x25: ffff0000088c2710 x24: 0000000000000000 
[    2.057128] x23: ffff0000091374e8 x22: ffff000008412120 
[    2.062423] x21: 0000000000000000 x20: 0000000000000000 
[    2.067718] x19: ffff0000090e9000 x18: ffffffffffffffff 
[    2.073013] x17: 0000000000000000 x16: 0000000000000000 
[    2.078308] x15: ffff0000090e9648 x14: ffff000089191187 
[    2.083603] x13: ffff000009191195 x12: ffff0000090fb000 
[    2.088899] x11: ffff00000807bcf0 x10: ffff00000807bcf0 
[    2.094194] x9 : ffff00000807bcf0 x8 : 207461206b637574 
[    2.099489] x7 : 7320737574617473 x6 : ffff000009190c8c 
[    2.104786] x5 : 0000000000000000 x4 : 0000000000000000 
[    2.110079] x3 : ffffffffffffffff x2 : 00008000f5260000 
[    2.115375] x1 : e0dbf26541ede800 x0 : 0000000000000000 
[    2.120670] Call trace:
[    2.125957]  clk_branch_toggle+0x190/0x1b0
[    2.128134]  clk_branch2_disable+0x18/0x20
[    2.132298]  clk_disable_unused_subtree+0xc4/0xe0
[    2.136382]  clk_disable_unused+0x3c/0x130
[    2.141153]  do_one_initcall+0x5c/0x180
[    2.145146]  kernel_init_freeable+0x198/0x244
[    2.148882]  kernel_init+0x10/0x110
[    2.153390]  ret_from_fork+0x10/0x20
[    2.156689] ---[ end trace 04df2db406d24e2d ]---


[    2.160880] ------------[ cut here ]------------
[    2.165113] gcc_gpu_bimc_gfx_clk status stuck at 'on'
[    2.165131] WARNING: CPU: 3 PID: 1 at drivers/clk/qcom/clk-branch.c:92 clk_branch_toggle+0x190/0x1b0
[    2.174674] Modules linked in:
[    2.183859] CPU: 3 PID: 1 Comm: swapper/0 Tainted: G S      W         4.20.0-rc4 #13
[    2.186737] Hardware name: Qualcomm Technologies, Inc. MSM8998 v1 MTP (DT)
[    2.194635] pstate: 60000085 (nZCv daIf -PAN -UAO)
[    2.201311] pc : clk_branch_toggle+0x190/0x1b0
[    2.206084] lr : clk_branch_toggle+0x190/0x1b0
[    2.210511] sp : ffff00000807bcf0
[    2.214935] x29: ffff00000807bcf0 x28: 0000000000000008 
[    2.218327] x27: ffff0000089ba070 x26: ffff000008946490 
[    2.223708] x25: ffff0000088c2d68 x24: 0000000000000000 
[    2.229003] x23: ffff000009138368 x22: ffff000008412120 
[    2.234298] x21: 0000000000000000 x20: 0000000000000000 
[    2.239594] x19: ffff0000090e9000 x18: ffffffffffffffff 
[    2.244889] x17: 0000000000000000 x16: 0000000000000000 
[    2.250184] x15: ffff0000090e9648 x14: ffff000089191187 
[    2.255479] x13: ffff000009191195 x12: ffff0000090fb000 
[    2.260774] x11: ffff00000807bcf0 x10: ffff00000807bcf0 
[    2.266069] x9 : ffff00000807bcf0 x8 : 6e6f27207461206b 
[    2.271364] x7 : 6375747320737574 x6 : ffff000009190c89 
[    2.276659] x5 : 0000000000000000 x4 : 0000000000000000 
[    2.281954] x3 : ffffffffffffffff x2 : 00008000f5260000 
[    2.287249] x1 : e0dbf26541ede800 x0 : 0000000000000000 
[    2.292544] Call trace:
[    2.297831]  clk_branch_toggle+0x190/0x1b0
[    2.300008]  clk_branch2_disable+0x18/0x20
[    2.304175]  clk_disable_unused_subtree+0xc4/0xe0
[    2.308256]  clk_disable_unused+0x3c/0x130
[    2.313027]  do_one_initcall+0x5c/0x180
[    2.317020]  kernel_init_freeable+0x198/0x244
[    2.320756]  kernel_init+0x10/0x110
[    2.325266]  ret_from_fork+0x10/0x20
[    2.328564] ---[ end trace 04df2db406d24e2e ]---



Another (totally unrelated) warning is:
CPU features: SANITY CHECK: Unexpected variation in SYS_ID_AA64MMFR0_EL1. Boot CPU: 0x00000000001122, CPU4: 0x00000000101122
Is that bad, doctor?

Regards.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-29 12:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-29 12:40 Clock init issues on apq8098 Marc Gonzalez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).