]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: Introduce pci_real_dma_dev()
authorJon Derrick <jonathan.derrick@intel.com>
Tue, 21 Jan 2020 13:37:47 +0000 (06:37 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2020 20:55:26 +0000 (14:55 -0600)
commit2856ba6020fc5cbf051d5a75b2abb3046072c144
tree0f93f7ebde7349949dcb9b711ba9537dc8c51b95
parent34067c56fa177d3582695da8e3e162ef78cd0371
PCI: Introduce pci_real_dma_dev()

The current DMA alias implementation requires the aliased device be on the
same PCI bus as the requester ID.  Add an arch-specific mechanism to point
to another PCI device when doing mapping and PCI DMA alias search.  The
default case returns the actual device.

Link: https://lore.kernel.org/r/1579613871-301529-4-git-send-email-jonathan.derrick@intel.com
Signed-off-by: Jon Derrick <jonathan.derrick@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Christoph Hellwig <hch@lst.de>
arch/x86/pci/common.c
drivers/pci/pci.c
drivers/pci/search.c
include/linux/pci.h