# Re: \[PATCH RT 09/10\] drm/i915/gt: Queue and wait for the irq\_work item.

- From: Sebastian Andrzej Siewior \<bigeasy@linutronix.de\>
- Date: 2021-11-24 16:12:38 
- List: linux-rt-users
- Page: https://ratatoskr.run/linux-rt-users/2021/11/1585492
- Thread: https://ratatoskr.run/linux-rt-users/2021/11/1581993/t.md

```text
On 2021-11-23 10:37:55 [-0500], Steven Rostedt wrote:
> Is there something else missing here, as this gives the following rejects in
> irq_work.c:

Yeah, there is this irq-work in v5.10-RT and this slightly different
thing that managed upstream while upstream managed to alter their code,
too  :)

Please find attached as a reply to this email the backported patches:
   [PATCH RT 1/3] irq_work: Allow irq_work_sync() to sleep if irq_work() no
   [PATCH RT 2/3] irq_work: Handle some irq_work in a per-CPU thread on
   [PATCH RT 3/3] irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on

which apply here on top of v5.10.78-rt55.

Sebastian

```
