]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
PCI: Add nr_devfns parameter to pci_add_dma_alias()
authorJames Sewart <jamessewart@arista.com>
Tue, 10 Dec 2019 22:07:30 +0000 (16:07 -0600)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 24 Feb 2020 15:19:44 +0000 (16:19 +0100)
commitb3cb9d57e99ad404ccd9b2ffdfe99b57c1720753
treee9c67110bee4b268a7c8a07f8c0e4a81e4811b29
parent1f736998176cfef225bbdc45dfc8f658bfc954fc
PCI: Add nr_devfns parameter to pci_add_dma_alias()

BugLink: https://bugs.launchpad.net/bugs/1864488
[ Upstream commit 09298542cd891b43778db1f65aa3613aa5a562eb ]

Add a "nr_devfns" parameter to pci_add_dma_alias() so it can be used to
create DMA aliases for a range of devfns.

[bhelgaas: incorporate nr_devfns fix from James, update
quirk_pex_vca_alias() and setup_aliases()]
Signed-off-by: James Sewart <jamessewart@arista.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/iommu/amd_iommu.c
drivers/pci/pci.c
drivers/pci/quirks.c
include/linux/pci.h