Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fixes for VF GuC version and guc_info debugfs
@ 2025-04-08 21:31 Daniele Ceraolo Spurio
  2025-04-08 21:31 ` [PATCH 1/3] drm/xe/vf: use uc_fw_version to store the negotiated GuC ABI Daniele Ceraolo Spurio
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Daniele Ceraolo Spurio @ 2025-04-08 21:31 UTC (permalink / raw)
  To: intel-xe; +Cc: Daniele Ceraolo Spurio, Michal Wajdeczko, Lukasz Laguna

The VF currently stores the negotiated GuC compatibility version in a
private VF struct, so all the runtime checks using the common struct in
guc->fw are not working as expected. We can fix this by copying the value
over.

This also partially fixes the guc_info debugfs, printing the correct
values for the wanted and found versions, but we do still need to stop
it from reading VF-unaccessible registers.

Note that this series is technically a v2 of [1], but the approach and
the patches themselves are changed enough that it seemed cleaner to
restart from v1.

[1] https://patchwork.freedesktop.org/series/145667/
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Lukasz Laguna <lukasz.laguna@intel.com>

Daniele Ceraolo Spurio (3):
  drm/xe/vf: use uc_fw_version to store the negotiated GuC ABI
  drm/xe/vf: Store the GuC FW info in guc->fw
  drm/xe/vf: Fix guc_info debugfs for VFs

 drivers/gpu/drm/xe/xe_gt_sriov_vf.c         | 175 +++++++++++++-------
 drivers/gpu/drm/xe/xe_gt_sriov_vf.h         |   4 +
 drivers/gpu/drm/xe/xe_gt_sriov_vf_types.h   |  19 +--
 drivers/gpu/drm/xe/xe_guc.c                 |  44 ++---
 drivers/gpu/drm/xe/xe_guc_engine_activity.c |   2 +-
 drivers/gpu/drm/xe/xe_uc_fw.c               |  46 +++--
 drivers/gpu/drm/xe/xe_uc_fw_types.h         |   2 +
 7 files changed, 183 insertions(+), 109 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2025-05-20 22:39 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-08 21:31 [PATCH 0/3] Fixes for VF GuC version and guc_info debugfs Daniele Ceraolo Spurio
2025-04-08 21:31 ` [PATCH 1/3] drm/xe/vf: use uc_fw_version to store the negotiated GuC ABI Daniele Ceraolo Spurio
2025-05-08 20:58   ` Michal Wajdeczko
2025-04-08 21:31 ` [PATCH 2/3] drm/xe/vf: Store the GuC FW info in guc->fw Daniele Ceraolo Spurio
2025-05-08 21:26   ` Michal Wajdeczko
2025-05-20 22:39     ` Daniele Ceraolo Spurio
2025-04-08 21:31 ` [PATCH 3/3] drm/xe/vf: Fix guc_info debugfs for VFs Daniele Ceraolo Spurio
2025-04-23 10:37   ` Laguna, Lukasz
2025-04-23 17:40     ` Daniele Ceraolo Spurio
2025-04-08 23:33 ` ✓ CI.Patch_applied: success for Fixes for VF GuC version and guc_info debugfs Patchwork
2025-04-08 23:34 ` ✓ CI.checkpatch: " Patchwork
2025-04-08 23:35 ` ✓ CI.KUnit: " Patchwork
2025-04-08 23:51 ` ✓ CI.Build: " Patchwork
2025-04-08 23:53 ` ✓ CI.Hooks: " Patchwork
2025-04-08 23:55 ` ✓ CI.checksparse: " Patchwork
2025-04-09  0:34 ` ✓ Xe.CI.BAT: " Patchwork
2025-04-09  2:21 ` ✗ Xe.CI.Full: failure " Patchwork

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