* [Intel-xe] [PATCH v2] drm/xe: clear the serviced bits on INTR_IDENTITY_REG
@ 2023-11-03 19:53 Jonathan Cavitt
2023-11-03 20:07 ` [Intel-xe] ✗ CI.Patch_applied: failure for drm/xe: clear the serviced bits on INTR_IDENTITY_REG (rev2) Patchwork
2023-11-03 20:14 ` [Intel-xe] [PATCH v2] drm/xe: clear the serviced bits on INTR_IDENTITY_REG Rodrigo Vivi
0 siblings, 2 replies; 4+ messages in thread
From: Jonathan Cavitt @ 2023-11-03 19:53 UTC (permalink / raw)
To: intel-xe; +Cc: jonathan.cavitt, lucas.demarchi, rodrigo.vivi, saurabhg.gupta
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 <jonathan.cavitt@intel.com>
CC: Daniele Spurio Ceraolo <daniele.ceraolospurio@intel.com>
CC: Lucas De Marchi <lucas.demarchi@intel.com>
CC: Rodrigo Vivi <rodrigo.vivi@intel.com>
CC: Paulo Zanoni <paulo.r.zanoni@intel.com>
---
drivers/gpu/drm/xe/xe_irq.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c
index 61350ed32c61a..af3765c3fc0e2 100644
--- a/drivers/gpu/drm/xe/xe_irq.c
+++ b/drivers/gpu/drm/xe/xe_irq.c
@@ -232,7 +232,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;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Intel-xe] ✗ CI.Patch_applied: failure for drm/xe: clear the serviced bits on INTR_IDENTITY_REG (rev2)
2023-11-03 19:53 [Intel-xe] [PATCH v2] drm/xe: clear the serviced bits on INTR_IDENTITY_REG Jonathan Cavitt
@ 2023-11-03 20:07 ` Patchwork
2023-11-03 20:24 ` Rodrigo Vivi
2023-11-03 20:14 ` [Intel-xe] [PATCH v2] drm/xe: clear the serviced bits on INTR_IDENTITY_REG Rodrigo Vivi
1 sibling, 1 reply; 4+ messages in thread
From: Patchwork @ 2023-11-03 20:07 UTC (permalink / raw)
To: Jonathan Cavitt; +Cc: intel-xe
== Series Details ==
Series: drm/xe: clear the serviced bits on INTR_IDENTITY_REG (rev2)
URL : https://patchwork.freedesktop.org/series/125971/
State : failure
== Summary ==
=== Applying kernel patches on branch 'drm-xe-next' with base: ===
Base commit: bfa43da8e drm/xe: implement driver initiated function-reset
=== git am output follows ===
Applying: drm/xe: clear the serviced bits on INTR_IDENTITY_REG
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Intel-xe] [PATCH v2] drm/xe: clear the serviced bits on INTR_IDENTITY_REG
2023-11-03 19:53 [Intel-xe] [PATCH v2] drm/xe: clear the serviced bits on INTR_IDENTITY_REG Jonathan Cavitt
2023-11-03 20:07 ` [Intel-xe] ✗ CI.Patch_applied: failure for drm/xe: clear the serviced bits on INTR_IDENTITY_REG (rev2) Patchwork
@ 2023-11-03 20:14 ` Rodrigo Vivi
1 sibling, 0 replies; 4+ messages in thread
From: Rodrigo Vivi @ 2023-11-03 20:14 UTC (permalink / raw)
To: Jonathan Cavitt; +Cc: saurabhg.gupta, lucas.demarchi, intel-xe
On Fri, Nov 03, 2023 at 12:53:38PM -0700, Jonathan Cavitt wrote:
> 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 <jonathan.cavitt@intel.com>
> CC: Daniele Spurio Ceraolo <daniele.ceraolospurio@intel.com>
> CC: Lucas De Marchi <lucas.demarchi@intel.com>
> CC: Rodrigo Vivi <rodrigo.vivi@intel.com>
> CC: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/xe/xe_irq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_irq.c b/drivers/gpu/drm/xe/xe_irq.c
> index 61350ed32c61a..af3765c3fc0e2 100644
> --- a/drivers/gpu/drm/xe/xe_irq.c
> +++ b/drivers/gpu/drm/xe/xe_irq.c
> @@ -232,7 +232,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;
> }
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-11-03 20:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03 19:53 [Intel-xe] [PATCH v2] drm/xe: clear the serviced bits on INTR_IDENTITY_REG Jonathan Cavitt
2023-11-03 20:07 ` [Intel-xe] ✗ CI.Patch_applied: failure for drm/xe: clear the serviced bits on INTR_IDENTITY_REG (rev2) Patchwork
2023-11-03 20:24 ` Rodrigo Vivi
2023-11-03 20:14 ` [Intel-xe] [PATCH v2] drm/xe: clear the serviced bits on INTR_IDENTITY_REG Rodrigo Vivi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.