[PATCH v2 00/10] Remove pcim_iomap_regions_request_all()

Philipp Stanner
2024-08-05T08:02:07Z

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(-)

--
2.45.2