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>
15 lines
497 B
Makefile
15 lines
497 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
include $(src)/common/mmu/Makefile
|
|
habanalabs-y += $(HL_COMMON_MMU_FILES)
|
|
|
|
include $(src)/common/pci/Makefile
|
|
habanalabs-y += $(HL_COMMON_PCI_FILES)
|
|
|
|
HL_COMMON_FILES := common/habanalabs_drv.o common/device.o common/context.o \
|
|
common/asid.o common/habanalabs_ioctl.o \
|
|
common/command_buffer.o common/hw_queue.o common/irq.o \
|
|
common/sysfs.o common/hwmon.o common/memory.o \
|
|
common/command_submission.o common/firmware_if.o \
|
|
common/state_dump.o
|