1. 08 5月, 2021 1 次提交
  2. 09 4月, 2021 11 次提交
  3. 09 2月, 2021 5 次提交
  4. 28 1月, 2021 11 次提交
  5. 12 1月, 2021 1 次提交
    • O
      habanalabs: fix dma_addr passed to dma_mmap_coherent · a9d4ef64
      Oded Gabbay 提交于
      When doing dma_alloc_coherent in the driver, we add a certain hard-coded
      offset to the DMA address before returning to the callee function. This
      offset is needed when our device use this DMA address to perform
      outbound transactions to the host.
      
      However, if we want to map the DMA'able memory to the user via
      dma_mmap_coherent(), we need to pass the original dma address, without
      this offset. Otherwise, we will get erronouos mapping.
      Signed-off-by: NOded Gabbay <ogabbay@kernel.org>
      a9d4ef64
  6. 28 12月, 2020 3 次提交
  7. 30 11月, 2020 8 次提交