Re: [PATCH kernel 2/2] powerpc/powernv/pseries: Rework device adding to IOMMU groups

2018-11-07 Thread David Gibson
On Thu, Oct 18, 2018 at 06:52:43PM +1100, Alexey Kardashevskiy wrote: > The powernv platform registers IOMMU groups and adds devices to them > from the pci_controller_ops::setup_bridge() hook except one case when > virtual functions (SRIOV VFs) are added from a bus notifier. > > The pseries platfo

[PATCH kernel 2/2] powerpc/powernv/pseries: Rework device adding to IOMMU groups

2018-10-18 Thread Alexey Kardashevskiy
The powernv platform registers IOMMU groups and adds devices to them from the pci_controller_ops::setup_bridge() hook except one case when virtual functions (SRIOV VFs) are added from a bus notifier. The pseries platform registers IOMMU groups from the pci_controller_ops::dma_bus_setup() hook and