Skip to content

Commit e3dc66d

Browse files
Sakari Ailusgregkh
authored andcommitted
Revert "mei: vsc: Call wake_up() in the threaded IRQ handler"
This reverts commit 058a38a. It's not necessary to avoid a spinlock, a sleeping lock on PREEMPT_RT, in an interrupt handler as the interrupt handler itself would be called in a process context if PREEMPT_RT is enabled. So revert the patch. Cc: stable@vger.kernel.org # for 6.8 Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Tomas Winkler <tomas.winkler@intel.com> Link: https://lore.kernel.org/r/20240403051341.3534650-1-wentong.wu@intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 26ac2df commit e3dc66d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/misc/mei/vsc-tp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,15 +419,15 @@ static irqreturn_t vsc_tp_isr(int irq, void *data)
419419

420420
atomic_inc(&tp->assert_cnt);
421421

422+
wake_up(&tp->xfer_wait);
423+
422424
return IRQ_WAKE_THREAD;
423425
}
424426

425427
static irqreturn_t vsc_tp_thread_isr(int irq, void *data)
426428
{
427429
struct vsc_tp *tp = data;
428430

429-
wake_up(&tp->xfer_wait);
430-
431431
if (tp->event_notify)
432432
tp->event_notify(tp->event_notify_context);
433433

0 commit comments

Comments
 (0)