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: [email protected] # for 6.8 Signed-off-by: Sakari Ailus <[email protected]> Acked-by: Tomas Winkler <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 26ac2df commit e3dc66d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)