mbox series

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

Message ID 20240512153606.1996-1-michal.wajdeczko@intel.com (mailing list archive)
Headers show
Series Expose raw access to GuC log over debugfs | expand

Message

Michal Wajdeczko May 12, 2024, 3:36 p.m. UTC
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@vger.kernel.org
Cc: dri-devel@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(+)