Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
* da9063 - Reboot issue : koops rcu_note_context_switch
@ 2019-03-26  7:49 Köry Maincent
  2019-03-28 18:24 ` hariprasad kelam
  0 siblings, 1 reply; 4+ messages in thread
From: Köry Maincent @ 2019-03-26  7:49 UTC (permalink / raw)
  To: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 4047 bytes --]

Hello,

I got a kernel warning on the reboot of my embedded board, and sometimes I got stuck in the reboot.
I work on the IMX6Q with a PMIC da9063 and the last kernel release.

It happens in the da9063_wdt_restart function at the regmap_write call in the CONTROL_F register. (drivers/watchdog/da9063_wdt.c)
If I access to other register in that function, I don't have this issue.

I don't see the link between the rcu as noted in the koops and the write in a specific register of the pmic.

Could you help me to go further in the debug?


[   32.850293] ------------[ cut here ]------------
[   32.854929] WARNING: CPU: 0 PID: 724 at kernel/rcu/tree_plugin.h:337 rcu_note_context_switch+0xac/0x554
[   32.864322] Modules linked in:
[   32.867386] CPU: 0 PID: 724 Comm: reboot Not tainted 5.0.4-yocto-standard+ #49
[   32.874609] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[   32.881155] [<80111164>] (unwind_backtrace) from [<8010c81c>] (show_stack+0x10/0x14)
[   32.888911] [<8010c81c>] (show_stack) from [<808bde64>] (dump_stack+0x88/0x9c)
[   32.896147] [<808bde64>] (dump_stack) from [<8012077c>] (__warn+0xdc/0xf4)
[   32.903031] [<8012077c>] (__warn) from [<801208ac>] (warn_slowpath_null+0x40/0x48)
[   32.910607] [<801208ac>] (warn_slowpath_null) from [<8017596c>] (rcu_note_context_switch+0xac/0x554)
[   32.919751] [<8017596c>] (rcu_note_context_switch) from [<808d78f8>] (__schedule+0x70/0x584)
[   32.928196] [<808d78f8>] (__schedule) from [<808d7e60>] (schedule+0x54/0xb0)
[   32.935256] [<808d7e60>] (schedule) from [<808dbc5c>] (schedule_hrtimeout_range_clock+0xd8/0x15c)
[   32.944137] [<808dbc5c>] (schedule_hrtimeout_range_clock) from [<808dbcf8>] (schedule_hrtimeout_range+0x18/0x20)
[   32.954319] [<808dbcf8>] (schedule_hrtimeout_range) from [<808db630>] (usleep_range+0x6c/0x90)
[   32.962941] [<808db630>] (usleep_range) from [<80681ac4>] (i2c_imx_start+0xa0/0x13c)
[   32.970692] [<80681ac4>] (i2c_imx_start) from [<80682874>] (i2c_imx_xfer+0x68/0xe94)
[   32.978447] [<80682874>] (i2c_imx_xfer) from [<8067c4c4>] (__i2c_transfer+0x168/0x2cc)
[   32.986372] [<8067c4c4>] (__i2c_transfer) from [<8067c68c>] (i2c_transfer+0x64/0xe4)
[   32.994128] [<8067c68c>] (i2c_transfer) from [<804dee9c>] (regmap_i2c_read+0x58/0x88)
[   33.001968] [<804dee9c>] (regmap_i2c_read) from [<804daee4>] (_regmap_raw_read+0xac/0x11c)
[   33.010239] [<804daee4>] (_regmap_raw_read) from [<804daf8c>] (_regmap_bus_read+0x38/0x60)
[   33.018511] [<804daf8c>] (_regmap_bus_read) from [<804da0a8>] (_regmap_read+0x60/0xb8)
[   33.026436] [<804da0a8>] (_regmap_read) from [<804da508>] (_regmap_update_bits+0xb0/0xec)
[   33.034620] [<804da508>] (_regmap_update_bits) from [<804da5e0>] (_regmap_select_page+0x9c/0xf8)
[   33.043412] [<804da5e0>] (_regmap_select_page) from [<804dab18>] (_regmap_raw_write_impl+0x4dc/0x69c)
[   33.052637] [<804dab18>] (_regmap_raw_write_impl) from [<804db5ec>] (regmap_write+0x3c/0x5c)
[   33.061087] [<804db5ec>] (regmap_write) from [<806be9ec>] (da9063_wdt_restart+0x54/0xa0)
[   33.069185] [<806be9ec>] (da9063_wdt_restart) from [<806bd288>] (watchdog_restart_notifier+0x18/0x2c)
[   33.078416] [<806bd288>] (watchdog_restart_notifier) from [<8013f148>] (notifier_call_chain+0x48/0x84)
[   33.087731] [<8013f148>] (notifier_call_chain) from [<8013f3d0>] (atomic_notifier_call_chain+0x34/0x48)
[   33.097138] [<8013f3d0>] (atomic_notifier_call_chain) from [<8010b12c>] (machine_restart+0x78/0x7c)
[   33.106194] [<8010b12c>] (machine_restart) from [<80140aac>] (sys_reboot+0xd8/0x1d0)
[   33.113945] [<80140aac>] (sys_reboot) from [<80101000>] (ret_fast_syscall+0x0/0x54)
[   33.121604] Exception stack(0xed1e1fa8 to 0xed1e1ff0)
[   33.126663] 1fa0:                   00012230 7e895db4 fee1dead 28121969 01234567 00000000
[   33.134847] 1fc0: 00012230 7e895db4 00000003 00000058 000225f8 00000000 00000000 00000000
[   33.143027] 1fe0: 76f26ea0 7e895c14 00010fd8 76f26ec0
[   33.148080] ---[ end trace 1e06dce5f82e2a7a ]---


--
Regards
Kory

[-- Attachment #1.2: Type: text/html, Size: 24635 bytes --]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
<br>
I got a kernel warning on the reboot of my embedded board, and sometimes I got stuck in the reboot.<br>
I work on the IMX6Q with a PMIC da9063 and the last kernel release.<br>
<br>
It happens in the <i>da9063_wdt_restart</i> function at the <i>regmap_write</i> call in the CONTROL_F register. (drivers/watchdog/da9063_wdt.c)<br>
If I access to other register in that function, I don't have this issue.<br>
<br>
I don't see the link between the rcu as noted in the koops and the write in a specific register of the pmic.<br>
<br>
Could you help me to go further in the debug?<br>
<br>
<br>
[&nbsp;&nbsp; 32.850293] ------------[ cut here ]------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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p;&nbsp;
<br>
[&nbsp;&nbsp; 32.935256] [&lt;808d7e60&gt;] (schedule) from [&lt;808dbc5c&gt;] (schedule_hrtimeout_range_clock&#43;0xd8/0x15c)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
[&nbsp;&nbsp; 32.944137] [&lt;808dbc5c&gt;] (schedule_hrtimeout_range_clock) from [&lt;808dbcf8&gt;] (schedule_hrtimeout_range&#43;0x18/0x20)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
[&nbsp;&nbsp; 32.954319] [&lt;808dbcf8&gt;] (schedule_hrtimeout_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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br>
[&nbsp;&nbsp; 33.148080] ---[ end trace 1e06dce5f82e2a7a ]---&nbsp; <br>
<br>
<br>
--<br>
Regards<br>
Kory<br>
</body>
</html>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: da9063 - Reboot issue : koops rcu_note_context_switch
  2019-03-26  7:49 da9063 - Reboot issue : koops rcu_note_context_switch Köry Maincent
@ 2019-03-28 18:24 ` hariprasad kelam
  2019-04-01  7:53   ` Köry Maincent
  2019-04-01  9:39   ` Köry Maincent
  0 siblings, 2 replies; 4+ messages in thread
