Nicholas Krause
fbedcaf43f
EDAC: Fix workqueues poll period resetting
...
After the workqueue cleanup, we're registering workqueues based on
the presence of an ->edac_check function. When that is the case,
we're setting OP_RUNNING_POLL. But we forgot to check that in
edac_mc_reset_delay_period(), leading to:
BUG: unable to handle kernel paging request at 0000000000015d10
IP: [ .. ] queued_spin_lock_slowpath
PGD 3ffcc8067 PUD 3ffc56067 PMD 0
Oops: 0002 [#1 ] SMP
Modules linked in: ...
CPU: 1 PID: 2792 Comm: edactest Not tainted 4.6.0-dirty #1
Hardware name: HP ProLiant MicroServer, BIOS O41 10/01/2013
Stack:
Call Trace:
? _raw_spin_lock_irqsave
? lock_timer_base.isra.34
? del_timer
? try_to_grab_pending
? mod_delayed_work_on
? edac_mc_reset_delay_period
? edac_set_poll_msec
? param_attr_store
? module_attr_store
? kernfs_fop_write
? __vfs_write
? __vfs_read
? __alloc_fd
? vfs_write
? SyS_write
? entry_SYSCALL_64_fastpath
Code:
RIP [ .. ] queued_spin_lock_slowpath
RSP <>
CR2: 0000000000015d10
---[ end trace 3f286bc71cca15d1 ]---
Kernel panic - not syncing: Fatal exception
Fix it.
Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Cc: <stable@vger.kernel.org> # 4.5
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1463697958-13406-1-git-send-email-xerofoify@gmail.com
[ Rewrite commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
2016-06-03 11:14:27 +02:00
..
2016-04-23 12:00:12 +02:00
2016-04-07 12:42:56 +02:00
2015-02-23 13:08:09 +01:00
2015-02-23 13:08:09 +01:00
2016-05-17 17:05:30 -07:00
2016-05-09 20:41:16 +02:00
2013-12-06 10:23:41 +01:00
2014-02-25 10:09:09 +01:00
2011-04-19 00:23:22 +02:00
2010-11-01 15:38:34 -04:00
2014-10-20 16:20:30 +02:00
2014-10-22 22:58:45 +02:00
2016-02-10 10:37:46 +01:00
2014-10-22 22:59:00 +02:00
2014-02-25 10:01:30 +01:00
2015-09-22 12:29:46 +02:00
2015-12-11 16:56:41 +01:00
2015-12-11 16:56:43 +01:00
2016-04-23 13:23:54 +02:00
2016-06-03 11:14:27 +02:00
2015-12-11 16:56:43 +01:00
2015-12-11 16:56:43 +01:00
2015-12-11 16:56:41 +01:00
2016-02-02 11:38:50 +01:00
2015-12-11 16:56:39 +01:00
2015-10-22 22:57:30 +02:00
2013-11-04 17:01:07 -06:00
2015-03-20 17:50:07 +01:00
2016-05-16 18:44:39 -07:00
2014-11-19 16:33:48 +01:00
2015-10-15 00:21:07 +02:00
2013-12-06 10:23:41 +01:00
2016-01-01 18:31:34 +01:00
2014-04-04 09:50:07 -07:00
2014-03-11 06:55:49 -03:00
2015-03-11 20:39:15 +01:00
2015-02-23 13:06:23 +01:00
2015-02-23 13:06:23 +01:00
2015-02-23 13:06:23 +01:00
2016-05-06 18:50:14 +02:00
2016-03-29 10:06:11 +02:00
2016-02-11 12:23:06 +01:00
2016-05-12 09:08:23 +02:00
2014-11-19 10:55:43 -08:00
2016-02-02 18:53:15 +01:00
2015-05-31 12:51:08 +02:00
2015-12-03 12:05:40 +01:00
2011-04-19 00:23:22 +02:00
2015-07-02 10:46:28 +02:00
2015-07-02 10:46:28 +02:00
2015-07-02 10:46:28 +02:00
2013-01-03 15:57:03 -08:00
2013-01-03 15:57:03 -08:00
2015-10-03 12:19:42 +02:00
2013-12-06 10:23:41 +01:00
2016-06-03 10:05:49 +02:00
2015-03-20 17:50:07 +01:00
2014-10-20 16:20:30 +02:00
2015-12-11 16:56:43 +01:00
2015-10-15 00:21:07 +02:00
2016-01-25 11:17:22 +01:00