mbox series

[0/7] scsi: Remove pci-dma-compat wrapper APIs.

Message ID cover.1596045683.git.usuraj35@gmail.com (mailing list archive)
Headers show
Series scsi: Remove pci-dma-compat wrapper APIs. | expand

Message

Suraj Upadhyay July 29, 2020, 6:05 p.m. UTC
Hii Maintainers,
        This patchset replaces the pci-dma-compat wrappers with their
dma-mapping counterparts. Thus, removing possible midlayering and
unnecessary legacy code and API.

Most of the task is fairly trivially scriptable and done with
coccinelle. But the handling of pci_z/alloc_consistent needed
some hand modification in replacing the flag GFP_ATOMIC with
a proper flag depending upon the context.

I would be glad to receive any feedbacks.

Thanks,

Suraj Upadhyay.

Suraj Upadhyay (7):
  scsi: aacraid: Remove pci-dma-compat wrapper APIs
  scsi: aic7xxx: Remove pci-dma-compat wrapper APIs.
  scsi: dc395x: Remove pci-dma-compat wrapper APIs.
  scsi: mpt3sas: Remove pci-dma-compat wrapper APIs.
  scsi: hpsa: Remove pci-dma-compat wrapper APIs.
  scsi: qla2xxx: Remove pci-dma-compat wrapper APIs.
  scsi: megaraid: Remove pci-dma-compat wrapper APIs

 drivers/scsi/aacraid/aachba.c      |   4 +-
 drivers/scsi/aacraid/commctrl.c    |  20 +--
 drivers/scsi/aacraid/commsup.c     |   8 +-
 drivers/scsi/aacraid/linit.c       |   4 +-
 drivers/scsi/aic7xxx/aic79xx_osm.c |   7 +-
 drivers/scsi/dc395x.c              |   6 +-
 drivers/scsi/hpsa.c                |  16 +--
 drivers/scsi/megaraid.c            | 192 +++++++++++++++--------------
 drivers/scsi/mpt3sas/mpt3sas_ctl.c |  10 +-
 drivers/scsi/qla2xxx/qla_os.c      |   4 +-
 10 files changed, 141 insertions(+), 130 deletions(-)

Comments

Martin K. Petersen Aug. 31, 2020, 5:41 p.m. UTC | #1
On Wed, 29 Jul 2020 23:35:29 +0530, Suraj Upadhyay wrote:

> Hii Maintainers,
>         This patchset replaces the pci-dma-compat wrappers with their
> dma-mapping counterparts. Thus, removing possible midlayering and
> unnecessary legacy code and API.
> 
> Most of the task is fairly trivially scriptable and done with
> coccinelle. But the handling of pci_z/alloc_consistent needed
> some hand modification in replacing the flag GFP_ATOMIC with
> a proper flag depending upon the context.
> 
> [...]

Applied to 5.10/scsi-queue, thanks!

[1/7] scsi: aacraid: Remove pci-dma-compat wrapper API
      https://git.kernel.org/mkp/scsi/c/e555cd5f17be
[2/7] scsi: aic7xxx: Remove pci-dma-compat wrapper API
      https://git.kernel.org/mkp/scsi/c/daf4b00b7576
[3/7] scsi: dc395x: Remove pci-dma-compat wrapper API
      https://git.kernel.org/mkp/scsi/c/ece0eeff4c72
[4/7] scsi: mpt3sas: Remove pci-dma-compat wrapper API
      https://git.kernel.org/mkp/scsi/c/a5a20c4a294e
[5/7] scsi: hpsa: Remove pci-dma-compat wrapper API
      https://git.kernel.org/mkp/scsi/c/8f31fa53d36b
[6/7] scsi: qla2xxx: Remove pci-dma-compat wrapper API
      https://git.kernel.org/mkp/scsi/c/8d1f1ffaeb27
[7/7] scsi: megaraid: Remove pci-dma-compat wrapper API
      https://git.kernel.org/mkp/scsi/c/ec090ef8cd1c