1. 11 Apr, 2021 1 commit
    • Greg Kroah-Hartman's avatar
      Merge tag 'misc-habanalabs-next-2021-04-10' of... · aa87e317
      Greg Kroah-Hartman authored
      Merge tag 'misc-habanalabs-next-2021-04-10' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux into char-misc-next
      
      Oded writes:
      
      This tag contains habanalabs driver changes for v5.13:
      
      - Add support to reset device after the user closes the file descriptor.
        Because we support a single user, we can reset the device (if needs to)
        after a user closes its file descriptor to make sure the device is in
        idle and clean state for the next user.
      
      - Add a new feature to allow the user to wait on interrupt. This is needed
        for future ASICs
      
      - Replace GFP_ATOMIC with GFP_KERNEL wherever possible and add code to
        support failure of allocating with GFP_ATOMIC.
      
      - Update code to support the latest firmware image:
        - More security features are done in the firmware
        - Remove hard-coded assumptions and replace them with values that are
          sent to the firmware on loading.
        - Print device unusable error
        - Reset device in case the communication between driver and firmware
          gets out of sync.
        - Support new PCI device ids for secured GAUDI.
      
      - Expose current power draw through the INFO IOCTL.
      
      - Support resetting the device upon a request from the BMC (through F/W).
      
      - Always use only a single MSI in GAUDI, due to H/W limitation.
      
      - Improve data-path code by taking out code from spinlock protection.
      
      - Allow user to specify custom timeout per Command Submission.
      
      - Some enhancements to debugfs.
      
      - Various minor changes and improvements.
      
      * tag 'misc-habanalabs-next-2021-04-10' of https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux: (41 commits)
        habanalabs: print f/w boot unknown error
        habanalabs: update to latest F/W communication header
        habanalabs/gaudi: skip iATU if F/W security is enabled
        habanalabs/gaudi: derive security status from pci id
        habanalabs: move dram scrub to free sequence
        habanalabs: send dynamic msi-x indexes to f/w
        habanalabs/gaudi: clear QM errors only if not in stop_on_err mode
        habanalabs: support DEVICE_UNUSABLE error indication from FW
        habanalabs: use strscpy instead of sprintf and strlcpy
        habanalabs: remove the store jobs array from CS IOCTL
        habanalabs/gaudi: add debugfs to DMA from the device
        habanalabs/gaudi: sync stream add protection to SOB reset flow
        habanalabs: add custom timeout flag per cs
        habanalabs: improve utilization calculation
        habanalabs: support legacy and new pll indexes
        habanalabs: move relevant datapath work outside cs lock
        habanalabs: avoid soft lockup bug upon mapping error
        habanalabs/gaudi: Update async events header
        habanalabs/gaudi: unsecure TPC cfg status registers
        habanalabs/gaudi: always use single-msi mode
        ...
      aa87e317
  2. 10 Apr, 2021 7 commits
  3. 09 Apr, 2021 32 commits