Hi Dave, Daniel. An additional pull request for 6.4. Mostly bug fixes and cleanups. Full details are in the signed tag. Thanks, Oded The following changes since commit 4d877b1a6e855d1c8685fa0e27ad7a521b31b6ca: Merge tag 'drm-intel-next-2023-04-06' of git://anongit.freedesktop.org/drm/drm-intel into drm-next (2023-04-06 16:31:33 +0200) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git tags/drm-habanalabs-next-2023-04-10 for you to fetch changes up to 56499c461589634f2c89ffbd9cfb78268191d349: accel/habanalabs: add missing error flow in hl_sysfs_init() (2023-04-08 10:44:23 +0300) ---------------------------------------------------------------- This tag contains additional habanalabs driver changes for v6.4: - uAPI changes: - Add a definition of a new Gaudi2 server type. This is used by userspace to know what is the connectivity between the accelerators inside the server - New features and improvements: - speedup h/w queues test in Gaudi2 to reduce device initialization times. - Firmware related fixes: - Fixes to the handshake protocol during f/w initialization. - Sync f/w events interrupt in hard reset to avoid warning message. - Improvements to extraction of the firmware version. - Misc bug fixes and code cleanups. Notable fixes are: - Multiple fixes for interrupt handling in Gaudi2. - Unmap mapped memory in case TLB invalidation fails. ---------------------------------------------------------------- Cai Huoqing (1): accel/habanalabs: Remove redundant pci_clear_master Dafna Hirschfeld (2): accel/habanalabs: check return value of add_va_block_locked accel/habanalabs: improvements to FW ver extraction Dani Liberman (2): accel/habanalabs: fix access error clear event accel/habanalabs: fix handling of arc farm sei event Koby Elbaz (3): accel/habanalabs: unmap mapped memory when TLB inv fails accel/habanalabs: change COMMS warning messages to error level accel/habanalabs: don't wait for STS_OK after sending COMMS WFE Moti Haimovski (1): accel/habanalabs: speedup h/w queues test in Gaudi2 Oded Gabbay (1): accel/habanalabs/uapi: new Gaudi2 server type Ofir Bitton (5): accel/habanalabs: fix HBM MMU interrupt handling accel/habanalabs: print raw binning masks in debug level accel/habanalabs: fix wrong reset and event flags accel/habanalabs: fixes for unexpected error interrupt accel/habanalabs: remove Gaudi1 multi MSI code Tal Cohen (4): accel/habanalabs: print event type when device is disabled accel/habanalabs: remove duplicated disable pci msg accel/habanalabs: send disable pci when compute ctx is active accel/habanalabs: sync f/w events interrupt in hard reset Tomer Tayar (3): accel/habanalabs: remove completion from abnormal interrupt work name accel/habanalabs: fix events mask of decoder abnormal interrupts accel/habanalabs: add missing error flow in hl_sysfs_init() drivers/accel/habanalabs/common/command_buffer.c | 15 +- drivers/accel/habanalabs/common/decoder.c | 40 ++- drivers/accel/habanalabs/common/device.c | 54 ++-- drivers/accel/habanalabs/common/firmware_if.c | 17 +- drivers/accel/habanalabs/common/habanalabs.h | 14 +- drivers/accel/habanalabs/common/irq.c | 11 +- drivers/accel/habanalabs/common/memory.c | 11 +- drivers/accel/habanalabs/common/mmu/mmu.c | 8 +- drivers/accel/habanalabs/common/pci/pci.c | 2 - drivers/accel/habanalabs/common/sysfs.c | 6 +- drivers/accel/habanalabs/gaudi/gaudi.c | 86 +---- drivers/accel/habanalabs/gaudi/gaudiP.h | 15 - drivers/accel/habanalabs/gaudi2/gaudi2.c | 347 +++++++++++++++------ drivers/accel/habanalabs/gaudi2/gaudi2P.h | 17 + drivers/accel/habanalabs/goya/goya.c | 1 + .../include/gaudi2/asic_reg/gaudi2_regs.h | 4 +- include/uapi/drm/habanalabs_accel.h | 3 +- 17 files changed, 382 insertions(+), 269 deletions(-)