Skip to content

RFC ATA: Replace deprecated PCI functions

Philipp Stanner linux-ide lkml llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ata: Allocate PCI iomap table staticallyinclude/linux/libata.h+6 -10 replies
2/3ata: Replace deprecated PCI functionsdrivers/ata/ata_piix.c drivers/ata/pata_atp867x.c drivers/ata/pata_hpt3x3.c +16 more+126 -931 reply
3/3libata-sff: Simplify request of PCI resourcesdrivers/ata/libata-sff.c+84 -461 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] ATA: Replace deprecated PCI functions

Hi,

many of you probably know that I'm trying to remove pcim_iomap_regions() from the kernel. One of the more difficult users is ATA, because it's the only subsystem I've seen so far that accesses that table pcim_iomap_table() administrates.

This series only builds as a whole because of patch 1. That's why I submit it as an RFC.

I want to know whether you agree with the basic idea, and whether your subsystem wants this series to be squashed into a single commit that builds.

Another solution would be to provide a struct ata_host.iomap2 or something like that, phase out the pcim_iomap_regions() users, and then remove iomap2 again.

Please tell me your preferred way.

(This is the revived version of an old series from August. In case someone is wondering)

Thx,
P.

Philipp Stanner (3):
ata: Allocate PCI iomap table statically
ata: Replace deprecated PCI functions
libata-sff: Simplify request of PCI resources

 drivers/ata/ata_piix.c      |   7 +-
 drivers/ata/libata-sff.c    | 130 +++++++++++++++++++++++-------------
 drivers/ata/pata_atp867x.c  |  13 ++--
 drivers/ata/pata_hpt3x3.c   |  10 +--
 drivers/ata/pata_ninja32.c  |  11 +--
 drivers/ata/pata_pdc2027x.c |  11 ++-
 drivers/ata/pata_sil680.c   |  12 ++--
 drivers/ata/pdc_adma.c      |   9 ++-
 drivers/ata/sata_inic162x.c |  10 ++-
 drivers/ata/sata_mv.c       |   9 +--
 drivers/ata/sata_nv.c       |   8 +--
 drivers/ata/sata_promise.c  |   8 ++-
 drivers/ata/sata_qstor.c    |   7 +-
 drivers/ata/sata_sil.c      |   8 ++-
 drivers/ata/sata_sil24.c    |  20 +++---
 drivers/ata/sata_sis.c      |   8 +--
 drivers/ata/sata_svw.c      |  10 +--
 drivers/ata/sata_sx4.c      |  19 +++++-
 drivers/ata/sata_via.c      |  31 +++++----
 drivers/ata/sata_vsc.c      |   8 ++-
 include/linux/libata.h      |   7 +-
 21 files changed, 216 insertions(+), 140 deletions(-)
Signature · 1 line
2.47.0