An error occurred fetching the project authors.
  1. 28 Feb, 2022 1 commit
  2. 26 Dec, 2021 8 commits
  3. 18 Oct, 2021 2 commits
  4. 01 Sep, 2021 2 commits
    • Oded Gabbay's avatar
      habanalabs: add support for f/w reset · 8d9aa980
      Oded Gabbay authored
      When the f/w runs in secured mode, it can reset the ASIC when certain
      events occur. In unsecured mode, the driver asks the f/w to reset the
      ASIC for those events.
      
      We need to perform the entire reset procedure but without accessing the
      ASIC. i.e. without halting the engines and without sending messages
      to the f/w.
      Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
      8d9aa980
    • Omer Shpigelman's avatar
      habanalabs: add "in device creation" status · 71731090
      Omer Shpigelman authored
      On init, the disabled state is cleared right before hw_init and that
      causes the device to report on "Operational" state before the device
      initialization is finished. Although the char device is not yet exposed
      to the user at this stage, the sysfs entries are exposed.
      
      This can cause errors in monitoring applications that use the sysfs
      entries.
      
      In order to avoid this, a new state "in device creation" is introduced
      to ne reported when the device is not disabled but is still in init
      flow.
      Signed-off-by: default avatarOmer Shpigelman <oshpigelman@habana.ai>
      Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
      Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
      71731090
  5. 29 Aug, 2021 2 commits
  6. 18 Jun, 2021 9 commits
  7. 08 May, 2021 1 commit
    • Oded Gabbay's avatar
      habanalabs: ignore f/w status error · 27a9e35d
      Oded Gabbay authored
      In case firmware has a bug and erroneously reports a status error
      (e.g. device unusable) during boot, allow the user to tell the driver
      to continue the boot regardless of the error status.
      
      This will be done via kernel parameter which exposes a mask. The
      user that loads the driver can decide exactly which status error to
      ignore and which to take into account. The bitmask is according to
      defines in hl_boot_if.h
      Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
      27a9e35d
  8. 09 Apr, 2021 3 commits
  9. 28 Dec, 2020 1 commit
  10. 30 Nov, 2020 4 commits
  11. 22 Sep, 2020 1 commit
  12. 24 Jul, 2020 2 commits
  13. 10 Jul, 2020 1 commit
  14. 19 May, 2020 3 commits
    • Oded Gabbay's avatar
      habanalabs: enable gaudi code in driver · af57cb81
      Oded Gabbay authored
      Enable the GAUDI ASIC code in the pci probe callback of the driver so the
      driver will handle GAUDI ASICs.
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      af57cb81
    • Oded Gabbay's avatar
      habanalabs: add gaudi asic-dependent code · ac0ae6a9
      Oded Gabbay authored
      Add the ASIC-dependent code for GAUDI. Supply (almost) all of the function
      callbacks that the driver's common code need to initialize, finalize and
      submit workloads to the GAUDI ASIC.
      
      It also contains the code to initialize the F/W of the GAUDI ASIC and to
      receive events from the F/W.
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      ac0ae6a9
    • Oded Gabbay's avatar
      habanalabs: support clock gating enable/disable · ca62433f
      Oded Gabbay authored
      In Gaudi there is a feature of clock gating certain engines.
      Therefore, add this property to the device structure.
      
      In addition, due to a limitation of this feature, the driver needs to
      dynamically enable or disable this feature during run-time. Therefore, add
      ASIC interface functions to enable/disable this function from the common
      code.
      
      Moreover, this feature must be turned off when the user wishes to debug the
      ASIC by reading/writing registers and/or memory through the driver's
      debugfs. Therefore, add an option to enable/disable clock gating via the
      debugfs interface.
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      ca62433f