Brian Norris
1d80df93d9
Revert "pinctrl: rockchip: avoid hardirq-unsafe functions in irq_chip"
This reverts commit 88bb94216f59e10802aaf78c858a4146085faf18.
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-04-24 14:55:50 +02:00
2017-03-16 16:39:14 +01:00
2017-02-21 16:34:22 -08:00
2017-05-23 11:27:53 +02:00
2017-05-23 10:08:40 +02:00
2017-01-26 16:26:50 +01:00
2017-05-02 17:59:33 -07:00
2017-04-24 13:47:29 +02:00
2016-11-18 09:54:32 +01:00
2016-04-21 00:03:04 +02:00
2017-05-02 17:59:33 -07:00
2017-05-02 17:59:33 -07:00
2017-05-02 17:59:33 -07:00
2017-03-16 16:39:15 +01:00
2017-02-13 14:25:55 +01:00
2017-06-09 10:51:54 +02:00
2017-05-23 11:31:27 +02:00
2017-04-24 18:35:54 +02:00
2017-04-07 01:08:08 +02:00
2017-05-02 17:59:33 -07:00
2017-01-26 15:22:32 +01:00
2017-05-22 17:36:13 +02:00
2017-01-13 16:25:17 +01:00
2017-01-09 19:41:07 +01:00
2017-01-03 09:26:16 +01:00
2017-04-07 11:48:33 +02:00
2017-04-24 11:31:36 +02:00
2017-05-22 10:39:10 +02:00
2017-03-14 14:42:22 +01:00
2017-01-26 15:23:01 +01:00
2014-02-25 10:49:13 +01:00
2015-07-16 09:39:01 +02:00
2016-04-21 09:23:20 +02:00
2014-02-25 10:49:13 +01:00
2017-06-09 10:51:54 +02:00
2017-03-16 16:39:15 +01:00
2017-04-28 09:40:52 +02:00
2016-04-21 09:23:21 +02:00
2017-04-07 14:32:51 +02:00
2016-10-31 09:16:46 +01:00
2014-10-29 09:28:35 +01:00
2016-02-15 20:40:52 +01:00
2012-03-12 22:49:03 +01:00
2017-01-26 15:27:54 +01:00
2016-06-23 09:50:05 +02:00
2016-12-30 09:17:02 +01:00
2016-12-30 09:17:02 +01:00
2016-12-30 09:17:02 +01:00
2017-01-26 15:22:32 +01:00
2017-01-26 15:22:32 +01:00
2016-10-24 16:30:14 +02:00
2017-01-26 15:22:32 +01:00
2016-04-21 09:23:24 +02:00
2016-02-05 23:54:47 +01:00
2016-08-22 15:28:35 +02:00
2017-06-29 15:03:24 +02:00
2017-04-07 01:08:08 +02:00
2017-03-23 10:10:39 +01:00
2017-01-26 15:27:37 +01:00
2016-04-21 09:23:25 +02:00
2016-04-21 09:23:26 +02:00
2016-04-21 09:23:26 +02:00
2016-06-13 09:27:43 +02:00
2016-04-01 15:06:36 +02:00
2016-04-01 15:06:36 +02:00
2016-12-30 09:17:02 +01:00
2016-11-04 15:19:00 +01:00
2017-05-22 17:36:13 +02:00
2017-01-03 09:26:18 +01:00