Skip to content

Remove pcim_iomap_regions_request_all()

Philipp Stanner linux-crypto linux-doc linux-ide linux-pci linux-serial linux-sound linux-wireless lkml ntb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 9 repliesIn review

Changes in v5 from the cover letter

- Add Acked-by's from Alexander and Bharat (the latter sent off-list, because of some issue with receiving the previous patch sets).

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10PCI: Make pcim_request_all_regions() a public functiondrivers/pci/devres.c include/linux/pci.h+3 -11 reply
2/10ata: ahci: Replace deprecated PCI functionsdrivers/ata/acard-ahci.c drivers/ata/ahci.c+8 -42 replies
3/10crypto: qat - replace deprecated PCI functionsdrivers/crypto/intel/qat/qat_420xx/adf_drv.c drivers/crypto/intel/qat/qat_4xxx/adf_drv.c+16 -60 replies
4/10crypto: marvell - replace deprecated PCI functionsdrivers/crypto/marvell/octeontx2/otx2_cptpf_main.c drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c+18 -90 replies
5/10intel_th: pci: Replace deprecated PCI functionsdrivers/hwtracing/intel_th/pci.c+7 -20 replies
6/10wifi: iwlwifi: replace deprecated PCI functionsdrivers/net/wireless/intel/iwlwifi/pcie/trans.c+4 -125 replies
7/10ntb: idt: Replace deprecated PCI functionsdrivers/ntb/hw/idt/ntb_hw_idt.c+9 -40 replies
8/10serial: rp2: Replace deprecated PCI functionsdrivers/tty/serial/rp2.c+7 -50 replies
9/10ALSA: korg1212: Replace deprecated PCI functionssound/pci/korg1212/korg1212.c+4 -20 replies
10/10PCI: Remove pcim_iomap_regions_request_all()Documentation/driver-api/driver-model/devres.rst drivers/pci/devres.c include/linux/pci.h+0 -590 replies

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchDamien Le MoalGiovanni CabidduBharat BhushanAlexander ShishkinKalle ValoSerge SeminJiri SlabyTakashi IwaiIlpo Järvinen
1/10R-b R-b
2/10A-b
3/10A-b
4/10A-b
5/10A-b
6/10A-b
7/10A-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 9 reviewers.

Read the v1 thread

Cover letter [PATCH 00/10] Remove pcim_iomap_regions_request_all()

All Acked-by's are in place now.

Changes in v5:
- Add Acked-by's from Alexander and Bharat (the latter sent off-list, because of some issue with receiving the previous patch sets).

Changes in v4:
- Add Acked-by's from Giovanni and Kalle.

Changes in v3:
- Add missing full stops to commit messages (Andy).

Changes in v2:
- Fix a bug in patch №4 ("crypto: marvell ...") where an error code was not set before printing it. (Me)
- Apply Damien's Reviewed- / Acked-by to patches 1, 2 and 10. (Damien)
- Apply Serge's Acked-by to patch №7. (Serge)
- Apply Jiri's Reviewed-by to patch №8. (Jiri)
- Apply Takashi Iwai's Reviewed-by to patch №9. (Takashi)

Hi all,

the PCI subsystem is currently working on cleaning up its devres API. To do so, a few functions will be replaced with better alternatives.

This series removes pcim_iomap_regions_request_all(), which has been deprecated already, and accordingly replaces the calls to pcim_iomap_table() (which were only necessary because of pcim_iomap_regions_request_all() in the first place) with calls to pcim_iomap().

Would be great if you can take a look whether this behaves as you intended for your respective component.

Cheers,
Philipp

Philipp Stanner (10):
PCI: Make pcim_request_all_regions() a public function
ata: ahci: Replace deprecated PCI functions
crypto: qat - replace deprecated PCI functions
crypto: marvell - replace deprecated PCI functions
intel_th: pci: Replace deprecated PCI functions
wifi: iwlwifi: replace deprecated PCI functions
ntb: idt: Replace deprecated PCI functions
serial: rp2: Replace deprecated PCI functions
ALSA: korg1212: Replace deprecated PCI functions
PCI: Remove pcim_iomap_regions_request_all()

 .../driver-api/driver-model/devres.rst        |  1 -
 drivers/ata/acard-ahci.c                      |  6 +-
 drivers/ata/ahci.c                            |  6 +-
 drivers/crypto/intel/qat/qat_420xx/adf_drv.c  | 11 +++-
 drivers/crypto/intel/qat/qat_4xxx/adf_drv.c   | 11 +++-
 .../marvell/octeontx2/otx2_cptpf_main.c       | 14 +++--
 .../marvell/octeontx2/otx2_cptvf_main.c       | 13 ++--
 drivers/hwtracing/intel_th/pci.c              |  9 ++-
 .../net/wireless/intel/iwlwifi/pcie/trans.c   | 16 ++---
 drivers/ntb/hw/idt/ntb_hw_idt.c               | 13 ++--
 drivers/pci/devres.c                          | 59 +------------------
 drivers/tty/serial/rp2.c                      | 12 ++--
 include/linux/pci.h                           |  3 +-
 sound/pci/korg1212/korg1212.c                 |  6 +-
 14 files changed, 76 insertions(+), 104 deletions(-)
Signature · 1 line
2.47.0