linux/drivers/misc/habanalabs/common
Dinghao Liu b000700d6d habanalabs: Fix memleak in hl_device_reset
When kzalloc() fails, we should execute hl_mmu_fini()
to release the MMU module. It's the same when
hl_ctx_init() fails.

Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2020-12-29 23:23:12 +02:00
..
Makefile habanalabs: refactor MMU as device-oriented 2020-09-22 18:49:53 +03:00
asid.c
command_buffer.c habanalabs: Add CB IOCTL opcode to retrieve CB information 2020-11-30 10:47:38 +02:00
command_submission.c habanalabs: add validation cs counter, fix misplaced counters 2020-12-28 08:47:39 +02:00
context.c habanalabs/gaudi: scrub all memory upon closing FD 2020-11-30 10:47:31 +02:00
debugfs.c habanalabs: Modify the cs_cnt of a CB to be atomic 2020-11-30 10:47:38 +02:00
device.c habanalabs: Fix memleak in hl_device_reset 2020-12-29 23:23:12 +02:00
firmware_if.c habanalabs: full FW hard reset support 2020-12-28 08:47:38 +02:00
habanalabs.h habanalabs: add validation cs counter, fix misplaced counters 2020-12-28 08:47:39 +02:00
habanalabs_drv.c habanalabs: register to pci shutdown callback 2020-12-28 08:47:39 +02:00
habanalabs_ioctl.c habanalabs: add validation cs counter, fix misplaced counters 2020-12-28 08:47:39 +02:00
hw_queue.c habanalabs/gaudi: do not set EB in collective slave queues 2020-12-28 08:47:38 +02:00
hwmon.c habanalabs: firmware returns 64bit argument 2020-11-30 10:47:35 +02:00
irq.c habanalabs: fix kernel pointer type 2020-11-04 08:56:06 +02:00
memory.c habanalabs: free host huge va_range if not used 2020-11-30 10:47:37 +02:00
mmu.c habanalabs: mmu map wrapper for sizes larger than a page 2020-11-30 10:47:36 +02:00
mmu_v1.c habanalabs: fix MMU debugfs operations 2020-11-30 10:47:35 +02:00
pci.c habanalabs: adjust pci controller init to new firmware 2020-12-28 08:47:39 +02:00
sysfs.c habanalabs: firmware returns 64bit argument 2020-11-30 10:47:35 +02:00