Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/xe: Use generic_handle_irq_safe inside heci gsc irq handler
@ 2025-12-09 15:13 Maarten Lankhorst
  2025-12-09 15:13 ` [PATCH 2/2] drm/i915/display: Fix intel_lpe_audio_irq_handler for PREEMPT-RT Maarten Lankhorst
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Maarten Lankhorst @ 2025-12-09 15:13 UTC (permalink / raw)
  To: intel-xe; +Cc: intel-gfx, Maarten Lankhorst, stable

This makes the irq handler safe on PREEMPT-RT too.
This is similar to the i915 commit 8cadce97bf26 ("drm/i915/gsc: mei
interrupt top half should be in irq disabled context").

Fixes: 87a4c85d3a3e ("drm/xe/gsc: add gsc device support")
Cc: <stable@vger.kernel.org> # v6.8+
Signed-off-by: Maarten Lankhorst <dev@lankhorst.se>
---
 drivers/gpu/drm/xe/xe_heci_gsc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_heci_gsc.c b/drivers/gpu/drm/xe/xe_heci_gsc.c
index 2b3d49dd394c0..495cdd4f948d5 100644
--- a/drivers/gpu/drm/xe/xe_heci_gsc.c
+++ b/drivers/gpu/drm/xe/xe_heci_gsc.c
@@ -223,7 +223,7 @@ void xe_heci_gsc_irq_handler(struct xe_device *xe, u32 iir)
 	if (xe->heci_gsc.irq < 0)
 		return;
 
-	ret = generic_handle_irq(xe->heci_gsc.irq);
+	ret = generic_handle_irq_safe(xe->heci_gsc.irq);
 	if (ret)
 		drm_err_ratelimited(&xe->drm, "error handling GSC irq: %d\n", ret);
 }
@@ -243,7 +243,7 @@ void xe_heci_csc_irq_handler(struct xe_device *xe, u32 iir)
 	if (xe->heci_gsc.irq < 0)
 		return;
 
-	ret = generic_handle_irq(xe->heci_gsc.irq);
+	ret = generic_handle_irq_safe(xe->heci_gsc.irq);
 	if (ret)
 		drm_err_ratelimited(&xe->drm, "error handling GSC irq: %d\n", ret);
 }
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-12-11 14:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-09 15:13 [PATCH 1/2] drm/xe: Use generic_handle_irq_safe inside heci gsc irq handler Maarten Lankhorst
2025-12-09 15:13 ` [PATCH 2/2] drm/i915/display: Fix intel_lpe_audio_irq_handler for PREEMPT-RT Maarten Lankhorst
2025-12-09 22:42   ` Matthew Brost
2025-12-10  8:56   ` Jani Nikula
2025-12-10 17:00     ` Maarten Lankhorst
2025-12-11  8:47       ` Jani Nikula
2025-12-11  9:48         ` Maarten Lankhorst
2025-12-11 14:05         ` Raag Jadav
2025-12-11 14:34           ` Jani Nikula
2025-12-09 18:45 ` ✓ CI.KUnit: success for series starting with [1/2] drm/xe: Use generic_handle_irq_safe inside heci gsc irq handler Patchwork
2025-12-09 21:07 ` ✓ Xe.CI.BAT: " Patchwork
2025-12-09 22:39 ` [PATCH 1/2] " Matthew Brost
2025-12-10  0:34 ` ✗ Xe.CI.Full: failure for series starting with [1/2] " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox