[git pull] habanalabs fixes for 5.6-rc2

From: Oded Gabbay
Date: Tue Feb 11 2020 - 04:22:16 EST


Hello Greg,

This is habanalabs fixes pull request for 5.6-rc2.
It contains two important fixes for the reset code of the ASIC and another
fix to reference counting of a command buffer object.

Thanks,
Oded

The following changes since commit 95ba79e89c107851bad4492ca23e9b9c399b8592:

MAINTAINERS: remove unnecessary ':' characters (2020-02-10 15:29:09 -0800)

are available in the Git repository at:

git://people.freedesktop.org/~gabbayo/linux tags/misc-habanalabs-fixes-2020-02-11

for you to fetch changes up to cf01514c5c6efa2d521d35e68dff2e0674d08e91:

habanalabs: patched cb equals user cb in device memset (2020-02-11 11:12:47 +0200)

----------------------------------------------------------------
This tag contains the following fixes:

- Two fixes to the reset process of the ASIC. Without these fixes, the
reset process might take a long time and produce a kernel panic.
Alternatively, the ASIC could get stuck.

- Fix to reference counting of a command buffer object. It was kref_put
one more time than it should have been.

----------------------------------------------------------------
Oded Gabbay (2):
habanalabs: halt the engines before hard-reset
habanalabs: patched cb equals user cb in device memset

Omer Shpigelman (1):
habanalabs: do not halt CoreSight during hard reset

drivers/misc/habanalabs/device.c | 5 ++++-
drivers/misc/habanalabs/goya/goya.c | 44 +++++++++++++++++++++++++++++++++++--
2 files changed, 46 insertions(+), 3 deletions(-)