Skip to content

Remove pcim_iomap_regions_request_all()

Philipp Stanner linux-crypto linux-doc linux-pci linux-wireless lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 2 repliesIn review
  2. v210 patches 3 repliesSuperseded
  3. v110 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- Add missing full stops to commit messages (Andy).

Patches in v3 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 -10 replies
2/10ata: ahci: Replace deprecated PCI functionsdrivers/ata/acard-ahci.c drivers/ata/ahci.c+8 -40 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 -61 reply
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 -121 reply
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

8 of 10 patches have a Reviewed-by or Acked-by.

PatchDamien Le MoalSerge SeminJiri SlabyTakashi IwaiKalle ValoGiovanni Cabiddu
1/10R-b
2/10A-b
3/10A-b
4/10
5/10
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 6 reviewers.

Read the v3 thread

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

I removed a ton of people from CC and only kept those who's approval is pending.

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.46.0