[PATCH 0/4] Add iomem helpers for use from debugfs

Michal Wajdeczko michal.wajdeczko at intel.com
Thu Nov 7 16:34:44 UTC 2024


This series attempts to promote helpers used by Xe [1] to libfs.
Earlier attempt [2] with similar helper was unnoticed.

[1] https://patchwork.freedesktop.org/series/140848/#rev1
[2] https://patchwork.freedesktop.org/series/133507/#rev1

Cc: linux-kernel at vger.kernel.org
Cc: linux-fsdevel at vger.kernel.org

Michal Wajdeczko (4):
  iov_iter: Provide copy_iomem_to|from_iter()
  libfs: Provide simple_read_from|write_to_iomem()
  drm/xe: Add read/write debugfs helpers for GGTT node
  drm/xe/pf: Expose access to the VF GGTT PTEs over debugfs

 drivers/gpu/drm/xe/xe_ggtt.c                | 52 ++++++++++++++
 drivers/gpu/drm/xe/xe_ggtt.h                |  7 ++
 drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c | 62 ++++++++++++++++
 fs/libfs.c                                  | 78 +++++++++++++++++++++
 include/linux/fs.h                          |  5 ++
 include/linux/uio.h                         |  4 ++
 lib/iov_iter.c                              | 42 +++++++++++
 7 files changed, 250 insertions(+)

-- 
2.43.0



More information about the Intel-xe mailing list