linux/drivers/misc/habanalabs
Oded Gabbay 1af69d30c4 habanalabs: make the reset code more consistent
In the hl_device_reset we ask about the hard_reset argument when we want to
differentiate between soft and hard reset, except for three places where
we use "from_hard_reset_thread". Replace one of those locations with the
hard_reset argument as it is guaranteed that if we reached to that
line in the code during hard_reset, it is from a kernel thread.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
2019-11-21 11:35:47 +02:00
..
goya habanalabs: use defines for F/W files 2019-11-21 11:35:46 +02:00
include habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
asid.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_buffer.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_submission.c habanalabs: don't print error when queues are full 2019-11-21 11:35:45 +02:00
context.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
debugfs.c habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
device.c habanalabs: make the reset code more consistent 2019-11-21 11:35:47 +02:00
firmware_if.c habanalabs: remove prints on successful device initialization 2019-11-21 11:35:46 +02:00
habanalabs_drv.c habanalabs: create two char devices per ASIC 2019-09-05 14:55:26 +03:00
habanalabs_ioctl.c habanalabs: expose reset counters via existing INFO IOCTL 2019-11-21 11:35:47 +02:00
habanalabs.h habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
hw_queue.c habanalabs: Add a new H/W queue type 2019-11-21 11:35:45 +02:00
hwmon.c habanalabs: display card name as sensors header 2019-09-05 14:55:27 +03:00
irq.c habanalabs: replace __le32_to_cpu with le32_to_cpu 2019-09-05 14:55:27 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
memory.c habanalabs: remove unnecessary checks 2019-11-21 11:35:46 +02:00
mmu.c habanalabs: optimize MMU unmap 2019-11-21 11:35:46 +02:00
pci.c habanalabs: increase PCI ELBI timeout for Palladium 2019-05-13 14:44:50 +03:00
sysfs.c habanalabs: replace __cpu_to_le32/64 with cpu_to_le32/64 2019-09-05 14:55:27 +03:00