Skip to content

Set up for debug configfs group

Stuart Summers intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/xe: Guard configfs attribute reads in gettersdrivers/gpu/drm/xe/xe_configfs.c+21 -110 replies
2/8drm/xe/configfs: Fix out-of-bounds read in parse_wa_bb_lines()drivers/gpu/drm/xe/xe_configfs.c+5 -10 replies
3/8drm/xe/configfs: Copy wa_bb out under the configfs lockdrivers/gpu/drm/xe/xe_configfs.c drivers/gpu/drm/xe/xe_configfs.h drivers/gpu/drm/xe/xe_lrc.c+53 -490 replies
4/8drm/xe: Invert vram_page_offline configfs attributedrivers/gpu/drm/xe/xe_configfs.c drivers/gpu/drm/xe/xe_configfs.h drivers/gpu/drm/xe/xe_ras.c +3 more+37 -350 replies
5/8drm/xe: Make survivability_mode configfs attribute a bitmapdrivers/gpu/drm/xe/xe_configfs.c drivers/gpu/drm/xe/xe_configfs.h drivers/gpu/drm/xe/xe_survivability_mode.c+32 -140 replies
6/8drm/xe: Sort xe_config_device fieldsdrivers/gpu/drm/xe/xe_configfs.c drivers/gpu/drm/xe/xe_configfs.h+684 -6700 replies
7/8drm/xe: Split out configfs data structuresdrivers/gpu/drm/xe/xe_configfs.c drivers/gpu/drm/xe/xe_configfs.h drivers/gpu/drm/xe/xe_configfs_types.h+56 -430 replies
8/8drm/xe: Add a new debug focused configfs groupdrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_configfs.c drivers/gpu/drm/xe/xe_configfs_debug.c +2 more+38 -00 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchMatt RoperRodrigo ViviGustavo Sousa
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/8] Set up for debug configfs group

Splitting out patches from [1] which have already been reviewed to get CI results and get these merged. I'll send out an updated series with the rest of the patches after.

Note that I removed the "Assisted-by: LLM" attribution per latest requirements. I also made some minor changes around the rebase - mostly dropping the fallback functions since those were removed. There was also a new function added for the disable vram page offline configfs, so that function was rebased in to this series as well.

Everything here has an R-B already.

[1]: https://patchwork.freedesktop.org/series/165879/#rev10

Stuart Summers (8):
drm/xe: Guard configfs attribute reads in getters drm/xe/configfs: Fix out-of-bounds read in parse_wa_bb_lines() drm/xe/configfs: Copy wa_bb out under the configfs lock drm/xe: Invert vram_page_offline configfs attribute drm/xe: Make survivability_mode configfs attribute a bitmap drm/xe: Sort xe_config_device fields
drm/xe: Split out configfs data structures
drm/xe: Add a new debug focused configfs group

 drivers/gpu/drm/xe/Makefile                |    3 +
 drivers/gpu/drm/xe/xe_configfs.c           | 1299 ++++++++++----------
 drivers/gpu/drm/xe/xe_configfs.h           |   35 +-
 drivers/gpu/drm/xe/xe_configfs_debug.c     |   14 +
 drivers/gpu/drm/xe/xe_configfs_debug.h     |   13 +
 drivers/gpu/drm/xe/xe_configfs_types.h     |   58 +
 drivers/gpu/drm/xe/xe_lrc.c                |   38 +-
 drivers/gpu/drm/xe/xe_ras.c                |   18 +-
 drivers/gpu/drm/xe/xe_ras.h                |    2 +-
 drivers/gpu/drm/xe/xe_ras_types.h          |    4 +-
 drivers/gpu/drm/xe/xe_survivability_mode.c |    7 +-
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c       |    2 +-
 12 files changed, 798 insertions(+), 695 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_configfs_debug.c
 create mode 100644 drivers/gpu/drm/xe/xe_configfs_debug.h
 create mode 100644 drivers/gpu/drm/xe/xe_configfs_types.h
Signature · 1 line
2.43.0