[PATCH 0/4] Expose raw access to GuC log over debugfs

Michal Wajdeczko michal.wajdeczko at intel.com
Sun May 12 15:36:02 UTC 2024


We already provide the content of the GuC log in debugsfs, but it
is in a text format where each log dword is printed as hexadecimal
number, which does not scale well with large GuC log buffers.

Cc: linux-fsdevel at vger.kernel.org
Cc: dri-devel at lists.freedesktop.org

Michal Wajdeczko (4):
  libfs: add simple_read_from_iomem()
  iosys-map: add iosys_map_read_from() helper
  drm/xe: Add wrapper for iosys_map_read_from
  drm/xe/guc: Expose raw access to GuC log over debugfs

 drivers/gpu/drm/xe/xe_guc_debugfs.c | 26 +++++++++++++++
 drivers/gpu/drm/xe/xe_map.h         |  9 ++++++
 fs/libfs.c                          | 50 +++++++++++++++++++++++++++++
 include/linux/fs.h                  |  3 ++
 include/linux/iosys-map.h           | 24 ++++++++++++++
 5 files changed, 112 insertions(+)

-- 
2.43.0



More information about the dri-devel mailing list