An error occurred fetching the project authors.
  1. 15 Mar, 2023 5 commits
  2. 26 Jan, 2023 4 commits
  3. 12 Jul, 2022 6 commits
  4. 22 May, 2022 2 commits
  5. 28 Feb, 2022 2 commits
  6. 26 Dec, 2021 4 commits
  7. 18 Oct, 2021 2 commits
  8. 18 Jun, 2021 1 commit
    • Oded Gabbay's avatar
      habanalabs: check running index in eqe control · 1242e9f0
      Oded Gabbay authored
      To harden the event queue mechanism, we add a running index to the
      control header of the entry.
      
      The firmware writes the index in each entry and the driver verifies
      that the index of the current entry is larger by 1 of the index of
      the previous entry.
      
      In case it isn't, the driver will treat the entry as if it wasn't
      valid (it won't process it but won't skip it).
      Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
      1242e9f0
  9. 09 Apr, 2021 2 commits
  10. 10 Mar, 2021 1 commit
  11. 04 Nov, 2020 1 commit
    • Arnd Bergmann's avatar
      habanalabs: fix kernel pointer type · 82948e6e
      Arnd Bergmann authored
      All throughout the driver, normal kernel pointers are
      stored as 'u64' struct members, which is kind of silly
      and requires casting through a uintptr_t to void* every
      time they are used.
      
      There is one line that missed the intermediate uintptr_t
      case, which leads to a compiler warning:
      
      drivers/misc/habanalabs/common/command_buffer.c: In function 'hl_cb_mmap':
      drivers/misc/habanalabs/common/command_buffer.c:512:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
        512 |  rc = hdev->asic_funcs->cb_mmap(hdev, vma, (void *) cb->kernel_address,
      
      Rather than adding one more cast, just fix the type and
      remove all the other casts.
      
      Fixes: 0db57535 ("habanalabs: make use of dma_mmap_coherent")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
      82948e6e
  12. 22 Sep, 2020 1 commit
  13. 24 Jul, 2020 4 commits
  14. 01 Jul, 2020 1 commit
  15. 29 Jun, 2020 1 commit
  16. 05 Sep, 2019 2 commits
  17. 12 Aug, 2019 1 commit