x86/PCI: Allow DMA ops specific to a PCI domain
authorKeith Busch <keith.busch@intel.com>
Tue, 12 Jan 2016 20:18:08 +0000 (13:18 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 15 Jan 2016 19:54:55 +0000 (13:54 -0600)
commitd9c3d6ff227cbdf05399ba8303bdcd0d35bbfccb
tree30d6c505b91234f96b6f7acb0feab98a22f59d9a
parent64bce3e8bfb3cf2cbc638296390af3e02e747347
x86/PCI: Allow DMA ops specific to a PCI domain

The Intel Volume Management Device (VMD) is a PCIe endpoint that acts as a
host bridge to another PCI domain.  When devices below the VMD perform DMA,
the VMD replaces their DMA source IDs with its own source ID.  Therefore,
those devices require special DMA ops.

Add interfaces to allow the VMD driver to set up dma_ops for the devices
below it.

[bhelgaas: remove "extern", add "static", changelog]
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
arch/x86/include/asm/device.h
arch/x86/pci/common.c
This page took 0.028149 seconds and 5 git commands to generate.