mbox series

[0/7] renesas: vsp1: debugfs facility

Message ID 20220629105135.2652773-1-kieran.bingham+renesas@ideasonboard.com
Headers show
Series renesas: vsp1: debugfs facility | expand

Message

Kieran Bingham June 29, 2022, 10:51 a.m. UTC
As discussed during the thread on [0] here are my out of tree debug
patches.

These are only really for reference not expected for merge, and I'm not
even sure it's worthy of an RFC tag. That said, if there are parts here
that should perhaps be extracted for integration let me know and I'll
split things out if relevant.

The register extraction and decode is probably something that could be
handled in userspace now anyway with something like Tomi's rwmem debug
tool [1]. I've used that for other devices, but not used it on vsp1 yet.


[0] https://lore.kernel.org/linux-media/20220629090912.GA27332@lxhi-065/T/#t
[1] https://github.com/tomba/rwmem



Kieran Bingham (7):
  debugfs: Extend debugfs regset to support register decoding
  v4l: vsp1: Provide WPF underflow error detection and reporting
  v4l: vsp1: Add debugfs system v1.8
  v4l: vsp1: Add CLK_CTRL and MRESET register definitions
  v4l: vsp1: Add safety mechanism registers
  v4l: vsp1: Provide video node debugfs entries
  v4l: vsp1: debugfs: Add DLM directory

 drivers/media/platform/renesas/vsp1/Makefile  |   1 +
 drivers/media/platform/renesas/vsp1/vsp1.h    |   5 +
 .../platform/renesas/vsp1/vsp1_debugfs.c      | 563 ++++++++++++++++++
 .../platform/renesas/vsp1/vsp1_debugfs.h      |  57 ++
 drivers/media/platform/renesas/vsp1/vsp1_dl.c | 107 ++++
 .../media/platform/renesas/vsp1/vsp1_drv.c    |  13 +-
 .../media/platform/renesas/vsp1/vsp1_regs.h   |  36 ++
 .../media/platform/renesas/vsp1/vsp1_video.c  |  14 +-
 .../media/platform/renesas/vsp1/vsp1_video.h  |   9 +
 .../media/platform/renesas/vsp1/vsp1_wpf.c    |   2 +-
 fs/debugfs/file.c                             |  11 +-
 include/linux/debugfs.h                       |   1 +
 12 files changed, 814 insertions(+), 5 deletions(-)
 create mode 100644 drivers/media/platform/renesas/vsp1/vsp1_debugfs.c
 create mode 100644 drivers/media/platform/renesas/vsp1/vsp1_debugfs.h