Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/8] PF: Support for adverse events notifications
@ 2024-05-06 13:38 Michal Wajdeczko
  2024-05-06 13:38 ` [PATCH 1/8] drm/xe/guc: Add more KLV helper macros Michal Wajdeczko
                   ` (15 more replies)
  0 siblings, 16 replies; 29+ messages in thread
From: Michal Wajdeczko @ 2024-05-06 13:38 UTC (permalink / raw)
  To: intel-xe; +Cc: Michal Wajdeczko, Lucas De Marchi

The GuC firmware monitors VF's activity and notifies the PF driver
once any configured threshold related to such activity is exceeded.

To avoid having to rewrite a lot of code for each threshold and to
be prepared for any new GuC threshold additions, where possible,
use macros to generate threshold specific code.

Cc: Lucas De Marchi <lucas.demarchi@intel.com>

Michal Wajdeczko (8):
  drm/xe/guc: Add more KLV helper macros
  drm/xe/guc: Introduce GuC KLV thresholds set
  drm/xe/guc: Add support for threshold KLVs in to_string() helper
  drm/xe/pf: Introduce functions to configure VF thresholds
  drm/xe/pf: Allow configuration of VF thresholds over debugfs
  drm/xe/guc: Add GUC2PF_ADVERSE_EVENT to ABI
  drm/xe/pf: Track adverse events notifications from GuC
  drm/xe/pf: Expose PF monitor details via debugfs

 drivers/gpu/drm/xe/Makefile                   |   1 +
 .../gpu/drm/xe/abi/guc_actions_sriov_abi.h    |  30 ++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c    |  87 +++++++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_config.h    |   6 +
 .../gpu/drm/xe/xe_gt_sriov_pf_config_types.h  |   4 +
 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c   |  79 ++++++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c   | 143 ++++++++++++++++++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.h   |  27 ++++
 .../gpu/drm/xe/xe_gt_sriov_pf_monitor_types.h |  22 +++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_types.h     |   5 +
 drivers/gpu/drm/xe/xe_guc_ct.c                |   4 +
 drivers/gpu/drm/xe/xe_guc_klv_helpers.c       |   9 ++
 drivers/gpu/drm/xe/xe_guc_klv_helpers.h       |  15 +-
 .../gpu/drm/xe/xe_guc_klv_thresholds_set.h    |  58 +++++++
 .../drm/xe/xe_guc_klv_thresholds_set_types.h  |  65 ++++++++
 15 files changed, 554 insertions(+), 1 deletion(-)
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.c
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor.h
 create mode 100644 drivers/gpu/drm/xe/xe_gt_sriov_pf_monitor_types.h
 create mode 100644 drivers/gpu/drm/xe/xe_guc_klv_thresholds_set.h
 create mode 100644 drivers/gpu/drm/xe/xe_guc_klv_thresholds_set_types.h

-- 
2.43.0


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

end of thread, other threads:[~2024-05-14 16:23 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 13:38 [PATCH 0/8] PF: Support for adverse events notifications Michal Wajdeczko
2024-05-06 13:38 ` [PATCH 1/8] drm/xe/guc: Add more KLV helper macros Michal Wajdeczko
2024-05-14  6:57   ` Piotr Piórkowski
2024-05-06 13:38 ` [PATCH 2/8] drm/xe/guc: Introduce GuC KLV thresholds set Michal Wajdeczko
2024-05-14  8:08   ` Piotr Piórkowski
2024-05-14 16:14     ` Michal Wajdeczko
2024-05-06 13:38 ` [PATCH 3/8] drm/xe/guc: Add support for threshold KLVs in to_string() helper Michal Wajdeczko
2024-05-14  8:20   ` Piotr Piórkowski
2024-05-14 16:15     ` Michal Wajdeczko
2024-05-06 13:38 ` [PATCH 4/8] drm/xe/pf: Introduce functions to configure VF thresholds Michal Wajdeczko
2024-05-14  8:31   ` Piotr Piórkowski
2024-05-14 16:19     ` Michal Wajdeczko
2024-05-06 13:38 ` [PATCH 5/8] drm/xe/pf: Allow configuration of VF thresholds over debugfs Michal Wajdeczko
2024-05-14  9:03   ` Piotr Piórkowski
2024-05-06 13:38 ` [PATCH 6/8] drm/xe/guc: Add GUC2PF_ADVERSE_EVENT to ABI Michal Wajdeczko
2024-05-14  9:14   ` Piotr Piórkowski
2024-05-06 13:38 ` [PATCH 7/8] drm/xe/pf: Track adverse events notifications from GuC Michal Wajdeczko
2024-05-14 10:37   ` Piotr Piórkowski
2024-05-14 16:23     ` Michal Wajdeczko
2024-05-06 13:38 ` [PATCH 8/8] drm/xe/pf: Expose PF monitor details via debugfs Michal Wajdeczko
2024-05-14 10:38   ` Piotr Piórkowski
2024-05-06 16:05 ` ✓ CI.Patch_applied: success for PF: Support for adverse events notifications Patchwork
2024-05-06 16:05 ` ✗ CI.checkpatch: warning " Patchwork
2024-05-06 16:06 ` ✓ CI.KUnit: success " Patchwork
2024-05-06 16:19 ` ✓ CI.Build: " Patchwork
2024-05-06 16:22 ` ✗ CI.Hooks: failure " Patchwork
2024-05-06 16:26 ` ✓ CI.checksparse: success " Patchwork
2024-05-06 17:48 ` ✓ CI.BAT: " Patchwork
2024-05-06 19:38 ` ✓ CI.FULL: " Patchwork

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