Skip to content

PCI: deprecate pci_get_bus_and_slot()

Sinan Kaya dri-devel linux-alpha linux-arm-kernel linux-arm-msm linux-fbdev linux-ide linux-iommu linux-pci linuxppc-dev lkml netdev nouveau sparclinux xen-devel 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest26 patches 34 repliesApplied
  2. v329 patches 19 repliesSuperseded
  3. v229 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v130 patches31 repliesApplied

Changes in v4 from the cover letter

* rebase to linux-next
* drop drm i915 as it is going through the drm tip
* commit summary cleanups

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/26alpha/PCI: deprecate pci_get_bus_and_slot()arch/alpha/kernel/pci.c arch/alpha/kernel/sys_nautilus.c+2 -21 reply
2/26powerpc/PCI: deprecate pci_get_bus_and_slot()arch/powerpc/kernel/pci_32.c arch/powerpc/platforms/powermac/feature.c arch/powerpc/sysdev/mv64x60_pci.c+5 -42 replies
3/26x86/PCI: deprecate pci_get_bus_and_slot()arch/x86/pci/irq.c+2 -10 replies
4/26ata: deprecate pci_get_bus_and_slot()drivers/ata/pata_ali.c+2 -10 replies
5/26agp: nvidia: deprecate pci_get_bus_and_slot()drivers/char/agp/nvidia-agp.c drivers/char/agp/sworks-agp.c+11 -45 replies
6/26edd: deprecate pci_get_bus_and_slot()drivers/firmware/edd.c+4 -41 reply
7/26ibft: deprecate pci_get_bus_and_slot()drivers/firmware/iscsi_ibft.c+3 -20 replies
8/26drm/gma500: deprecate pci_get_bus_and_slot()drivers/gpu/drm/gma500/cdv_device.c drivers/gpu/drm/gma500/gma_device.c drivers/gpu/drm/gma500/mid_bios.c +2 more+39 -211 reply
9/26drm/nouveau: deprecate pci_get_bus_and_slot()drivers/gpu/drm/nouveau/dispnv04/arb.c drivers/gpu/drm/nouveau/dispnv04/hw.c drivers/gpu/drm/nouveau/nouveau_drm.c +1 more+21 -61 reply
10/26Drivers: ide: deprecate pci_get_bus_and_slot()drivers/ide/sl82c105.c+3 -21 reply
11/26iommu/amd: deprecate pci_get_bus_and_slot()drivers/iommu/amd_iommu.c drivers/iommu/amd_iommu_init.c drivers/iommu/amd_iommu_v2.c+9 -65 replies
12/26powerpc/powermac: deprecate pci_get_bus_and_slot()drivers/macintosh/via-pmu.c+1 -10 replies
13/26bnx2x: deprecate pci_get_bus_and_slot()drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h+10 -11 reply
14/26pch_gbe: deprecate pci_get_bus_and_slot()drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c+4 -25 replies
15/26PCI: cpqhp: deprecate pci_get_bus_and_slot()drivers/pci/hotplug/cpqphp_pci.c+14 -40 replies
16/26PCI: ibmphp: deprecate pci_get_bus_and_slot()drivers/pci/hotplug/ibmphp_core.c+4 -30 replies
17/26PCI/quirks: deprecate pci_get_bus_and_slot()drivers/pci/quirks.c+2 -10 replies
18/26PCI/syscall: deprecate pci_get_bus_and_slot()drivers/pci/syscall.c+2 -20 replies
19/26xen: deprecate pci_get_bus_and_slot()drivers/pci/xen-pcifront.c+2 -10 replies
20/26openprom: deprecate pci_get_bus_and_slot()drivers/sbus/char/openprom.c+3 -21 reply
21/26backlight: deprecate pci_get_bus_and_slot()drivers/video/backlight/apple_bl.c+1 -11 reply
22/26video: fbdev: intelfb: deprecate pci_get_bus_and_slot()drivers/video/fbdev/intelfb/intelfbhw.c+3 -12 replies
23/26video: fbdev: nvidia: deprecate pci_get_bus_and_slot()drivers/video/fbdev/nvidia/nv_hw.c drivers/video/fbdev/nvidia/nv_setup.c+8 -62 replies
24/26video: fbdev: riva: deprecate pci_get_bus_and_slot()drivers/video/fbdev/riva/fbdev.c drivers/video/fbdev/riva/nv_driver.c drivers/video/fbdev/riva/riva_hw.c +1 more+20 -122 replies
25/26i7300_idle: remove unused fileinclude/linux/i7300_idle.h+0 -842 replies
26/26PCI: Remove pci_get_bus_and_slot() functioninclude/linux/pci.h+0 -81 reply

Reviews trailers per patch

14 of 26 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchThomas GleixnerTejun HeoKonrad Rzeszutek WilkJuergen GrossJingoo HanDaniel ThompsonMichael EllermanDavid S. MillerBartlomiej ZolnierkiewiczGary R HookJoerg Roedel
SeriesR-b
1/26
2/26A-b
3/26A-b
4/26A-b
5/26
6/26
7/26A-b
8/26
9/26
10/26A-b
11/26A-b
12/26
13/26A-b
14/26A-b
15/26
16/26
17/26
18/26
19/26R-b
20/26A-b
21/26A-b A-b
22/26A-b
23/26A-b
24/26A-b
25/26
26/26

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

Read the v4 thread

Cover letter [PATCH V4 00/26] PCI: deprecate pci_get_bus_and_slot()

Deprecate pci_get_bus_and_slot() in favor of pci_get_domain_bus_and_slot() in order to remove domain 0 assumptions in the kernel.

pci_get_bus_and_slot() is restrictive such that it assumes domain=0 as where a PCI device is present. This restricts the device drivers to be reused for other domain numbers.

Use pci_get_domain_bus_and_slot() with a domain number of 0 where we can't extract the domain number. Other places, use the actual domain number from the device.

Changes from v3:
* rebase to linux-next
* drop drm i915 as it is going through the drm tip
* commit summary cleanups

Sinan Kaya (26):
alpha/PCI: deprecate pci_get_bus_and_slot() powerpc/PCI: deprecate pci_get_bus_and_slot() x86/PCI: deprecate pci_get_bus_and_slot()
ata: deprecate pci_get_bus_and_slot()
agp: nvidia: deprecate pci_get_bus_and_slot()
edd: deprecate pci_get_bus_and_slot()
ibft: deprecate pci_get_bus_and_slot() drm/gma500: deprecate pci_get_bus_and_slot() drm/nouveau: deprecate pci_get_bus_and_slot()
Drivers: ide: deprecate pci_get_bus_and_slot() iommu/amd: deprecate pci_get_bus_and_slot() powerpc/powermac: deprecate pci_get_bus_and_slot()
bnx2x: deprecate pci_get_bus_and_slot()
pch_gbe: deprecate pci_get_bus_and_slot()
PCI: cpqhp: deprecate pci_get_bus_and_slot()
PCI: ibmphp: deprecate pci_get_bus_and_slot() PCI/quirks: deprecate pci_get_bus_and_slot() PCI/syscall: deprecate pci_get_bus_and_slot()
xen: deprecate pci_get_bus_and_slot()
openprom: deprecate pci_get_bus_and_slot()
backlight: deprecate pci_get_bus_and_slot()
video: fbdev: intelfb: deprecate pci_get_bus_and_slot()
video: fbdev: nvidia: deprecate pci_get_bus_and_slot()
video: fbdev: riva: deprecate pci_get_bus_and_slot()
i7300_idle: remove unused file
PCI: Remove pci_get_bus_and_slot() function

 arch/alpha/kernel/pci.c                            |  2 +-
 arch/alpha/kernel/sys_nautilus.c                   |  2 +-
 arch/powerpc/kernel/pci_32.c                       |  3 +-
 arch/powerpc/platforms/powermac/feature.c          |  2 +-
 arch/powerpc/sysdev/mv64x60_pci.c                  |  4 +-
 arch/x86/pci/irq.c                                 |  3 +-
 drivers/ata/pata_ali.c                             |  3 +-
 drivers/char/agp/nvidia-agp.c                      | 12 +++-
 drivers/char/agp/sworks-agp.c                      |  3 +-
 drivers/firmware/edd.c                             |  8 +--
 drivers/firmware/iscsi_ibft.c                      |  5 +-
 drivers/gpu/drm/gma500/cdv_device.c                | 16 +++--
 drivers/gpu/drm/gma500/gma_device.c                |  4 +-
 drivers/gpu/drm/gma500/mid_bios.c                  | 12 +++-
 drivers/gpu/drm/gma500/psb_drv.c                   | 10 ++-
 drivers/gpu/drm/gma500/psb_drv.h                   | 18 ++---
 drivers/gpu/drm/nouveau/dispnv04/arb.c             |  4 +-
 drivers/gpu/drm/nouveau/dispnv04/hw.c              | 10 ++-
 drivers/gpu/drm/nouveau/nouveau_drm.c              |  3 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramnv1a.c   | 10 ++-
 drivers/ide/sl82c105.c                             |  5 +-
 drivers/iommu/amd_iommu.c                          |  3 +-
 drivers/iommu/amd_iommu_init.c                     |  9 +--
 drivers/iommu/amd_iommu_v2.c                       |  3 +-
 drivers/macintosh/via-pmu.c                        |  2 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c  | 10 ++-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.h  |  1 +
 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c   |  6 +-
 drivers/pci/hotplug/cpqphp_pci.c                   | 18 +++--
 drivers/pci/hotplug/ibmphp_core.c                  |  7 +-
 drivers/pci/quirks.c                               |  3 +-
 drivers/pci/syscall.c                              |  4 +-
 drivers/pci/xen-pcifront.c                         |  3 +-
 drivers/sbus/char/openprom.c                       |  5 +-
 drivers/video/backlight/apple_bl.c                 |  2 +-
 drivers/video/fbdev/intelfb/intelfbhw.c            |  4 +-
 drivers/video/fbdev/nvidia/nv_hw.c                 | 11 +--
 drivers/video/fbdev/nvidia/nv_setup.c              |  3 +-
 drivers/video/fbdev/riva/fbdev.c                   |  2 +-
 drivers/video/fbdev/riva/nv_driver.c               |  7 +-
 drivers/video/fbdev/riva/riva_hw.c                 | 20 ++++--
 drivers/video/fbdev/riva/riva_hw.h                 |  3 +-
 include/linux/i7300_idle.h                         | 84 ----------------------
 include/linux/pci.h                                |  8 ---
 44 files changed, 175 insertions(+), 182 deletions(-)
 delete mode 100644 include/linux/i7300_idle.h
Signature · 1 line
1.9.1