RE: [PATCH v11] PPC: POWERNV: move iommu_add_device earlier

2013-12-15 Thread Varun Sethi
Graf; Bhushan Bharat-R65777; linux- > ker...@vger.kernel.org > Subject: [PATCH v11] PPC: POWERNV: move iommu_add_device earlier > > The current implementation of IOMMU on sPAPR does not use iommu_ops and > therefore does not call IOMMU API's bus_set_iommu() which > 1) s

RE: [PATCH v11] PPC: POWERNV: move iommu_add_device earlier

2013-12-13 Thread bharat.bhus...@freescale.com
> Subject: [PATCH v11] PPC: POWERNV: move iommu_add_device earlier > > The current implementation of IOMMU on sPAPR does not use iommu_ops > and therefore does not call IOMMU API's bus_set_iommu() which > 1) sets iommu_ops for a bus > 2) registers a bus notifier > Instead

[PATCH v11] PPC: POWERNV: move iommu_add_device earlier

2013-12-11 Thread Alexey Kardashevskiy
The current implementation of IOMMU on sPAPR does not use iommu_ops and therefore does not call IOMMU API's bus_set_iommu() which 1) sets iommu_ops for a bus 2) registers a bus notifier Instead, PCI devices are added to IOMMU groups from subsys_initcall_sync(tce_iommu_init) which does basically the