Re: [PATCH v2 0/3] accel/qaic: Add debugfs entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/22/2024 11:57 AM, Jeffrey Hugo wrote:
Add 3 debugfs entries that can be useful in debugging a variety of
issues.

bootlog - output the device bootloader log

fifo_size - output the configured dbc fifo size

queued - output how many requests are queued in the dbc fifo

Bootlog is unique to the device, where as fifo_size/queued is per-dbc.

v2:
-Use size_add() for bounds check
-Move locking into reset_bootlog()
-Clamp num dbcs supported to 256 to address a sprintf warning

Jeffrey Hugo (3):
   accel/qaic: Add bootlog debugfs
   accel/qaic: Add fifo size debugfs
   accel/qaic: Add fifo queued debugfs

  drivers/accel/qaic/Makefile       |   2 +
  drivers/accel/qaic/qaic.h         |   9 +
  drivers/accel/qaic/qaic_data.c    |   9 +
  drivers/accel/qaic/qaic_debugfs.c | 338 ++++++++++++++++++++++++++++++
  drivers/accel/qaic/qaic_debugfs.h |  20 ++
  drivers/accel/qaic/qaic_drv.c     |  16 +-
  6 files changed, 393 insertions(+), 1 deletion(-)
  create mode 100644 drivers/accel/qaic/qaic_debugfs.c
  create mode 100644 drivers/accel/qaic/qaic_debugfs.h


Pushed to drm-misc-next.



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux