From: Jonathan Cavitt Date: Fri, 3 Nov 2023 21:03:24 +0000 (-0700) Subject: drm/xe: clear the serviced bits on INTR_IDENTITY_REG X-Git-Tag: v6.8-rc1~111^2~7^2~220 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7925d04c062b8adcbbff9604422f979e9dbedb7;p=thirdparty%2Fkernel%2Flinux.git drm/xe: clear the serviced bits on INTR_IDENTITY_REG The spec for this register, like many other interrupt related ones, asks software to write back '1' to clear the serviced bits. Let's respect the spec. v2: - Update commit message - Add missing CC Signed-off-by: Jonathan Cavitt CC: Daniele Spurio Ceraolo CC: Lucas De Marchi CC: Rodrigo Vivi CC: Paulo Zanoni Reviewed-by: Rodrigo Vivi Signed-off-by: Lucas De Marchi Signed-off-by: Rodrigo Vivi --- diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c index 5631e5e1ea206..ef26120e7aa42 100644 --- a/drivers/gpu/drm/xe/xe_irq.c +++ b/drivers/gpu/drm/xe/xe_irq.c @@ -231,7 +231,7 @@ gt_engine_identity(struct xe_device *xe, return 0; } - xe_mmio_write32(mmio, INTR_IDENTITY_REG(bank), INTR_DATA_VALID); + xe_mmio_write32(mmio, INTR_IDENTITY_REG(bank), ident); return ident; }