Re: [PATCH v5 3/7] PCI: Introduce pci_real_dma_dev()

2020-01-23 Thread Lorenzo Pieralisi
On Wed, Jan 22, 2020 at 03:12:59PM -0600, Bjorn Helgaas wrote: > On Tue, Jan 21, 2020 at 06:37:47AM -0700, Jon Derrick wrote: > > The current DMA alias implementation requires the aliased device be on > > the same PCI bus as the requester ID. This introduces an arch-specific > > mechanism to point

Re: [PATCH v5 3/7] PCI: Introduce pci_real_dma_dev()

2020-01-22 Thread Bjorn Helgaas
On Tue, Jan 21, 2020 at 06:37:47AM -0700, Jon Derrick wrote: > The current DMA alias implementation requires the aliased device be on > the same PCI bus as the requester ID. This introduces an arch-specific > mechanism to point to another PCI device when doing mapping and > PCI DMA alias search. Th

[PATCH v5 3/7] PCI: Introduce pci_real_dma_dev()

2020-01-21 Thread Jon Derrick
The current DMA alias implementation requires the aliased device be on the same PCI bus as the requester ID. This introduces 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. CC: Christoph Hellwig Sig