linux_dsm_epyc7002/drivers/misc/habanalabs
Tomer Tayar eb4154fb61 habanalabs: Call put_pid() when releasing control device
[ Upstream commit 27ac5aada024e0821c86540ad18f37edadd77d5e ]

The refcount of the "hl_fpriv" structure is not used for the control
device, and thus hl_hpriv_put() is not called when releasing this
device.
This results with no call to put_pid(), so add it explicitly in
hl_device_release_ctrl().

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-30 14:31:50 +02:00
..
common habanalabs: Call put_pid() when releasing control device 2021-03-30 14:31:50 +02:00
gaudi habanalabs: fix dma_addr passed to dma_mmap_coherent 2021-02-07 15:37:14 +01:00
goya habanalabs: fix dma_addr passed to dma_mmap_coherent 2021-02-07 15:37:14 +01:00
include habanalabs/gaudi: mask WDT error in QMAN 2020-11-04 08:56:07 +02:00
Kconfig habanalabs: no need for DMA_SHARED_BUFFER 2020-09-22 18:49:53 +03:00
Makefile habanalabs: create common folder 2020-07-24 20:31:37 +03:00