Re: OF: ERROR: Bad of_node_put() on /ocp/interconnect@4a000000/segment@0/target-module@8000/cm_core@0/l4per-cm@1700/l4per-clkctrl@28

From: Tony Lindgren
Date: Fri Apr 24 2020 - 11:38:16 EST


* Tero Kristo <t-kristo@xxxxxx> [200424 12:41]:
> On 17/04/2020 18:29, Tony Lindgren wrote:
> > * Naresh Kamboju <naresh.kamboju@xxxxxxxxxx> [200327 16:44]:
> > > The reported problem still happening on arm beagle board x15 device
> > > running Linux next kernel 20200327.
> > ...
> >
> > > [ 0.000000] OF: ERROR: Bad of_node_put() on
> > > /ocp/interconnect@4a000000/segment@0/target-module@8000/cm_core@0/l4per-cm@1700/l4per-clkctrl@28
> > > [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W
> > > 5.6.0-rc7-next-20200327 #1
> > > [ 0.000000] Hardware name: Generic DRA74X (Flattened Device Tree)
> > > [ 0.000000] [<c0311810>] (unwind_backtrace) from [<c030ba14>]
> > > (show_stack+0x10/0x14)
> > > [ 0.000000] [<c030ba14>] (show_stack) from [<c0fb6604>]
> > > (dump_stack+0xbc/0xd0)
> > > [ 0.000000] [<c0fb6604>] (dump_stack) from [<c0fbb07c>]
> > > (kobject_put+0xc0/0x104)
> > > [ 0.000000] [<c0fbb07c>] (kobject_put) from [<c1639e4c>]
> > > (of_clk_init+0x18c/0x228)
> > > [ 0.000000] [<c1639e4c>] (of_clk_init) from [<c1611544>]
> > > (omap_clk_init+0x3c/0x58)
> > > [ 0.000000] [<c1611544>] (omap_clk_init) from [<c1611ea8>]
> > > (omap4_sync32k_timer_init+0x8/0x2c)
> > > [ 0.000000] [<c1611ea8>] (omap4_sync32k_timer_init) from
> > > [<c161213c>] (omap5_realtime_timer_init+0x8/0x234)
> > > [ 0.000000] [<c161213c>] (omap5_realtime_timer_init) from
> > > [<c1600c88>] (start_kernel+0x330/0x4b8)
> >
> > Just FYI, Tero is looking at the clock issues that seem to be
> > causing these warnings.
>
> Haven't seen this before, but easily reproducible with multi_v7_defconfig. I
> have a simple fix for it now, will post to lists soon.

OK thanks for tracking it down.

Tony