]> www.infradead.org Git - nvme.git/commit
drm/xe/vf: Don't touch GuC irq registers if using memory irqs
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Mon, 17 Jun 2024 15:47:36 +0000 (17:47 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 20 Jun 2024 07:22:37 +0000 (09:22 +0200)
commitd21d44dbdde83c4a8553c95de1853e63e88d7954
treefb3b6309b493d13aec11168b2491e5e818ef6fe6
parent6ba59ff4227927d3a8530fc2973b80e94b54d58f
drm/xe/vf: Don't touch GuC irq registers if using memory irqs

On platforms where VFs are using memory based interrupts, we
missed invalid access to no longer existing interrupt registers,
as we keep them marked with XE_REG_OPTION_VF. To fix that just
either setup memirq vectors in GuC or enable legacy interrupts.

Fixes: aef4eb7c7dec ("drm/xe/vf: Setup memory based interrupts in GuC")
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240617154736.685-1-michal.wajdeczko@intel.com
(cherry picked from commit f0ccd2d805e55e12b430d5d6b9acd9f891af455e)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_guc.c