1. 16 12月, 2006 1 次提交
    • R
      IB/srp: Fix FMR mapping for 32-bit kernels and addresses above 4G · bf628dc2
      Roland Dreier 提交于
      struct srp_device.fmr_page_mask was unsigned long, which means that
      the top part of addresses above 4G was being chopped off on 32-bit
      architectures.  Of course nothing good happens when data from SRP
      targets is DMAed to the wrong place.
      
      Fix this by changing fmr_page_mask to u64, to match the addresses
      actually used by IB devices.
      
      Thanks to Brian Cain <Brian.Cain@ge.com> and David McMillen
      <davem@systemfabricworks.com> for help diagnosing the bug and testing
      the fix.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      bf628dc2
  2. 13 12月, 2006 1 次提交
  3. 30 11月, 2006 2 次提交
  4. 22 11月, 2006 1 次提交
  5. 11 10月, 2006 2 次提交
  6. 23 9月, 2006 4 次提交
  7. 15 9月, 2006 1 次提交
  8. 04 8月, 2006 2 次提交
  9. 15 7月, 2006 2 次提交
  10. 18 6月, 2006 11 次提交
  11. 18 5月, 2006 3 次提交
  12. 10 5月, 2006 1 次提交
  13. 20 4月, 2006 1 次提交
  14. 04 4月, 2006 1 次提交
  15. 30 3月, 2006 1 次提交
    • R
      IB/srp: Fix unmapping of fake scatterlist · 3f89f834
      Roland Dreier 提交于
      The recently merged patch to create a fake scatterlist for non-SG SCSI
      commands had a bug: the driver ended up doing dma_unmap_sg() on a
      scatterlist scmnd->request_buffer rather than the fake scatter list it
      created.  Fix this so that the driver unmaps the same thing it maps.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      3f89f834
  16. 25 3月, 2006 1 次提交
    • R
      IB/srp: Use a fake scatterlist for non-SG SCSI commands · cf368713
      Roland Dreier 提交于
      Since the SCSI midlayer is moving towards entirely getting rid of
      commands with use_sg == 0, we should treat this case as an exception.
      Therefore, change the IB SRP initiator to create a fake scatterlist
      for these commands with sg_init_one().  This simplifies the flow of
      DMA mapping and unmapping, since SRP can just use dma_map_sg() and
      dma_unmap_sg() unconditionally, rather than having to choose between
      the dma_{map,unmap}_sg() and dma_{map,unmap}_single() variants.
      Signed-off-by: NRoland Dreier <rolandd@cisco.com>
      cf368713
  17. 21 3月, 2006 2 次提交
  18. 04 3月, 2006 1 次提交
  19. 31 1月, 2006 1 次提交
  20. 10 1月, 2006 1 次提交