From: hariprasad kelam @ 2019-03-28 18:24 UTC (permalink / raw)
  To: Köry Maincent; +Cc: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 5045 bytes --]

Hi Kory Maincent.

On Tue, 26 Mar 2019 at 13:21, Köry Maincent <kory.maincent@navocap.com>
wrote:

> Hello,
>
> I got a kernel warning on the reboot of my embedded board, and sometimes I
> got stuck in the reboot.
> I work on the IMX6Q with a PMIC da9063 and the last kernel release.
>
> It happens in the *da9063_wdt_restart* function at the *regmap_write*
> call in the CONTROL_F register. (drivers/watchdog/da9063_wdt.c)
>
>
From trace we are able figure out the flow,

reboot
|
|
invokes system call(sys_reboot)
|
|
 watchdog_restart)notifier
|
|
da9063_wdt_restart
|
|
It sending I2c rear/write commands.

Is this expected behaviour  ??
If I access to other register in that function, I don't have this issue.
The reason could be ,you are accessing other registers directly not through
I2C.


> I don't see the link between the rcu as noted in the koops and the write
> in a specific register of the pmic.
>
> Could you help me to go further in the debug?
>
>
> [   32.850293] ------------[ cut here
> ]------------
>
> [   32.854929] WARNING: CPU: 0 PID: 724 at kernel/rcu/tree_plugin.h:337
> rcu_note_context_switch+0xac/0x554
>
> [   32.864322] Modules linked
> in:
>
> [   32.867386] CPU: 0 PID: 724 Comm: reboot Not tainted
> 5.0.4-yocto-standard+
> #49
>
> [   32.874609] Hardware name: Freescale i.MX6 Quad/DualLite (Device
> Tree)
>
> [   32.881155] [<80111164>] (unwind_backtrace) from [<8010c81c>]
> (show_stack+0x10/0x14)
>
> [   32.888911] [<8010c81c>] (show_stack) from [<808bde64>]
> (dump_stack+0x88/0x9c)
>
> [   32.896147] [<808bde64>] (dump_stack) from [<8012077c>]
> (__warn+0xdc/0xf4)
>
> [   32.903031] [<8012077c>] (__warn) from [<801208ac>]
> (warn_slowpath_null+0x40/0x48)
>
> [   32.910607] [<801208ac>] (warn_slowpath_null) from [<8017596c>]
> (rcu_note_context_switch+0xac/0x554)
>
> [   32.919751] [<8017596c>] (rcu_note_context_switch) from [<808d78f8>]
> (__schedule+0x70/0x584)
>
> [   32.928196] [<808d78f8>] (__schedule) from [<808d7e60>]
> (schedule+0x54/0xb0)
>
> [   32.935256] [<808d7e60>] (schedule) from [<808dbc5c>]
> (schedule_hrtimeout_range_clock+0xd8/0x15c)
>
> [   32.944137] [<808dbc5c>] (schedule_hrtimeout_range_clock) from
> [<808dbcf8>]
> (schedule_hrtimeout_range+0x18/0x20)
>
> [   32.954319] [<808dbcf8>] (schedule_hrtimeout_range) from [<808db630>]
> (usleep_range+0x6c/0x90)
>
> [   32.962941] [<808db630>] (usleep_range) from [<80681ac4>]
> (i2c_imx_start+0xa0/0x13c)
>
> [   32.970692] [<80681ac4>] (i2c_imx_start) from [<80682874>]
> (i2c_imx_xfer+0x68/0xe94)
>
> [   32.978447] [<80682874>] (i2c_imx_xfer) from [<8067c4c4>]
> (__i2c_transfer+0x168/0x2cc)
>
> [   32.986372] [<8067c4c4>] (__i2c_transfer) from [<8067c68c>]
> (i2c_transfer+0x64/0xe4)
>
> [   32.994128] [<8067c68c>] (i2c_transfer) from [<804dee9c>]
> (regmap_i2c_read+0x58/0x88)
>
> [   33.001968] [<804dee9c>] (regmap_i2c_read) from [<804daee4>]
> (_regmap_raw_read+0xac/0x11c)
>
> [   33.010239] [<804daee4>] (_regmap_raw_read) from [<804daf8c>]
> (_regmap_bus_read+0x38/0x60)
>
> [   33.018511] [<804daf8c>] (_regmap_bus_read) from [<804da0a8>]
> (_regmap_read+0x60/0xb8)
>
> [   33.026436] [<804da0a8>] (_regmap_read) from [<804da508>]
> (_regmap_update_bits+0xb0/0xec)
>
> [   33.034620] [<804da508>] (_regmap_update_bits) from [<804da5e0>]
> (_regmap_select_page+0x9c/0xf8)
>
> [   33.043412] [<804da5e0>] (_regmap_select_page) from [<804dab18>]
> (_regmap_raw_write_impl+0x4dc/0x69c)
>
> [   33.052637] [<804dab18>] (_regmap_raw_write_impl) from [<804db5ec>]
> (regmap_write+0x3c/0x5c)
>
> [   33.061087] [<804db5ec>] (regmap_write) from [<806be9ec>]
> (da9063_wdt_restart+0x54/0xa0)
>
> [   33.069185] [<806be9ec>] (da9063_wdt_restart) from [<806bd288>]
> (watchdog_restart_notifier+0x18/0x2c)
>
> [   33.078416] [<806bd288>] (watchdog_restart_notifier) from [<8013f148>]
> (notifier_call_chain+0x48/0x84)
>
> [   33.087731] [<8013f148>] (notifier_call_chain) from [<8013f3d0>]
> (atomic_notifier_call_chain+0x34/0x48)
>
> [   33.097138] [<8013f3d0>] (atomic_notifier_call_chain) from [<8010b12c>]
> (machine_restart+0x78/0x7c)
>
> [   33.106194] [<8010b12c>] (machine_restart) from [<80140aac>]
> (sys_reboot+0xd8/0x1d0)
>
> [   33.113945] [<80140aac>] (sys_reboot) from [<80101000>]
> (ret_fast_syscall+0x0/0x54)
>
> [   33.121604] Exception stack(0xed1e1fa8 to
> 0xed1e1ff0)
>
> [   33.126663] 1fa0:                   00012230 7e895db4 fee1dead 28121969
> 01234567
> 00000000
>
> [   33.134847] 1fc0: 00012230 7e895db4 00000003 00000058 000225f8 00000000
> 00000000
> 00000000
>
> [   33.143027] 1fe0: 76f26ea0 7e895c14 00010fd8
> 76f26ec0
>
> [   33.148080] ---[ end trace 1e06dce5f82e2a7a ]---
>
>
> --
> Regards
> Kory
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





