[git pull resend] habanalabs fixes for 5.12-rc2

From: Oded Gabbay
Date: Wed Mar 03 2021 - 08:03:45 EST


Hi Greg,

This pull request contains some fixes of the habanalabs driver for
5.12-rc2.
Nothing too scary, more details are in the tag.

Thanks,
Oded

The following changes since commit fe07bfda2fb9cdef8a4d4008a409bb02f35f1bd8:

Linux 5.12-rc1 (2021-02-28 16:05:19 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git tags/misc-habanalabs-fixes-2021-03-03

for you to fetch changes up to 3612e9f5df4c0c605ab2e4b569214786cc701cb9:

habanalabs: fix debugfs address translation (2021-03-03 09:56:58 +0200)

----------------------------------------------------------------
This tag contains the following fixes for 5.12-rc2:

- Call put_pid() when the user releases the control device.
- Disable file operations after a PCI device is removed.
- Fix address translation when displaying the memory mappings
through our debugFS.
- Remove unused dentry pointer for debugFS files.

----------------------------------------------------------------
Greg Kroah-Hartman (1):
drivers: habanalabs: remove unused dentry pointer for debugfs files

Oded Gabbay (1):
habanalabs: mark hl_eq_inc_ptr() as static

Tomer Tayar (2):
habanalabs: Call put_pid() when releasing control device
habanalabs: Disable file operations after device is removed

farah kassabri (1):
habanalabs: fix debugfs address translation

drivers/misc/habanalabs/common/debugfs.c | 5 +--
drivers/misc/habanalabs/common/device.c | 40 ++++++++++++++++++++---
drivers/misc/habanalabs/common/habanalabs.h | 2 --
drivers/misc/habanalabs/common/habanalabs_ioctl.c | 12 +++++++
drivers/misc/habanalabs/common/irq.c | 2 +-
drivers/misc/habanalabs/common/mmu/mmu.c | 38 ++++++++++++++-------
6 files changed, 75 insertions(+), 24 deletions(-)