summaryrefslogtreecommitdiffstats
path: root/fs/debugfs
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2019-07-01 13:59:45 +0000
committerOded Gabbay <oded.gabbay@gmail.com>2019-07-01 13:59:45 +0000
commit06deb86a748a1667d906af996775603f2bc34d00 (patch)
tree51860fe7abeb775dc66325e6f21293dfbe5779f1 /fs/debugfs
parentac6183ae4b4ef58d6ff8b2ad3c8b876c408020dc (diff)
downloadlinux-stable-06deb86a748a1667d906af996775603f2bc34d00.tar.gz
linux-stable-06deb86a748a1667d906af996775603f2bc34d00.tar.bz2
linux-stable-06deb86a748a1667d906af996775603f2bc34d00.zip
habanalabs: Add debugfs node for engines status
Command submissions sent to the device are composed of command buffers which are targeted to different device engines, like DMA and compute entities. When a command submission gets stuck, knowing in which engine the stuck is, is crucial for debugging. This patch adds a debugfs node that exports this information, by displaying the engines' various registers that assemble their idle/busy status. The information retrieval is based on the is_device_idle ASIC function. The printout in this function, of the first detected busy engine, is removed because it becomes redundant in the presence of the more elaborated info of the new debugfs node. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions