[PATCH v2 0/3] accel/qaic: Add debugfs entries
Jeffrey Hugo
quic_jhugo at quicinc.com
Fri Mar 22 17:57:27 UTC 2024
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
--
2.34.1
More information about the dri-devel
mailing list