Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1210788 > unrolled thread
| Started by | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| First post | 2015-08-21 01:30 +0200 |
| Last post | 2015-08-21 04:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2] rtc/ds3232: fix ds3232 get a WARNING trace in resume function Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2015-08-21 01:30 +0200
RE: [PATCH v2] rtc/ds3232: fix ds3232 get a WARNING trace in resume function Wang Dongsheng <Dongsheng.Wang@freescale.com> - 2015-08-21 04:00 +0200
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2015-08-21 01:30 +0200 |
| Subject | Re: [PATCH v2] rtc/ds3232: fix ds3232 get a WARNING trace in resume function |
| Message-ID | <pZHrr-2Sp-11@gated-at.bofh.it> |
On 12/08/2015 at 17:14:13 +0800, Dongsheng Wang wrote : > From: Wang Dongsheng <dongsheng.wang@freescale.com> > > If ds3232 work on some platform that is not implementation > irq_set_wake, ds3232 will get a WARNING trace in resume. > So fix ds3232->suspended state to false when irq_set_irq_wake > return error. > > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 729 at kernel/irq/manage.c:604 > irq_set_irq_wake+0x4b/0x8c() > Unbalanced IRQ 201 wake disable > Modules linked in: > CPU: 0 PID: 729 Comm: sh Not tainted 3.12.19-rt30+ #25 > [<800107d9>] (unwind_backtrace+0x1/0x88) from [<8000e4ef>] > (show_stack+0xb/0xc) > [<8000e4ef>] (show_stack+0xb/0xc) from [<802b5fa9>] > (dump_stack+0x4d/0x60) > [<802b5fa9>] (dump_stack+0x4d/0x60) from [<800186dd>] > (warn_slowpath_common+0x45/0x64) > [<800186dd>] (warn_slowpath_common+0x45/0x64) from [<80018717>] > (warn_slowpath_fmt+0x1b/0x24) > [<80018717>] (warn_slowpath_fmt+0x1b/0x24) from [<8003a8d3>] > (irq_set_irq_wake+0x4b/0x8c) > [<8003a8d3>] (irq_set_irq_wake+0x4b/0x8c) from [<80204fcb>] > (ds3232_resume+0x2d/0x36) > [<80204fcb>] (ds3232_resume+0x2d/0x36) from [<801954c7>] > (dpm_run_callback.isra.13+0xb/0x28) > [<801954c7>] (dpm_run_callback.isra.13+0xb/0x28) from [<80195b1b>] > (device_resume+0x7b/0xa2) > [<80195b1b>] (device_resume+0x7b/0xa2) from [<80195f0f>] > (dpm_resume+0xbb/0x19c) > [<80195f0f>] (dpm_resume+0xbb/0x19c) from [<801960d9>] > (dpm_resume_end+0x9/0x12) > [<801960d9>] (dpm_resume_end+0x9/0x12) from [<80037e1d>] > (suspend_devices_and_enter+0x17d/0x1d0) > [<80037e1d>] (suspend_devices_and_enter+0x17d/0x1d0) from [<80037ee1>] > (pm_suspend+0x71/0x128) > [<80037ee1>] (pm_suspend+0x71/0x128) from [<80037449>] > (state_store+0x6d/0x80) > [<80037449>] (state_store+0x6d/0x80) from [<800af4d5>] > (sysfs_write_file+0x9f/0xde) > [<800af4d5>] (sysfs_write_file+0x9f/0xde) from [<8007a437>] > (vfs_write+0x7b/0x104) > [<8007a437>] (vfs_write+0x7b/0x104) from [<8007a7f7>] > (SyS_write+0x27/0x48) > [<8007a7f7>] (SyS_write+0x27/0x48) from [<8000c121>] > (ret_fast_syscall+0x1/0x44) > ---[ end trace 640959d2e8de6ccc ]--- > > Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com> > --- > *v2* > - Use dev_warn_once to instead of dev_info > Applied, after fixing the kernel trace and the message like suggested by Krzysztof. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Wang Dongsheng <Dongsheng.Wang@freescale.com> |
|---|---|
| Date | 2015-08-21 04:00 +0200 |
| Message-ID | <pZJMB-66h-1@gated-at.bofh.it> |
| In reply to | #1210788 |
Thanks, I will push v3 to fix them. Regards, -Dongsheng > -----Original Message----- > From: Alexandre Belloni [mailto:alexandre.belloni@free-electrons.com] > Sent: Friday, August 21, 2015 7:22 AM > To: Wang Dongsheng-B40534; Krzysztof Kozlowski > Cc: a.zummo@towertech.it; rtc-linux@googlegroups.com; linux- > kernel@vger.kernel.org > Subject: Re: [PATCH v2] rtc/ds3232: fix ds3232 get a WARNING trace in resume > function > > On 12/08/2015 at 17:14:13 +0800, Dongsheng Wang wrote : > > From: Wang Dongsheng <dongsheng.wang@freescale.com> > > > > If ds3232 work on some platform that is not implementation > > irq_set_wake, ds3232 will get a WARNING trace in resume. > > So fix ds3232->suspended state to false when irq_set_irq_wake return > > error. > > > > ------------[ cut here ]------------ > > WARNING: CPU: 0 PID: 729 at kernel/irq/manage.c:604 > > irq_set_irq_wake+0x4b/0x8c() > > Unbalanced IRQ 201 wake disable > > Modules linked in: > > CPU: 0 PID: 729 Comm: sh Not tainted 3.12.19-rt30+ #25 [<800107d9>] > > (unwind_backtrace+0x1/0x88) from [<8000e4ef>] > > (show_stack+0xb/0xc) > > [<8000e4ef>] (show_stack+0xb/0xc) from [<802b5fa9>] > > (dump_stack+0x4d/0x60) > > [<802b5fa9>] (dump_stack+0x4d/0x60) from [<800186dd>] > > (warn_slowpath_common+0x45/0x64) > > [<800186dd>] (warn_slowpath_common+0x45/0x64) from [<80018717>] > > (warn_slowpath_fmt+0x1b/0x24) > > [<80018717>] (warn_slowpath_fmt+0x1b/0x24) from [<8003a8d3>] > > (irq_set_irq_wake+0x4b/0x8c) > > [<8003a8d3>] (irq_set_irq_wake+0x4b/0x8c) from [<80204fcb>] > > (ds3232_resume+0x2d/0x36) > > [<80204fcb>] (ds3232_resume+0x2d/0x36) from [<801954c7>] > > (dpm_run_callback.isra.13+0xb/0x28) > > [<801954c7>] (dpm_run_callback.isra.13+0xb/0x28) from [<80195b1b>] > > (device_resume+0x7b/0xa2) > > [<80195b1b>] (device_resume+0x7b/0xa2) from [<80195f0f>] > > (dpm_resume+0xbb/0x19c) > > [<80195f0f>] (dpm_resume+0xbb/0x19c) from [<801960d9>] > > (dpm_resume_end+0x9/0x12) > > [<801960d9>] (dpm_resume_end+0x9/0x12) from [<80037e1d>] > > (suspend_devices_and_enter+0x17d/0x1d0) > > [<80037e1d>] (suspend_devices_and_enter+0x17d/0x1d0) from [<80037ee1>] > > (pm_suspend+0x71/0x128) > > [<80037ee1>] (pm_suspend+0x71/0x128) from [<80037449>] > > (state_store+0x6d/0x80) > > [<80037449>] (state_store+0x6d/0x80) from [<800af4d5>] > > (sysfs_write_file+0x9f/0xde) > > [<800af4d5>] (sysfs_write_file+0x9f/0xde) from [<8007a437>] > > (vfs_write+0x7b/0x104) > > [<8007a437>] (vfs_write+0x7b/0x104) from [<8007a7f7>] > > (SyS_write+0x27/0x48) > > [<8007a7f7>] (SyS_write+0x27/0x48) from [<8000c121>] > > (ret_fast_syscall+0x1/0x44) > > ---[ end trace 640959d2e8de6ccc ]--- > > > > Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com> > > --- > > *v2* > > - Use dev_warn_once to instead of dev_info > > > > Applied, after fixing the kernel trace and the message like suggested by > Krzysztof. > > -- > Alexandre Belloni, Free Electrons > Embedded Linux, Kernel and Android engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web