[git pull] habanalabs second pull request for kernel 5.10-rc1

From: Oded Gabbay
Date: Fri Sep 25 2020 - 07:54:54 EST


Hello Greg,

This is habanalabs second pull request for the merge window of kernel 5.10.
It contains an important fix to our ASIC reset flow and a few other minor
changes. Details are in the tag.

Thanks,
Oded

The following changes since commit 9eb29f2ed95edda511ce28651b1d7cdef3614c12:

Merge tag 'icc-5.10-rc1' of https://git.linaro.org/people/georgi.djakov/linux into char-misc-next (2020-09-24 15:15:11 +0200)

are available in the Git repository at:

git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-next-2020-09-25

for you to fetch changes up to 25121d9804b8421851e3ccb88d1d35a5d93692b8:

habanalabs/gaudi: configure QMAN LDMA registers properly (2020-09-25 14:44:21 +0300)

----------------------------------------------------------------
This tag contains the following changes for kernel 5.10-rc1:

- release the kernel context object after we reset the device. This is
needed to prevent a race where the firmware still has some in-flight
transcations that require the kernel context (and its memory mappings) to
be alive.

- replace constant numbers with defines in QMAN initialization of GAUDI

- correct an error message text and add a few debug messages to help debug
issues that happen during context open and close.

----------------------------------------------------------------
Oded Gabbay (4):
habanalabs: correct an error message
habanalabs: release kernel context after hw_fini
habanalabs: add debug messages for opening/closing context
habanalabs: add notice of device not idle

Ofir Bitton (1):
habanalabs/gaudi: configure QMAN LDMA registers properly

drivers/misc/habanalabs/common/context.c | 13 +++++++
drivers/misc/habanalabs/common/device.c | 13 ++++---
drivers/misc/habanalabs/common/memory.c | 4 +--
drivers/misc/habanalabs/gaudi/gaudi.c | 62 +++++++++++++++++++++-----------
drivers/misc/habanalabs/gaudi/gaudiP.h | 8 +++++
5 files changed, 70 insertions(+), 30 deletions(-)