Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Need some information about IOMMU support for ARM64 in 4.6
@ 2016-12-15  6:50 Bhargav Shah
  2016-12-15 14:59 ` Robin Murphy
  0 siblings, 1 reply; 2+ messages in thread
From: Bhargav Shah @ 2016-12-15  6:50 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,
I am using kernel version 4.6.
of_iommu_configure() gets IOMMU ops from of_iommu_list and call arch_setup_dma_ops.
Presently, __iommu_setup_dma_ops() it expects iommu ops to be present. 
Here, of_iommu_configure() get NULL iommu ops and it calls arch_setup_dma_ops with it.

So, in my current flow iommu ops is not getting set for device.

Am I missing something  which is causing this ?
What is proper way to set iommu ops to device ? 

Thanks
Bhargav 

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

end of thread, other threads:[~2016-12-15 14:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-15  6:50 Need some information about IOMMU support for ARM64 in 4.6 Bhargav Shah
2016-12-15 14:59 ` Robin Murphy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox