switch most scsi drivers to the generic DMA API v2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A lot of SCSI drivers still use the legacy PCI DMA API.  While a few of
them have various oddities that should be deal with separately, most of
them can be very trivially converted over.

Two interesting things to look out for:

  - pci_(z)alloc_consistent forced GFP_ATOMIC allocations, which is a bad
    idea almost all the time.  All these patches switch over to GFP_KERNEL.
    The few drivers were we can't do this will be deal with separately.
  - a lot of odd things were going on when setting the dma mask.  This
    series switches to use dma_set_mask_and_coherent where possible.

Change since v1:
 - minor indentation and comment fixups
 - collected various reviewed-by/acked-by/tested-by tags



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux