Eric Pilmore
95e5fda3b5
ptdma: pt_core_execute_cmd() should use spinlock
...
The interrupt handler (pt_core_irq_handler()) of the ptdma
driver can be called from interrupt context. The code flow
in this function can lead down to pt_core_execute_cmd() which
will attempt to grab a mutex, which is not appropriate in
interrupt context and ultimately leads to a kernel panic.
The fix here changes this mutex to a spinlock, which has
been verified to resolve the issue.
Fixes: fa5d823b16a9 ("dmaengine: ptdma: Initial driver for the AMD PTDMA")
Signed-off-by: Eric Pilmore <epilmore@gigaio.com>
Link: https://lore.kernel.org/r/20230119033907.35071-1-epilmore@gigaio.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-01-19 18:59:34 +05:30
..
2022-06-10 14:51:35 +02:00
2022-08-04 18:44:38 -07:00
2023-01-18 17:27:30 +05:30
2022-09-29 22:46:08 +05:30
2022-03-11 15:47:39 +05:30
2022-09-04 22:49:35 +05:30
2022-12-28 16:24:50 +05:30
2022-10-19 18:56:57 +05:30
2021-07-13 14:38:47 -05:00
2023-01-18 15:32:16 +05:30
2022-07-26 22:06:05 +05:30
2022-06-10 14:51:37 +02:00
2023-01-19 18:59:34 +05:30
2022-12-28 12:26:11 +05:30
2022-09-05 11:50:38 +05:30
2022-11-04 20:12:41 +05:30
2022-12-28 16:34:14 +05:30
2023-01-18 22:16:04 +05:30
2021-08-06 21:48:11 +05:30
2022-07-06 22:00:06 +05:30
2022-09-29 12:24:16 +05:30
2022-11-11 12:14:26 +05:30
2022-11-11 12:15:09 +05:30
2022-09-05 12:01:55 +05:30
2020-09-11 17:42:12 +05:30
2022-06-10 14:51:35 +02:00
2022-07-26 22:05:20 +05:30
2022-10-19 19:13:16 +05:30
2023-01-18 17:36:49 +05:30
2021-10-25 09:42:56 +05:30
2022-10-11 17:42:58 -06:00
2022-07-01 21:50:23 +05:30
2020-10-05 09:59:17 +05:30
2015-04-02 16:10:27 +05:30
2022-07-01 22:09:16 +05:30
2021-10-28 22:56:24 +05:30
2021-10-28 22:56:24 +05:30
2021-05-10 19:51:03 +05:30
2021-01-12 18:00:39 +05:30
2020-08-29 13:50:56 -07:00
2022-09-04 22:42:35 +05:30
2022-10-19 19:17:35 +05:30
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:15 +02:00
2022-07-21 18:08:35 +05:30
2023-01-18 17:44:29 +05:30
2021-04-12 17:14:53 +05:30
2022-12-19 08:54:17 -06:00
2019-06-19 17:09:55 +02:00
2022-12-02 17:11:50 +05:30
2020-06-24 13:06:15 +05:30
2021-10-25 12:12:13 +05:30
2020-12-29 10:08:00 +05:30
2022-05-19 22:53:46 +05:30
2020-09-18 12:19:06 +05:30
2022-06-10 14:51:35 +02:00
2021-07-14 11:05:55 -05:00
2022-11-08 10:43:56 +05:30
2020-11-24 23:02:20 +05:30
2019-06-05 17:36:37 +02:00
2022-09-29 12:05:20 +05:30
2022-04-11 16:26:53 +05:30
2021-07-28 12:54:50 +05:30
2022-07-06 10:50:43 +05:30
2022-01-08 22:16:44 +05:30
2022-09-05 12:01:54 +05:30
2022-04-20 15:59:33 +05:30
2022-11-08 10:42:51 +05:30
2022-12-02 17:11:50 +05:30
2021-10-26 10:55:07 +05:30
2022-07-26 18:20:49 +05:30
2021-12-13 13:18:48 +05:30
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2022-07-06 10:54:08 +05:30
2022-11-08 10:43:56 +05:30
2022-09-05 11:52:28 +05:30
2022-10-19 19:01:19 +05:30
2022-07-05 18:34:26 +05:30
2022-05-19 23:43:41 +05:30
2021-12-17 11:23:38 +05:30
2023-01-18 22:18:38 +05:30
2023-01-18 17:34:36 +05:30
2020-09-18 12:19:07 +05:30
2014-07-15 22:14:30 +05:30
2020-09-18 12:19:07 +05:30
2019-06-19 17:09:55 +02:00
2020-02-13 20:15:57 +05:30
2022-01-03 17:49:37 +05:30
2020-09-18 12:19:07 +05:30
2019-12-26 10:04:18 +05:30
2020-09-18 12:19:07 +05:30