Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 00/11] Enable GuC log and debug error state capture for VF
@ 2026-12-04 14:47 Satyanarayana K V P
  2026-12-04 14:47 ` [RFC 01/11] drm/xe/pf: Allow VF access to GuC timestamp registers Satyanarayana K V P
                   ` (13 more replies)
  0 siblings, 14 replies; 26+ messages in thread
From: Satyanarayana K V P @ 2026-12-04 14:47 UTC (permalink / raw)
  To: intel-xe
  Cc: daniele.ceraolospurio, Satyanarayana K V P, Michał Winiarski,
	Piotr Piórkowski

We do not have any infrastructure to debug critical isues from VF. This
series adds support to capture guc log and debug error state capture from
VF.

VF KMD queries sizes of BOs required for GuC log and debug state capture
and allocates them accordingly. Then it registers these BOs with the GuC
so that the GuC can write log and debug state information into them.

GuC log can be queried by user on demand, but debug state capture is
typically triggered by specific error events.

The GuC version is still unknown where this support will be available but,
for now it is assumed the Guc version 70.84.0 supports it which is not
correct. The version will be updated once the correct GuC version supporting
this feature is known.

This series is sent for early review comments and for pre-merge results.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>

Satyanarayana K V P (11):
  drm/xe/pf: Allow VF access to GuC timestamp registers
  drm/xe/vf: Enable VF debug logging only on supported GUC versions
  drm/xe/guc: Add KLV definitions for GuC log and debug state capture
  drm/xe/pf: Enable VF debug logging only on supported GUC versions
  drm/xe/pf: Enable VF Guc log and debug state capture
  drm/xe/vf: Query and allocate VF GuC log and debug capture buffers
  drm/xe/vf: Register VF GuC log and debug state capture buffers
  drm/xe/vf: Initialize GuC logging buffers during GuC setup
  drm/xe/guc: Register VF-accessible registers for error capture
  drm/xe/guc: Handle GuC debug state capture notifications for VF
  drm/xe/guc: Process VF GuC error state captures

 drivers/gpu/drm/xe/abi/guc_actions_abi.h    |   4 +
 drivers/gpu/drm/xe/abi/guc_klvs_abi.h       |  56 +++++-
 drivers/gpu/drm/xe/abi/guc_log_abi.h        |  97 ++++++++-
 drivers/gpu/drm/xe/xe_devcoredump.c         |   4 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf.c         |  15 ++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c  |  30 +++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h  |   4 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_helpers.h |  15 ++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_service.c |   2 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h   |  11 ++
 drivers/gpu/drm/xe/xe_gt_sriov_vf.c         |  72 +++++++
 drivers/gpu/drm/xe/xe_gt_sriov_vf.h         |   7 +
 drivers/gpu/drm/xe/xe_gt_sriov_vf_types.h   |  12 ++
 drivers/gpu/drm/xe/xe_guc.c                 |  72 ++++++-
 drivers/gpu/drm/xe/xe_guc_ads.c             |  71 ++++++-
 drivers/gpu/drm/xe/xe_guc_ads.h             |   2 +
 drivers/gpu/drm/xe/xe_guc_capture.c         | 162 ++++++++++++++--
 drivers/gpu/drm/xe/xe_guc_capture.h         |   1 +
 drivers/gpu/drm/xe/xe_guc_ct.c              |   7 +
 drivers/gpu/drm/xe/xe_guc_debugfs.c         |  35 ++++
 drivers/gpu/drm/xe/xe_guc_log.c             | 205 +++++++++++++++++++-
 drivers/gpu/drm/xe/xe_guc_log.h             |   6 +
 drivers/gpu/drm/xe/xe_guc_log_types.h       |   6 +
 drivers/gpu/drm/xe/xe_sriov_pf_provision.c  |  22 +++
 drivers/gpu/drm/xe/xe_sriov_vf.c            |  31 +++
 drivers/gpu/drm/xe/xe_sriov_vf.h            |   2 +
 drivers/gpu/drm/xe/xe_sriov_vf_types.h      |   9 +
 drivers/gpu/drm/xe/xe_uc.c                  |  10 +
 28 files changed, 939 insertions(+), 31 deletions(-)

-- 
2.53.0


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

end of thread, other threads:[~2026-12-04 18:41 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 14:47 [RFC 00/11] Enable GuC log and debug error state capture for VF Satyanarayana K V P
2026-12-04 14:47 ` [RFC 01/11] drm/xe/pf: Allow VF access to GuC timestamp registers Satyanarayana K V P
2026-12-04 15:09   ` sashiko-bot
2026-12-04 14:47 ` [RFC 02/11] drm/xe/vf: Enable VF debug logging only on supported GUC versions Satyanarayana K V P
2026-12-04 15:22   ` sashiko-bot
2026-12-04 14:47 ` [RFC 03/11] drm/xe/guc: Add KLV definitions for GuC log and debug state capture Satyanarayana K V P
2026-12-04 15:34   ` sashiko-bot
2026-12-04 14:47 ` [RFC 04/11] drm/xe/pf: Enable VF debug logging only on supported GUC versions Satyanarayana K V P
2026-12-04 15:50   ` sashiko-bot
2026-12-04 14:47 ` [RFC 05/11] drm/xe/pf: Enable VF Guc log and debug state capture Satyanarayana K V P
2026-12-04 16:04   ` sashiko-bot
2026-12-04 14:47 ` [RFC 06/11] drm/xe/vf: Query and allocate VF GuC log and debug capture buffers Satyanarayana K V P
2026-12-04 16:31   ` sashiko-bot
2026-12-04 14:47 ` [RFC 07/11] drm/xe/vf: Register VF GuC log and debug state " Satyanarayana K V P
2026-12-04 17:04   ` sashiko-bot
2026-12-04 14:47 ` [RFC 08/11] drm/xe/vf: Initialize GuC logging buffers during GuC setup Satyanarayana K V P
2026-12-04 17:30   ` sashiko-bot
2026-12-04 14:47 ` [RFC 09/11] drm/xe/guc: Register VF-accessible registers for error capture Satyanarayana K V P
2026-12-04 17:52   ` sashiko-bot
2026-12-04 14:47 ` [RFC 10/11] drm/xe/guc: Handle GuC debug state capture notifications for VF Satyanarayana K V P
2026-12-04 18:13   ` sashiko-bot
2026-12-04 14:47 ` [RFC 11/11] drm/xe/guc: Process VF GuC error state captures Satyanarayana K V P
2026-12-04 18:41   ` sashiko-bot
2026-12-04 14:56 ` ✗ CI.checkpatch: warning for Enable GuC log and debug error state capture for VF Patchwork
2026-12-04 14:58 ` ✓ CI.KUnit: success " Patchwork
2026-12-04 15:34 ` ✗ Xe.CI.BAT: failure " Patchwork

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