From: Matthew Brost <matthew.brost@intel.com>
To: Maarten Lankhorst <dev@lankhorst.se>
Cc: <intel-xe@lists.freedesktop.org>,
<intel-gfx@lists.freedesktop.org>, <stable@vger.kernel.org>
Subject: Re: [PATCH 1/2] drm/xe: Use generic_handle_irq_safe inside heci gsc irq handler
Date: Tue, 9 Dec 2025 14:39:09 -0800 [thread overview]
Message-ID: <aTilDSn2e7BlAgfr@lstrano-desk.jf.intel.com> (raw)
In-Reply-To: <20251209151319.494640-3-dev@lankhorst.se>
On Tue, Dec 09, 2025 at 04:13:20PM +0100, Maarten Lankhorst wrote:
> 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>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
> ---
> 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
>
next prev parent reply other threads:[~2025-12-09 22:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Matthew Brost [this message]
2025-12-10 0:34 ` ✗ Xe.CI.Full: failure " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aTilDSn2e7BlAgfr@lstrano-desk.jf.intel.com \
--to=matthew.brost@intel.com \
--cc=dev@lankhorst.se \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox