]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/me/gsc: mei interrupt top half should be in irq disabled context
authorJunxiao Chang <junxiao.chang@intel.com>
Fri, 7 Nov 2025 03:31:52 +0000 (11:31 +0800)
committerMaarten Lankhorst <dev@lankhorst.se>
Thu, 11 Dec 2025 09:39:35 +0000 (10:39 +0100)
commit3efadf028783a49ab2941294187c8b6dd86bf7da
treebfbf207342ee84f14a3fe039e0794e87edfb6c5c
parent1898840d6c4405092243bb7dfcc399ccb1177498
drm/me/gsc: mei interrupt top half should be in irq disabled context

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@intel.com>
Signed-off-by: Junxiao Chang <junxiao.chang@intel.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20251107033152.834960-1-junxiao.chang@intel.com
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
drivers/gpu/drm/xe/xe_heci_gsc.c