linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PCIe host controller behind IOMMU on ARM
@ 2015-11-04 13:57 Phil Edworthy
  2015-11-04 14:24 ` Liviu.Dudau
  0 siblings, 1 reply; 18+ messages in thread
From: Phil Edworthy @ 2015-11-04 13:57 UTC (permalink / raw)
  To: linux-pci@vger.kernel.org
  Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, Bjorn Helgaas,
	Arnd Bergmann, Lorenzo Pieralisi, Liviu.Dudau@arm.com, Magnus

Hi,

I am trying to hook up a PCIe host controller that sits behind an IOMMU,
but having some problems.

I'm using the pcie-rcar PCIe host controller and it works fine without
the IOMMU, and I can attach the IOMMU to the controller such that any calls
to dma_alloc_coherent made by the controller driver uses the iommu_ops
version of dma_ops.

However, I can't see how to make the endpoints to utilise the dma_ops that
the controller uses. Shouldn't the endpoints inherit the dma_ops from the
controller? Any pointers for this?

Thanks
Phil


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2015-11-13 14:11 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-04 13:57 PCIe host controller behind IOMMU on ARM Phil Edworthy
2015-11-04 14:24 ` Liviu.Dudau
2015-11-04 14:48   ` Phil Edworthy
2015-11-04 15:01     ` Liviu.Dudau
2015-11-04 15:19       ` Phil Edworthy
2015-11-04 15:30         ` Will Deacon
2015-11-04 18:02           ` Phil Edworthy
2015-11-09 12:32       ` Phil Edworthy
2015-11-11 18:24         ` Liviu.Dudau
2015-11-11 20:22           ` Arnd Bergmann
2015-11-12  9:26           ` Phil Edworthy
2015-11-12  9:49             ` Arnd Bergmann
2015-11-12 15:33               ` Phil Edworthy
2015-11-12 16:16                 ` Arnd Bergmann
2015-11-13 13:03                   ` Phil Edworthy
2015-11-13 13:59                     ` Arnd Bergmann
2015-11-13 14:11                       ` Phil Edworthy
2015-11-12 10:32             ` Liviu.Dudau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).