Brian Norris
1d80df93d9
Revert "pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip"
This reverts commit 88bb94216f.
It introduced a new CONFIG_DEBUG_ATOMIC_SLEEP warning in v4.12-rc1:
[ 7226.716713] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:238
[ 7226.716716] in_atomic(): 0, irqs_disabled(): 0, pid: 1708, name: bash
[ 7226.716722] CPU: 1 PID: 1708 Comm: bash Not tainted 4.12.0-rc6+ #1213
[ 7226.716724] Hardware name: Google Kevin (DT)
[ 7226.716726] Call trace:
[ 7226.716738] [<ffffff8008089928>] dump_backtrace+0x0/0x24c
[ 7226.716743] [<ffffff8008089b94>] show_stack+0x20/0x28
[ 7226.716749] [<ffffff8008371370>] dump_stack+0x90/0xb0
[ 7226.716755] [<ffffff80080cd2a0>] ___might_sleep+0x10c/0x124
[ 7226.716760] [<ffffff80080cd330>] __might_sleep+0x78/0x88
[ 7226.716765] [<ffffff800879e210>] mutex_lock+0x2c/0x64
[ 7226.716771] [<ffffff80083ad678>] rockchip_irq_bus_lock+0x30/0x3c
[ 7226.716777] [<ffffff80080f6d40>] __irq_get_desc_lock+0x78/0x98
[ 7226.716782] [<ffffff80080f7e6c>] irq_set_irq_wake+0x44/0x12c
[ 7226.716787] [<ffffff8008486e18>] dev_pm_arm_wake_irq+0x4c/0x58
[ 7226.716792] [<ffffff800848b80c>] device_wakeup_arm_wake_irqs+0x3c/0x58
[ 7226.716796] [<ffffff80084896fc>] dpm_suspend_noirq+0xf8/0x3a0
[ 7226.716800] [<ffffff80080f1384>] suspend_devices_and_enter+0x1a4/0x9a8
[ 7226.716803] [<ffffff80080f21ec>] pm_suspend+0x664/0x6a4
[ 7226.716807] [<ffffff80080f04d8>] state_store+0xd4/0xf8
...
It was reported on -rc1, and it's still not fixed in -rc6, so it should
just be reverted.
Cc: John Keeping <john@metanate.com>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-06-29 15:03:24 +02:00
..
2017-06-21 23:14:55 +02:00
2017-05-31 14:26:26 -04:00
2017-04-12 21:59:01 -07:00
2017-06-09 01:25:16 +02:00
2017-06-20 07:09:27 -06:00
2017-04-30 12:22:14 +02:00
2017-04-20 12:16:10 -06:00
2017-06-23 17:33:46 -07:00
2017-06-14 16:48:03 -07:00
2017-06-13 17:57:16 +02:00
2017-06-15 01:51:33 +02:00
2017-06-15 01:51:33 +02:00
2017-05-10 11:33:08 -07:00
2017-06-09 08:50:49 -07:00
2017-06-12 10:12:07 +09:00
2017-06-02 11:49:44 +05:30
2017-04-20 13:47:46 +05:30
2017-05-03 16:27:36 +02:00
2017-06-16 17:13:06 +09:00
2017-04-26 11:38:56 +02:00
2017-06-20 13:42:20 +02:00
2017-06-23 11:44:51 +10:00
2017-06-20 10:52:46 +02:00
2017-06-08 10:16:05 -04:00
2017-05-04 19:15:35 -07:00
2017-06-03 03:55:43 -07:00
2017-05-08 17:15:14 -07:00
2017-06-22 10:52:02 +02:00
2017-05-08 17:36:39 -04:00
2017-05-01 23:17:37 +02:00
2017-06-13 20:56:05 +01:00
2017-06-16 17:38:23 +09:00
2017-06-23 00:08:48 -07:00
2017-05-30 11:31:32 +02:00
2017-06-20 21:41:58 +02:00
2017-06-01 14:49:47 -04:00
2017-06-18 08:51:35 +09:00
2017-05-04 07:53:04 -06:00
2017-05-05 19:33:07 -07:00
2017-04-27 16:20:04 +05:30
2017-06-21 12:04:50 -04:00
2017-06-15 17:37:40 +09:00
2017-06-01 17:07:31 -07:00
2017-04-24 18:21:17 -04:00
2017-06-06 10:17:42 +01:00
2017-06-11 11:29:15 -07:00
2017-06-12 08:58:16 +02:00
2017-05-22 09:42:29 +02:00
2017-06-20 15:41:56 -04:00
2017-04-17 00:42:22 +02:00
2017-06-19 14:24:41 -04:00
2017-04-20 09:54:24 +02:00
2017-05-12 15:43:10 -07:00
2017-06-07 11:08:55 +02:00
2017-05-09 10:01:15 -07:00
2017-05-30 11:31:32 +02:00
2017-04-20 12:02:32 +01:00
2017-06-12 15:46:13 -05:00
2017-05-10 19:13:03 -07:00
2017-05-30 12:40:03 +01:00
2017-06-01 15:03:41 +05:30
2017-06-29 15:03:24 +02:00
2017-06-16 17:30:44 +09:00
2017-05-12 12:02:21 -07:00
2017-05-14 13:30:05 +02:00
2017-05-01 16:15:18 -07:00
2017-04-13 17:41:50 +02:00
2017-05-04 19:15:35 -07:00
2017-04-30 22:17:44 +09:00
2017-05-10 11:33:08 -07:00
2017-05-24 10:53:41 +02:00
2017-05-10 11:33:08 -07:00
2017-05-22 20:32:05 +02:00
2017-06-15 18:09:47 +09:00
2017-06-23 12:25:37 -07:00
2017-05-19 13:36:56 -07:00
2017-04-26 15:58:22 +01:00
2017-06-18 08:36:30 +09:00
2017-06-08 22:25:29 -07:00
2017-05-18 23:54:47 -07:00
2017-05-23 20:09:34 -07:00
2017-06-04 10:23:25 +02:00
2017-05-16 23:06:41 +02:00
2017-06-18 08:39:54 +09:00
2017-05-17 11:27:41 +02:00
2017-05-05 11:36:44 -07:00
2017-05-08 17:15:12 -07:00
2017-06-14 12:40:36 +02:00
2017-05-08 17:15:10 -07:00
2017-06-18 23:13:35 +03:00
2017-05-19 10:42:25 +02:00
2017-06-09 09:59:51 -07:00
2017-05-10 21:03:31 +02:00