Aaron Lu
e733a2fb8c
gpio: crystalcove: use handle_nested_irq
The CrystalCove GPIO chip has can_sleep set so its demultiplexed irqs
will have IRQ_NESTED_THREAD flag set, thus we should use the nested
version handle_nested_irq in CrystalCove's irq handler instead of
handle_generic_irq, or the following warning will be hit and the
functionality is lost:
[ 4089.639554] Hardware name: ASUSTeK COMPUTER INC. T100TA/T100TA, BIOS T100TA.313 08/13/2014
[ 4089.639564] 00000002 00000000 c24fbdf4 c16e0257 c24fbe38 c24fbe28 c105390c c18ec480
[ 4089.639596] c24fbe54 00000048 c18f8e3b 00000295 c10a60fc 00000295 c10a60fc f4464540
[ 4089.639626] f446459c c278ad40 c24fbe40 c1053974 00000009 c24fbe38 c18ec480 c24fbe54
[ 4089.639656] Call Trace:
[ 4089.639685] [<c16e0257>] dump_stack+0x41/0x52
[ 4089.639707] [<c105390c>] warn_slowpath_common+0x8c/0xc0
[ 4089.639727] [<c10a60fc>] ? irq_nested_primary_handler+0x2c/0x30
[ 4089.639744] [<c10a60fc>] ? irq_nested_primary_handler+0x2c/0x30
[ 4089.639763] [<c1053974>] warn_slowpath_fmt+0x34/0x40
[ 4089.639781] [<c10a60fc>] irq_nested_primary_handler+0x2c/0x30
[ 4089.639800] [<c10a5c56>] handle_irq_event_percpu+0x76/0x190
[ 4089.639818] [<c1461570>] ? regmap_format_10_14_write+0x30/0x30
[ 4089.639836] [<c1464f4c>] ? _regmap_bus_raw_write+0x4c/0x70
[ 4089.639854] [<c10a5da1>] handle_irq_event+0x31/0x50
[ 4089.639872] [<c10a83eb>] handle_simple_irq+0x4b/0x70
[ 4089.639889] [<c10a5384>] generic_handle_irq+0x24/0x40
[ 4089.639908] [<c1366d87>] crystalcove_gpio_irq_handler+0xa7/0xc0
[ 4089.639927] [<c10a85a7>] handle_nested_irq+0x77/0x190
[ 4089.639947] [<c1469801>] regmap_irq_thread+0x1b1/0x360
[ 4089.639966] [<c10a6ae8>] irq_thread_fn+0x18/0x30
[ 4089.639983] [<c10a6906>] irq_thread+0xf6/0x110
[ 4089.640001] [<c10a6ad0>] ? irq_finalize_oneshot.part.30+0x1b0/0x1b0
[ 4089.640019] [<c10a6b50>] ? irq_forced_thread_fn+0x50/0x50
[ 4089.640037] [<c10a6810>] ? irq_thread_check_affinity+0xc0/0xc0
[ 4089.640054] [<c106f389>] kthread+0xa9/0xc0
[ 4089.640074] [<c16e6401>] ret_from_kernel_thread+0x21/0x30
[ 4089.640091] [<c106f2e0>] ? kthread_create_on_node+0x110/0x110
[ 4089.640105] ---[ end trace dca7946ad31eba7d ]---
Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=90521
Reported-and-tested-by: Brian Loften <bloften80@gmail.com>
Cc: Stable <stable@vger.kernel.org>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-01-14 14:12:02 +01:00
..
2014-11-04 21:58:23 +01:00
2014-07-22 16:39:26 +02:00
2014-10-21 10:48:04 +02:00
2014-09-02 10:44:01 +02:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2014-10-27 16:26:35 +01:00
2014-07-22 16:39:26 +02:00
2014-12-14 16:10:09 -08:00
2014-08-29 14:31:43 +02:00
2014-10-20 16:20:31 +02:00
2015-01-14 14:12:02 +01:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2014-11-10 16:30:09 +00:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-06-19 09:31:16 +02:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-02 16:07:00 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2013-03-27 16:05:11 +01:00
2013-08-23 19:44:28 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-12-12 11:22:11 +01:00
2014-07-22 16:39:26 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-11-27 15:01:18 +01:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-12-14 14:05:05 -08:00
2014-07-22 16:39:26 +02:00
2014-08-28 14:19:40 +02:00
2014-07-22 16:39:26 +02:00
2014-10-02 16:07:00 +02:00
2014-12-03 14:44:23 +01:00
2014-07-07 12:54:28 +02:00
2014-10-20 16:20:31 +02:00
2014-11-27 15:01:19 +01:00
2014-07-22 16:39:26 +02:00
2013-10-29 11:01:02 +00:00
2014-09-23 17:51:39 +02:00
2014-07-22 16:39:26 +02:00
2014-12-14 16:10:09 -08:00
2014-07-22 16:39:26 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-10-02 16:06:59 +02:00
2014-12-14 16:10:09 -08:00
2014-07-22 16:39:26 +02:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2014-11-25 16:18:56 +00:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-12-14 16:10:09 -08:00
2014-07-22 16:39:26 +02:00
2014-10-24 14:18:05 +02:00
2014-07-22 16:39:26 +02:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:20:31 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-07-22 16:39:26 +02:00
2014-10-20 16:20:31 +02:00
2014-09-24 13:37:38 +02:00
2014-10-20 16:20:31 +02:00
2014-10-20 16:20:31 +02:00
2014-12-04 00:51:30 +01:00
2014-12-14 14:05:05 -08:00
2014-12-02 15:46:36 +01:00
2014-08-17 09:12:35 -05:00
2014-11-28 14:43:36 +01:00
2014-12-14 14:05:05 -08:00
2014-11-04 21:58:22 +01:00
2014-12-14 14:05:05 -08:00
2014-12-14 14:05:05 -08:00