[PATCH v2 0/9] PCI: add help pci_dev_id
Bjorn Helgaas
helgaas at kernel.org
Mon Apr 29 21:14:46 UTC 2019
On Wed, Apr 24, 2019 at 09:10:21PM +0200, Heiner Kallweit wrote:
> In several places in the kernel we find PCI_DEVID used like this:
> PCI_DEVID(dev->bus->number, dev->devfn) Therefore create a helper
> for it.
>
> v2:
> - apply the change to all affected places in the kernel
>
> Heiner Kallweit (9):
> PCI: add helper pci_dev_id
> PCI: use helper pci_dev_id
> r8169: use new helper pci_dev_id
> powerpc/powernv/npu: use helper pci_dev_id
> drm/amdkfd: use helper pci_dev_id
> iommu/amd: use helper pci_dev_id
> iommu/vt-d: use helper pci_dev_id
> stmmac: pci: use helper pci_dev_id
> platform/chrome: chromeos_laptop: use helper pci_dev_id
>
> arch/powerpc/platforms/powernv/npu-dma.c | 14 ++++++--------
> drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 3 +--
> drivers/iommu/amd_iommu.c | 2 +-
> drivers/iommu/intel-iommu.c | 2 +-
> drivers/iommu/intel_irq_remapping.c | 2 +-
> drivers/net/ethernet/realtek/r8169.c | 3 +--
> drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 2 +-
> drivers/pci/msi.c | 6 +++---
> drivers/pci/search.c | 10 +++-------
> drivers/platform/chrome/chromeos_laptop.c | 2 +-
> include/linux/pci.h | 5 +++++
> 11 files changed, 24 insertions(+), 27 deletions(-)
Applied with acks/reviewed-by from Benson, Joerg, Christian, Alexey, and
David to pci/misc for v5.2, thanks!
More information about the amd-gfx
mailing list