Thanks,
Hariprasad k

[-- Attachment #1.2: Type: text/html, Size: 12853 bytes --]

<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Kory Maincent.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 26 Mar 2019 at 13:21, Köry Maincent &lt;<a href="mailto:kory.maincent@navocap.com">kory.maincent@navocap.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div bgcolor="#FFFFFF">
Hello,<br>
<br>
I got a kernel warning on the reboot of my embedded board, and sometimes I got stuck in the reboot.<br>
I work on the IMX6Q with a PMIC da9063 and the last kernel release.<br>
<br>
It happens in the <i>da9063_wdt_restart</i> function at the <i>regmap_write</i> call in the CONTROL_F register. (drivers/watchdog/da9063_wdt.c)<br><br></div></blockquote><div><br></div><div>From trace we are able figure out the flow,</div><div><br></div><div>reboot  </div><div>|</div><div>|</div><div>invokes system call(sys_reboot)</div><div>|</div><div>|</div><div> watchdog_restart)notifier</div><div>|</div><div>|</div><div>da9063_wdt_restart <br></div><div>|</div><div>|</div><div>It sending I2c rear/write commands.</div><div><br></div><div>Is this expected behaviour  ??</div><div>If I access to other register in that function, I don&#39;t have this issue.<br></div><div>The reason could be ,you are accessing other registers directly not through I2C.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div bgcolor="#FFFFFF">
<br>
I don&#39;t see the link between the rcu as noted in the koops and the write in a specific register of the pmic.<br>
<br>
Could you help me to go further in the debug?<br>
<br>
<br>
[   32.850293] ------------[ cut here ]------------                                                                                                                         
<br>
[   32.854929] WARNING: CPU: 0 PID: 724 at kernel/rcu/tree_plugin.h:337 rcu_note_context_switch+0xac/0x554                                                                  
<br>
[   32.864322] Modules linked in:                                                                                                                                           
<br>
[   32.867386] CPU: 0 PID: 724 Comm: reboot Not tainted 5.0.4-yocto-standard+ #49                                                                                           
<br>
[   32.874609] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)                                                                                                   
<br>
[   32.881155] [&lt;80111164&gt;] (unwind_backtrace) from [&lt;8010c81c&gt;] (show_stack+0x10/0x14)                                                                                     
<br>
[   32.888911] [&lt;8010c81c&gt;] (show_stack) from [&lt;808bde64&gt;] (dump_stack+0x88/0x9c)                                                                                           
<br>
[   32.896147] [&lt;808bde64&gt;] (dump_stack) from [&lt;8012077c&gt;] (__warn+0xdc/0xf4)                                                                                               
<br>
[   32.903031] [&lt;8012077c&gt;] (__warn) from [&lt;801208ac&gt;] (warn_slowpath_null+0x40/0x48)                                                                                       
<br>
[   32.910607] [&lt;801208ac&gt;] (warn_slowpath_null) from [&lt;8017596c&gt;] (rcu_note_context_switch+0xac/0x554)                                                                     
<br>
[   32.919751] [&lt;8017596c&gt;] (rcu_note_context_switch) from [&lt;808d78f8&gt;] (__schedule+0x70/0x584)                                                                             
<br>
[   32.928196] [&lt;808d78f8&gt;] (__schedule) from [&lt;808d7e60&gt;] (schedule+0x54/0xb0)                                                                                             
<br>
[   32.935256] [&lt;808d7e60&gt;] (schedule) from [&lt;808dbc5c&gt;] (schedule_hrtimeout_range_clock+0xd8/0x15c)                                                                        
<br>
[   32.944137] [&lt;808dbc5c&gt;] (schedule_hrtimeout_range_clock) from [&lt;808dbcf8&gt;] (schedule_hrtimeout_range+0x18/0x20)                                                         
<br>
[   32.954319] [&lt;808dbcf8&gt;] (schedule_hrtimeout_range) from [&lt;808db630&gt;] (usleep_range+0x6c/0x90)                                                                           
<br>
[   32.962941] [&lt;808db630&gt;] (usleep_range) from [&lt;80681ac4&gt;] (i2c_imx_start+0xa0/0x13c)                                                                                     
<br>
[   32.970692] [&lt;80681ac4&gt;] (i2c_imx_start) from [&lt;80682874&gt;] (i2c_imx_xfer+0x68/0xe94)                                                                                     
<br>
[   32.978447] [&lt;80682874&gt;] (i2c_imx_xfer) from [&lt;8067c4c4&gt;] (__i2c_transfer+0x168/0x2cc)                                                                                   
<br>
[   32.986372] [&lt;8067c4c4&gt;] (__i2c_transfer) from [&lt;8067c68c&gt;] (i2c_transfer+0x64/0xe4)                                                                                     
<br>
[   32.994128] [&lt;8067c68c&gt;] (i2c_transfer) from [&lt;804dee9c&gt;] (regmap_i2c_read+0x58/0x88)                                                                                    
<br>
[   33.001968] [&lt;804dee9c&gt;] (regmap_i2c_read) from [&lt;804daee4&gt;] (_regmap_raw_read+0xac/0x11c)                                                                               
<br>
[   33.010239] [&lt;804daee4&gt;] (_regmap_raw_read) from [&lt;804daf8c&gt;] (_regmap_bus_read+0x38/0x60)                                                                               
<br>
[   33.018511] [&lt;804daf8c&gt;] (_regmap_bus_read) from [&lt;804da0a8&gt;] (_regmap_read+0x60/0xb8)                                                                                   
<br>
[   33.026436] [&lt;804da0a8&gt;] (_regmap_read) from [&lt;804da508&gt;] (_regmap_update_bits+0xb0/0xec)                                                                                
<br>
[   33.034620] [&lt;804da508&gt;] (_regmap_update_bits) from [&lt;804da5e0&gt;] (_regmap_select_page+0x9c/0xf8)                                                                         
<br>
[   33.043412] [&lt;804da5e0&gt;] (_regmap_select_page) from [&lt;804dab18&gt;] (_regmap_raw_write_impl+0x4dc/0x69c)                                                                    
<br>
[   33.052637] [&lt;804dab18&gt;] (_regmap_raw_write_impl) from [&lt;804db5ec&gt;] (regmap_write+0x3c/0x5c)                                                                             
<br>
[   33.061087] [&lt;804db5ec&gt;] (regmap_write) from [&lt;806be9ec&gt;] (da9063_wdt_restart+0x54/0xa0)                                                                                 
<br>
[   33.069185] [&lt;806be9ec&gt;] (da9063_wdt_restart) from [&lt;806bd288&gt;] (watchdog_restart_notifier+0x18/0x2c)                                                                    
<br>
[   33.078416] [&lt;806bd288&gt;] (watchdog_restart_notifier) from [&lt;8013f148&gt;] (notifier_call_chain+0x48/0x84)                                                                   
<br>
[   33.087731] [&lt;8013f148&gt;] (notifier_call_chain) from [&lt;8013f3d0&gt;] (atomic_notifier_call_chain+0x34/0x48)                                                                  
<br>
[   33.097138] [&lt;8013f3d0&gt;] (atomic_notifier_call_chain) from [&lt;8010b12c&gt;] (machine_restart+0x78/0x7c)                                                                      
<br>
[   33.106194] [&lt;8010b12c&gt;] (machine_restart) from [&lt;80140aac&gt;] (sys_reboot+0xd8/0x1d0)                                                                                     
<br>
[   33.113945] [&lt;80140aac&gt;] (sys_reboot) from [&lt;80101000&gt;] (ret_fast_syscall+0x0/0x54)                                                                                      
<br>
[   33.121604] Exception stack(0xed1e1fa8 to 0xed1e1ff0)                                                                                                                    
<br>
[   33.126663] 1fa0:                   00012230 7e895db4 fee1dead 28121969 01234567 00000000                                                                                
<br>
[   33.134847] 1fc0: 00012230 7e895db4 00000003 00000058 000225f8 00000000 00000000 00000000                                                                                
<br>
[   33.143027] 1fe0: 76f26ea0 7e895c14 00010fd8 76f26ec0                                                                                                                    
<br>
[   33.148080] ---[ end trace 1e06dce5f82e2a7a ]---  <br>
<br>
<br>
--<br>
Regards<br>
Kory<br>
</div>

