<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>
[   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] [<80111164>] (unwind_backtrace) from [<8010c81c>] (show_stack+0x10/0x14)                                                                                     
<br>
[   32.888911] [<8010c81c>] (show_stack) from [<808bde64>] (dump_stack+0x88/0x9c)                                                                                           
<br>
[   32.896147] [<808bde64>] (dump_stack) from [<8012077c>] (__warn+0xdc/0xf4)                                                                                               
<br>
[   32.903031] [<8012077c>] (__warn) from [<801208ac>] (warn_slowpath_null+0x40/0x48)                                                                                       
<br>
[   32.910607] [<801208ac>] (warn_slowpath_null) from [<8017596c>] (rcu_note_context_switch+0xac/0x554)                                                                     
<br>
[   32.919751] [<8017596c>] (rcu_note_context_switch) from [<808d78f8>] (__schedule+0x70/0x584)                                                                             
<br>
[   32.928196] [<808d78f8>] (__schedule) from [<808d7e60>] (schedule+0x54/0xb0)                                                                                             
<br>
[   32.935256] [<808d7e60>] (schedule) from [<808dbc5c>] (schedule_hrtimeout_range_clock+0xd8/0x15c)                                                                        
<br>
[   32.944137] [<808dbc5c>] (schedule_hrtimeout_range_clock) from [<808dbcf8>] (schedule_hrtimeout_range+0x18/0x20)                                                         
<br>
[   32.954319] [<808dbcf8>] (schedule_hrtimeout_range) from [<808db630>] (usleep_range+0x6c/0x90)                                                                           
<br>
[   32.962941] [<808db630>] (usleep_range) from [<80681ac4>] (i2c_imx_start+0xa0/0x13c)                                                                                     
<br>
[   32.970692] [<80681ac4>] (i2c_imx_start) from [<80682874>] (i2c_imx_xfer+0x68/0xe94)                                                                                     
<br>
[   32.978447] [<80682874>] (i2c_imx_xfer) from [<8067c4c4>] (__i2c_transfer+0x168/0x2cc)                                                                                   
<br>
[   32.986372] [<8067c4c4>] (__i2c_transfer) from [<8067c68c>] (i2c_transfer+0x64/0xe4)                                                                                     
<br>
[   32.994128] [<8067c68c>] (i2c_transfer) from [<804dee9c>] (regmap_i2c_read+0x58/0x88)                                                                                    
<br>
[   33.001968] [<804dee9c>] (regmap_i2c_read) from [<804daee4>] (_regmap_raw_read+0xac/0x11c)                                                                               
<br>
[   33.010239] [<804daee4>] (_regmap_raw_read) from [<804daf8c>] (_regmap_bus_read+0x38/0x60)                                                                               
<br>
[   33.018511] [<804daf8c>] (_regmap_bus_read) from [<804da0a8>] (_regmap_read+0x60/0xb8)                                                                                   
<br>
[   33.026436] [<804da0a8>] (_regmap_read) from [<804da508>] (_regmap_update_bits+0xb0/0xec)                                                                                
<br>
[   33.034620] [<804da508>] (_regmap_update_bits) from [<804da5e0>] (_regmap_select_page+0x9c/0xf8)                                                                         
<br>
[   33.043412] [<804da5e0>] (_regmap_select_page) from [<804dab18>] (_regmap_raw_write_impl+0x4dc/0x69c)                                                                    
<br>
[   33.052637] [<804dab18>] (_regmap_raw_write_impl) from [<804db5ec>] (regmap_write+0x3c/0x5c)                                                                             
<br>
[   33.061087] [<804db5ec>] (regmap_write) from [<806be9ec>] (da9063_wdt_restart+0x54/0xa0)                                                                                 
<br>
[   33.069185] [<806be9ec>] (da9063_wdt_restart) from [<806bd288>] (watchdog_restart_notifier+0x18/0x2c)                                                                    
<br>
[   33.078416] [<806bd288>] (watchdog_restart_notifier) from [<8013f148>] (notifier_call_chain+0x48/0x84)                                                                   
<br>
[   33.087731] [<8013f148>] (notifier_call_chain) from [<8013f3d0>] (atomic_notifier_call_chain+0x34/0x48)                                                                  
<br>
[   33.097138] [<8013f3d0>] (atomic_notifier_call_chain) from [<8010b12c>] (machine_restart+0x78/0x7c)                                                                      
<br>
[   33.106194] [<8010b12c>] (machine_restart) from [<80140aac>] (sys_reboot+0xd8/0x1d0)                                                                                     
<br>
[   33.113945] [<80140aac>] (sys_reboot) from [<80101000>] (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>
</body>
</html>