Re: [PATCH] drm/me/gsc: mei interrupt top half should be in irq disabled context
From: Sebastian Andrzej Siewior
Date: Thu Nov 06 2025 - 02:16:18 EST
On 2025-11-07 11:31:52 [+0800], Junxiao Chang wrote:
> MEI GSC interrupt comes from i915 or xe driver. It has top half and
> bottom half. Top half is called from i915/xe interrupt handler. It
> should be in irq disabled context.
>
> With RT kernel(PREEMPT_RT enabled), by default IRQ handler is in
> threaded IRQ. MEI GSC top half might be in threaded IRQ context.
> generic_handle_irq_safe API could be called from either IRQ or
> process context, it disables local IRQ then calls MEI GSC interrupt
> top half.
>
> This change fixes B580 GPU boot issue with RT enabled.
>
> Fixes: e02cea83d32d ("drm/xe/gsc: add Battlemage support")
> Tested-by: Baoli Zhang <baoli.zhang@xxxxxxxxx>
> Signed-off-by: Junxiao Chang <junxiao.chang@xxxxxxxxx>
Sounds reasonable.
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
What about intel_lpe_audio_irq_handler() ?
Sebastian