_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a></blockquote><div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Hariprasad k </div></div></div></div></div>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: da9063 - Reboot issue : koops rcu_note_context_switch
  2019-03-28 18:24 ` hariprasad kelam
@ 2019-04-01  7:53   ` Köry Maincent
  2019-04-01  9:39   ` Köry Maincent
  1 sibling, 0 replies; 4+ messages in thread
From: Köry Maincent @ 2019-04-01  7:53 UTC (permalink / raw)
  To: hariprasad kelam; +Cc: kernelnewbies

[-- Attachment #1.1: Type: text/plain, Size: 1355 bytes --]

Hi Hariprasad,

On 28/03/2019 19:24, hariprasad kelam wrote:
Hi Kory Maincent.

On Tue, 26 Mar 2019 at 13:21, Köry Maincent <kory.maincent@navocap.com<mailto:kory.maincent@navocap.com>> wrote:
Hello,

I got a kernel warning on the reboot of my embedded board, and sometimes I got stuck in the reboot.
I work on the IMX6Q with a PMIC da9063 and the last kernel release.

It happens in the da9063_wdt_restart function at the regmap_write call in the CONTROL_F register. (drivers/watchdog/da9063_wdt.c)


From trace we are able figure out the flow,

reboot
|
|
invokes system call(sys_reboot)
|
|
 watchdog_restart)notifier
|
|
da9063_wdt_restart
|
|
It sending I2c rear/write commands.

Is this expected behaviour  ??
Yes it is.
If I access to other register in that function, I don't have this issue.
The reason could be ,you are accessing other registers directly not through I2C.
I was wrong on this point, because of bad order debug printing in the drivers.


I manage to avoid the issue with a hotfix : adding rcu_read_unlock(); before I2C writing in the da9063_wdt_restart function. There is no more koops warning neither freezing reboot.
I don't think it is a clean patch and I don't understand the relation to preemption.
It may happens because of an RCU critical section not closed?



Regards,
Kory


[-- Attachment #1.2: Type: text/html, Size: 2887 bytes --]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Hariprasad,<br>
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="WordSection1"><br>
</div>
<font face="Calibri,sans-serif"></font></div>
</div>
</div>
<div class="moz-cite-prefix">On 28/03/2019 19:24, hariprasad kelam wrote:<br>
</div>
<blockquote type="cite" cite="mid:CACFYQXM7zKBdnTe8n6A4N=2&#43;tNEO9QzjT0aeJnM0UFSvpnn15g@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hi Kory Maincent.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, 26 Mar 2019 at 13:21, Köry Maincent &lt;<a href="mailto:kory.maincent@navocap.com" moz-do-not-send="true">kory.maincent@navocap.com</a>&gt; wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">Hello,<br>
<br>
I got a kernel warning on the reboot of my embedded board, and sometimes I got stuck in the reboot.<br>
I work on the IMX6Q with a PMIC da9063 and the last kernel release.<br>
<br>
It happens in the <i>da9063_wdt_restart</i> function at the <i>regmap_write</i> call in the CONTROL_F register. (drivers/watchdog/da9063_wdt.c)<br>
<br>
</div>
</blockquote>
<div><br>
</div>
<div>From trace we are able figure out the flow,</div>
<div><br>
</div>
<div>reboot &nbsp;</div>
<div>|</div>
<div>|</div>
<div>invokes system call(sys_reboot)</div>
<div>|</div>
<div>|</div>
<div>&nbsp;watchdog_restart)notifier</div>
<div>|</div>
<div>|</div>
<div>da9063_wdt_restart&nbsp;<br>
</div>
<div>|</div>
<div>|</div>
<div>It sending I2c rear/write commands.</div>
<div><br>
</div>
<div>Is this expected behaviour &nbsp;??</div>
</div>
</div>
</div>
</div>
</blockquote>
Yes it is.<br>
<blockquote type="cite" cite="mid:CACFYQXM7zKBdnTe8n6A4N=2&#43;tNEO9QzjT0aeJnM0UFSvpnn15g@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_quote">
<div>If I access to other register in that function, I don't have this issue.<br>
</div>
<div>The reason could be ,you are accessing other registers directly not through I2C.</div>
</div>
</div>
</div>
</div>
</blockquote>
I was wrong on this point, because of bad order debug printing in the drivers.<br>
<br>
<br>
I manage to avoid the issue with a hotfix : adding <i>rcu_read_unlock();</i> before I2C writing in the da9063_wdt_restart function. There is no more koops warning neither freezing reboot.<br>
I don't think it is a clean patch and I don't understand the relation to preemption.<br>
It may happens because of an RCU critical section not closed?<br>
<br>
<br>
<br>
Regards,<br>
Kory<br>
<br>
</body>
</html>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: da9063 - Reboot issue : koops rcu_note_context_switch
  2019-03-28 18:24 ` hariprasad kelam
  2019-04-01  7:53   ` Köry Maincent
@ 2019-04-01  9:39   ` Köry Maincent
  1 sibling, 0 replies; 4+ messages in thread
