Searched hist:"938 b793fdede518e10c67dc1dcfba1804faf98a6" (Results 1 – 1 of 1) sorted by relevance
/linux/Documentation/ABI/testing/ |
H A D | debugfs-driver-habanalabs | diff 938b793fdede518e10c67dc1dcfba1804faf98a6 Sun Jun 06 09:28:51 CEST 2021 Yuri Nudelman <ynudelman@habana.ai> habanalabs: expose state dump
To improve the user's ability to debug the case where a workload that is part of executing training/inference of a topology is getting stuck, we need to add a 'core dump' each time a CS times-out. The 'core dump' shall contain all relevant Sync Manager information and corresponding fence values.
The most recent dumps shall be accessible via debugfs, under 'state_dump' node. Reading from the node will provide the oldest dump available. Writing an integer value X will discard X dumps, starting with the oldest one, i.e. subsequent read will now return newer dumps.
Signed-off-by: Yuri Nudelman <ynudelman@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
|