[git pull] habanalabs fixes for 5.13-rc2

From: Oded Gabbay
Date: Sun May 02 2021 - 12:16:50 EST


Hi Greg,

This pull request contains a number of important fixes for 5.13-rc2.
Mainly fixes to support our new F/W with enhanced security features,
but also additional bugs.
See details in the tag message below.

Thanks,
Oded

The following changes since commit 7b1ae248279bea33af9e797a93c35f49601cb8a0:

dyndbg: fix parsing file query without a line-range suffix (2021-04-30 07:43:20 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 0552cea3a2e8af3e099d2b8c05aa290ffe680d92:

habanalabs: wait for interrupt wrong timeout calculation (2021-05-02 18:54:54 +0300)

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

- Expose PLL information per ASIC. This also fixes some casting warnings.
- Skip reading further firmware errors in case PCI link is down.
- Security firmware error should be handled as error and not warning.
- Allow user to ignore firmware errors.
- Fix bug in timeout calculation when waiting for interrupt of CS.

----------------------------------------------------------------
Bharat Jauhari (1):
habanalabs: expose ASIC specific PLL index

Oded Gabbay (3):
habanalabs: skip reading f/w errors on bad status
habanalabs: change error level of security not ready
habanalabs: ignore f/w status error

Ofir Bitton (1):
habanalabs: wait for interrupt wrong timeout calculation

.../misc/habanalabs/common/command_submission.c | 2 +-
drivers/misc/habanalabs/common/firmware_if.c | 53 ++++++++++++---------
drivers/misc/habanalabs/common/habanalabs.h | 23 +++++----
drivers/misc/habanalabs/common/habanalabs_drv.c | 7 +++
drivers/misc/habanalabs/common/sysfs.c | 4 +-
drivers/misc/habanalabs/gaudi/gaudi.c | 55 ++++++++--------------
drivers/misc/habanalabs/gaudi/gaudi_hwmgr.c | 12 ++---
drivers/misc/habanalabs/goya/goya.c | 47 +++++++-----------
drivers/misc/habanalabs/goya/goya_hwmgr.c | 40 ++++++++--------
include/uapi/misc/habanalabs.h | 33 +++++++++++++
10 files changed, 153 insertions(+), 123 deletions(-)