From: Köry Maincent @ 2019-04-01  9:39 UTC (permalink / raw)
  To: hariprasad kelam; +Cc: kernelnewbies

More readable with quote character sorry for the duplicate.


Hi Hariprasad,

> Hi Kory Maincent.
> 
> On Tue, 26 Mar 2019 at 13:21, Köry Maincent <kory.maincent@navocap.com 
> <mailto:kory.maincent@navocap.com>> wrote:
> 
> >    Hello,
> >
> >    I got a kernel warning on the reboot of my embedded board, and
> >    sometimes I got stuck in the reboot.
> >    I work on the IMX6Q with a PMIC da9063 and the last kernel release.
> >
> >    It happens in the /da9063_wdt_restart/ function at the
> >    /regmap_write/ call in the CONTROL_F register.
> >    (drivers/watchdog/da9063_wdt.c)
> 
> 
>  From trace we are able figure out the flow,
> 
> reboot
> |
> |
> invokes system call(sys_reboot)
> |
> |
>   watchdog_restart)notifier
> |
> |
> da9063_wdt_restart
> |
> |
> It sending I2c rear/write commands.
> 
> Is this expected behaviour  ??

Yes it is.

> If I access to other register in that function, I don't have this issue.
> The reason could be ,you are accessing other registers directly not 
> through I2C.
I was wrong on this point, because of bad order debug printing in the 
drivers.


I manage to avoid the issue with a hotfix : adding rcu_read_unlock(); 
before I2C writing in the da9063_wdt_restart function. There is no more 
koops warning neither freezing reboot.
I don't think it is a clean patch and I don't understand the relation to 
preemption.
It may happens because of an RCU critical section not closed?


Regards Kory.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26  7:49 da9063 - Reboot issue : koops rcu_note_context_switch Köry Maincent
2019-03-28 18:24 ` hariprasad kelam
2019-04-01  7:53   ` Köry Maincent
2019-04-01  9:39   ` Köry Maincent

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox