1. 29 May, 2019 2 commits
    • Oded Gabbay's avatar
      habanalabs: de-couple MMU and VM module initialization · 37d68ce5
      Oded Gabbay authored
      This patch initializes the MMU S/W structures before the VM S/W
      structures, instead of doing that as part of the VM S/W initialization.
      
      This is done because we need to configure some MMU mappings for the kernel
      context, before the VM is initialized. The VM initialization can't be
      moved earlier because it depends on the size of the DRAM, which is
      retrieved from the device CPU. Communication with the device CPU will
      require the MMU mappings to be configured and hence the de-coupling.
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      37d68ce5
    • Oded Gabbay's avatar
      habanalabs: initialize device CPU queues after MMU init · 0b28d26b
      Oded Gabbay authored
      This patch changes the order of H/W IP initializations. The MMU needs to
      be initialized before the device CPU queues, because the CPU will go
      through the ASIC MMU in order to reach the host memory (where the queues
      are located).
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      0b28d26b
  2. 06 Jun, 2019 2 commits
  3. 04 Jun, 2019 1 commit
  4. 30 May, 2019 3 commits
  5. 16 May, 2019 2 commits
  6. 13 May, 2019 2 commits
  7. 12 May, 2019 1 commit
  8. 08 May, 2019 5 commits
  9. 04 May, 2019 1 commit
    • Oded Gabbay's avatar
      habanalabs: force user to set device debug mode · 19734970
      Oded Gabbay authored
      This patch adds the implementation of the HL_DEBUG_OP_SET_MODE opcode in
      the DEBUG IOCTL.
      
      It forces the user who wants to debug the device to set the device into
      debug mode before he can configure the debug engines. The patch also makes
      sure to disable debug mode upon user releasing FD, in case the user forgot
      to disable debug mode.
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      19734970
  10. 05 May, 2019 2 commits
  11. 04 May, 2019 1 commit
  12. 03 Jul, 2019 18 commits