[PATCH V4 00/26] PCI: deprecate pci_get_bus_and_slot()
Bjorn Helgaas
helgaas at kernel.org
Thu Jan 11 15:57:27 PST 2018
On Tue, Dec 19, 2017 at 12:37:36AM -0500, Sinan Kaya wrote:
> 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):
I applied most of these on pci/deprecate-get-bus-and-slot for v4.16.
Details below:
> alpha/PCI: deprecate pci_get_bus_and_slot()
Applied.
> powerpc/PCI: deprecate pci_get_bus_and_slot()
Aplied with Michael's ack.
> 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()
Applied.
> Drivers: ide: deprecate pci_get_bus_and_slot()
Applied with David's ack.
> iommu/amd: deprecate pci_get_bus_and_slot()
Applied with Gary's informal approval converted to
Reviewed-by: Gary R Hook <gary.hook at amd.com>.
> powerpc/powermac: deprecate pci_get_bus_and_slot()
Applied.
> bnx2x: deprecate pci_get_bus_and_slot()
> pch_gbe: deprecate pci_get_bus_and_slot()
Applied with David's ack.
> PCI: cpqhp: deprecate pci_get_bus_and_slot()
> PCI: ibmphp: deprecate pci_get_bus_and_slot()
Applied.
> PCI/quirks: deprecate pci_get_bus_and_slot()
> PCI/syscall: deprecate pci_get_bus_and_slot()
Applied (squashed together).
> xen: deprecate pci_get_bus_and_slot()
Applied.
> openprom: deprecate pci_get_bus_and_slot()
Applied with David's ack.
> backlight: deprecate pci_get_bus_and_slot()
Dropped because Lee applied it.
> 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()
Applied with Bartlomiej's ack.
> i7300_idle: remove unused file
Dropped because Greg KH picked it up.
> PCI: Remove pci_get_bus_and_slot() function
Deferred so pull requests during the merge window can happen in any
order. We can remove it at the end of the merge window or during the
next cycle.
Bjorn
More information about the linux-arm-kernel
mailing list