WSL2-Linux-Kernel/drivers/misc/habanalabs
Oded Gabbay cf01514c5c habanalabs: patched cb equals user cb in device memset
During device memory memset, the driver allocates and use a CB (command
buffer). To reuse existing code, it keeps a pointer to the CB in two
variables, user_cb and patched_cb. Therefore, there is no need to "put"
both the user_cb and patched_cb, as it will cause an underflow of the
refcnt of the CB.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2020-02-11 11:12:47 +02:00
..
goya habanalabs: patched cb equals user cb in device memset 2020-02-11 11:12:47 +02:00
include habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02: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
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: rate limit error msg on waiting for CS 2019-12-14 15:12:21 +02:00
context.c habanalabs: rate limit error msg on waiting for CS 2019-12-14 15:12:21 +02:00
debugfs.c habanalabs: add more protection of device during reset 2019-11-21 11:35:47 +02:00
device.c habanalabs: do not halt CoreSight during hard reset 2020-02-11 11:12:47 +02:00
firmware_if.c habanalabs: remove prints on successful device initialization 2019-11-21 11:35:46 +02:00
habanalabs.h habanalabs: split MMU properties to PCI/DRAM 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
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
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