1. 23 Sep, 2020 1 commit
  2. 22 Sep, 2020 3 commits
  3. 21 Sep, 2020 12 commits
  4. 15 Sep, 2020 2 commits
  5. 14 Sep, 2020 4 commits
  6. 11 Sep, 2020 5 commits
  7. 09 Sep, 2020 4 commits
    • Federico Vaga's avatar
      drv: split DMA on mapping failure · 330caa51
      Federico Vaga authored
      By default the SW-IOMMU reserves 64MiB, but despite this it fails in
      allocating buffere bigger than 0.3MiB. We do not have control over the
      kernel code, and it is not clear how to debug it (e.g. see the current
      status of those 64MiB). For this reasons the most practical solution
      is to break the DMA transfer in smaller chunks until it works.
      
      We set the minimum chunk to PAGE_SIZE, because if it fails with this,
      really there is nothing we can do.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      330caa51
    • Federico Vaga's avatar
      drv: request DMA channel at probe · 9afa3d2e
      Federico Vaga authored
      On SPEC each ADC has its own DMA channel which can be requested at
      probe time. For SVEC, we need to request/release for every
      acquisition.
      
      In principle it is also possible for SVEC as well, but this will need
      some work on the VME bridge driver to support virtual DMA
      channels. And even in that case it could be tricky. Alternativelly we
      could implement a share DMA channel, but it is not possible to
      implement it in a clean way using the DMA engine framework.
      
      So, this code put down the foundations for the ideal world where we
      request the DMA channel once at probe time. But to support the SVEC
      case there are *_svec variants in the code.
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      9afa3d2e
    • Federico Vaga's avatar
      60f175cb
    • Federico Vaga's avatar
      drv: use DMA engine error reporting · 61b4ff9c
      Federico Vaga authored
      Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
      61b4ff9c
  8. 08 Sep, 2020 6 commits
  9. 18 Aug, 2020 1 commit
  10. 17 Aug, 2020 2 commits