Kalesh AP
55862094a9
bnxt_en: Do not call sleeping hwmon_notify_event() from NAPI
...
Defer hwmon_notify_event() to bnxt_sp_task() workqueue because
hwmon_notify_event() can try to acquire a mutex shown in the stack trace
below. Modify bnxt_event_error_report() to return true if we need to
schedule bnxt_sp_task() to notify hwmon.
__schedule+0x68/0x520
hwmon_notify_event+0xe8/0x114
schedule+0x60/0xe0
schedule_preempt_disabled+0x28/0x40
__mutex_lock.constprop.0+0x534/0x550
__mutex_lock_slowpath+0x18/0x20
mutex_lock+0x5c/0x70
kobject_uevent_env+0x2f4/0x3d0
kobject_uevent+0x10/0x20
hwmon_notify_event+0x94/0x114
bnxt_hwmon_notify_event+0x40/0x70 [bnxt_en]
bnxt_event_error_report+0x260/0x290 [bnxt_en]
bnxt_async_event_process.isra.0+0x250/0x850 [bnxt_en]
bnxt_hwrm_handler.isra.0+0xc8/0x120 [bnxt_en]
bnxt_poll_p5+0x150/0x350 [bnxt_en]
__napi_poll+0x3c/0x210
net_rx_action+0x308/0x3b0
__do_softirq+0x120/0x3e0
Cc: Guenter Roeck <linux@roeck-us.net >
Fixes: a19b480145 ("bnxt_en: Event handler for Thermal event")
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com >
Signed-off-by: Michael Chan <michael.chan@broadcom.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2023-10-22 11:41:45 +01:00
..
2023-09-27 07:40:43 +02:00
2023-08-11 21:12:45 +02:00
2023-10-15 08:44:56 -07:00
2023-08-22 15:50:57 +02:00
2023-10-05 12:48:08 +02:00
2023-10-10 14:42:22 +09:00
2023-10-10 12:41:17 +02:00
2023-08-30 13:34:34 -07:00
2023-10-18 09:30:03 -07:00
2023-10-06 15:43:19 -07:00
2023-10-13 20:03:04 -07:00
2023-09-13 10:24:53 +03:00
2023-09-01 09:08:59 -07:00
2023-08-04 16:21:20 +02:00
2023-09-13 11:44:20 -07:00
2023-09-12 10:56:05 -07:00
2023-09-04 13:15:57 -07:00
2023-09-12 15:49:20 +02:00
2023-10-02 13:13:15 +02:00
2023-08-29 20:51:40 +02:00
2023-08-31 12:43:10 -07:00
2023-08-29 11:23:29 -07:00
2023-09-22 14:31:04 -07:00
2023-08-24 16:20:30 -07:00
2023-08-10 22:48:16 +09:00
2023-10-13 08:52:57 -07:00
2023-10-05 11:05:58 +02:00
2023-10-15 16:08:25 +01:00
2023-08-30 19:23:00 -07:00
2023-08-05 15:42:15 +09:00
2023-09-28 21:23:00 +09:00
2023-09-30 18:41:37 -07:00
2023-08-11 23:04:21 +08:00
2023-08-22 15:51:33 +02:00
2023-10-05 08:41:56 +02:00
2023-10-13 13:20:24 +10:00
2023-10-06 16:09:14 +02:00
2023-07-31 23:17:57 +02:00
2023-08-28 13:31:06 -05:00
2023-09-04 11:26:29 -07:00
2023-09-18 11:52:18 -07:00
2023-09-20 10:46:30 +01:00
2023-09-27 21:32:06 +02:00
2023-10-17 12:45:03 +02:00
2023-08-28 16:35:01 -07:00
2023-10-05 18:06:46 +01:00
2023-10-13 09:35:34 -07:00
2023-10-13 23:19:16 -07:00
2023-08-30 19:53:39 -07:00
2023-09-25 16:10:36 +02:00
2023-08-11 21:12:46 +02:00
2023-10-10 11:14:07 -07:00
2023-08-20 14:29:37 +02:00
2023-09-19 15:16:23 +01:00
2023-08-31 12:43:10 -07:00
2023-09-05 10:11:01 -05:00
2023-10-05 09:50:14 +02:00
2023-10-10 10:47:35 -07:00
2023-10-11 15:26:16 +02:00
2023-08-05 09:01:31 +02:00
2023-10-05 11:03:20 -07:00
2023-09-25 10:48:19 +02:00
2023-09-01 09:38:00 -07:00
2023-09-07 21:59:04 +02:00
2023-08-28 13:36:24 -05:00
2023-10-22 11:41:45 +01:00
2023-08-30 18:32:24 -07:00
2023-08-22 12:38:19 -04:00
2023-08-30 20:52:08 -07:00
2023-09-14 16:20:31 -06:00
2023-08-23 16:34:02 +02:00
2023-10-02 11:34:23 -05:00
2023-08-18 10:55:49 +05:30
2023-08-31 21:42:42 +02:00
2023-09-01 09:38:00 -07:00
2023-10-06 09:11:13 -07:00
2023-08-04 15:39:44 +02:00
2023-08-08 10:53:30 +02:00
2023-10-13 09:17:48 -07:00
2023-10-06 10:59:52 +01:00
2023-10-12 09:10:40 +02:00
2023-10-06 15:09:40 +02:00
2023-10-05 00:28:52 +02:00
2023-08-17 19:38:35 +02:00
2023-09-30 21:00:20 +02:00
2023-09-06 22:21:22 +02:00
2023-10-19 15:51:52 -07:00
2023-09-07 18:05:58 -07:00
2023-09-26 17:26:08 +02:00
2023-09-04 15:12:26 -07:00
2023-08-30 19:53:39 -07:00
2023-09-04 15:08:52 -07:00
2023-09-07 16:07:35 -07:00
2023-10-10 11:51:41 +02:00
2023-08-28 13:36:24 -05:00
2023-10-10 14:42:22 +09:00
2023-10-12 11:52:23 -07:00
2023-09-21 11:31:33 +02:00
2023-10-02 15:03:19 +01:00
2023-09-07 09:00:05 +03:00
2023-10-20 11:34:50 +01:00
2023-09-27 10:55:29 -04:00
2023-10-12 11:52:23 -07:00
2023-09-18 13:13:05 +02:00
2023-09-15 13:01:18 +03:00
2023-10-07 11:23:47 +02:00
2023-10-09 21:33:30 -04:00
2023-08-22 13:41:55 +02:00
2023-10-11 11:39:25 +02:00
2023-09-04 10:43:44 -07:00
2023-09-22 12:48:04 -06:00
2023-10-15 13:19:42 +01:00
2023-10-17 17:14:22 -07:00
2023-08-24 16:20:18 -07:00
2023-09-03 18:10:24 -04:00
2023-09-13 10:48:42 +02:00
2023-09-06 09:19:12 -07:00
2023-10-09 09:21:16 +02:00
2023-08-21 13:27:44 +02:00
2023-09-17 11:50:20 +01:00
2023-09-17 11:50:20 +01:00