Re: [git pull] habanalabs pull request for kernel 5.12

2021-02-04 Thread Greg KH
On Wed, Jan 27, 2021 at 09:29:22PM +0200, Oded Gabbay wrote:
> Hi Greg,
> 
> This is habanalabs pull request for the merge window of kernel 5.12.
> It contains changes and new features, support for new firmware.
> Details are in the tag.
> 
> Thanks,
> Oded
> 
> The following changes since commit 0fc99422bc034de018607ef6b70f92d4bc4a236d:
> 
>   firmware: xilinx: Remove PM_API_MAX value (2021-01-26 19:38:54 +0100)
> 
> are available in the Git repository at:
> 
>   https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git 
> tags/misc-habanalabs-next-2021-01-27

Sorry for the delay, now pulled and pushed out.

greg k-h


[git pull] habanalabs pull request for kernel 5.12

2021-01-27 Thread Oded Gabbay
Hi Greg,

This is habanalabs pull request for the merge window of kernel 5.12.
It contains changes and new features, support for new firmware.
Details are in the tag.

Thanks,
Oded

The following changes since commit 0fc99422bc034de018607ef6b70f92d4bc4a236d:

  firmware: xilinx: Remove PM_API_MAX value (2021-01-26 19:38:54 +0100)

are available in the Git repository at:

  https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git 
tags/misc-habanalabs-next-2021-01-27

for you to fetch changes up to f1aebf5e3d606a2a910eed54bc8d17655f12b606:

  habanalabs: update to latest hl_boot_if.h spec from F/W (2021-01-27 21:03:51 
+0200)


This tag contains habanalabs driver changes for v5.12:

- Add feature called "staged command submissions". In this feature,
  the driver allows the user to submit multiple command submissions
  that describe a single pass on the deep learning graph. The driver
  tracks the completion of the entire pass by the last stage CS.

- Update code to support the latest firmware image

- Optimizations and improvements to MMU code:
  - Support page size that is not power-of-2
  - Make the locks scheme simpler
  - mmap areas in device configuration space to userspace

- Security fixes:
  - Make ETR non-secured
  - Remove access to kernel memory through debug-fs interface
  - Remove access through PCI bar to SyncManager register block
in Gaudi

- Many small bug fixes


Alon Mizrahi (2):
  habanalabs: replace WARN/WARN_ON with dev_crit in driver
  habanalabs: return dram virtual address in info ioctl

Christophe JAILLET (1):
  habanalabs: Use 'dma_set_mask_and_coherent()'

Moti Haimovski (2):
  habanalabs: report dram_page_size in hw_ip_info ioctl
  habanalabs: support non power-of-2 DRAM phys page sizes

Oded Gabbay (8):
  habanalabs: update firmware boot interface
  habanalabs: add ASIC property of functional HBMs
  habanalabs: update to latest hl_boot_if.h
  habanalabs: update email address in sysfs/debugfs docs
  CREDITS: update email address and home address
  habanalabs: update SyncManager interrupt handling
  habanalabs/gaudi: unmask HBM interrupts after handling
  habanalabs: update to latest hl_boot_if.h spec from F/W

Ofir Bitton (20):
  habanalabs: Init the VM module for kernel context
  habanalabs/gaudi: support CS with no completion
  habanalabs: allow user to pass a staged submission seq
  habanalabs/gaudi: remove duplicated gaudi packets masks
  habanalabs/gaudi: add debug prints for security status
  habanalabs/gaudi: set uninitialized symbol
  habanalabs: remove access to kernel memory using debugfs
  habanalabs: report correct dram size in info ioctl
  habanalabs: read device boot errors after cpucp is up
  habanalabs: separate common code to dedicated folders
  habanalabs: increment ctx ref from within a cs allocation
  habanalabs: add driver support for internal cb scheduling
  habanalabs/gaudi: remove PCI access to SM block
  habanalabs/gaudi: print sync manager SEI interrupt info
  habanalabs: ignore F/W BMC errors in case no BMC present
  habanalabs: add security violations dump to debugfs
  habanalabs: add user available interrupt to hw_ip
  habanalabs: add new mem ioctl op for mapping hw blocks
  habanalabs: add CS completion and timeout properties
  habanalabs: staged submission support

Ohad Sharabi (4):
  habanalabs: refactor MMU locks code
  habanalabs/goya: move mmu_prepare to context init
  habanalabs: modify device_idle interface
  habanalabs: fix ETR security issue

Omer Shpigelman (2):
  habanalabs: kernel doc format in memory functions
  habanalabs: modify memory functions signatures

farah kassabri (2):
  habanalabs: always try to use the hint address
  habanalabs: fix MMU debugfs related nodes

 CREDITS|   8 +-
 .../ABI/testing/debugfs-driver-habanalabs  |  50 +-
 Documentation/ABI/testing/sysfs-driver-habanalabs  |  58 +-
 drivers/misc/habanalabs/common/Makefile|  10 +-
 drivers/misc/habanalabs/common/asid.c  |   6 +-
 drivers/misc/habanalabs/common/command_buffer.c|   8 +-
 .../misc/habanalabs/common/command_submission.c| 473 ++--
 drivers/misc/habanalabs/common/context.c   |  33 +-
 drivers/misc/habanalabs/common/debugfs.c   |  43 +-
 drivers/misc/habanalabs/common/device.c|  23 +-
 drivers/misc/habanalabs/common/firmware_if.c   | 143 +++--
 drivers/misc/habanalabs/common/habanalabs.h| 100 +++-
 drivers/misc/habanalabs/common/habanalabs_ioctl.c  |  22 +-
 drivers/misc/habanalabs/common/hw_queue.c  |  51 +-
 drivers/misc/habanalabs/common/memory.c| 614 +