Re: [PATCH kernel] powerpc/powernv/sriov: Register IOMMU groups for VFs

2019-02-18 Thread David Gibson
On Mon, Feb 18, 2019 at 04:58:01PM +1100, Alexey Kardashevskiy wrote: > The compound IOMMU group rework moved iommu_register_group() together in > pnv_pci_ioda_setup_iommu_api() (which is a part of ppc_md.pcibios_fixup). > As the result, pnv_ioda_setup_bus_iommu_group() does not create groups >

Re: [PATCH kernel] powerpc/powernv/sriov: Register IOMMU groups for VFs

2019-02-17 Thread Alexey Kardashevskiy
On 18/02/2019 16:58, Alexey Kardashevskiy wrote: > The compound IOMMU group rework moved iommu_register_group() together in > pnv_pci_ioda_setup_iommu_api() (which is a part of ppc_md.pcibios_fixup). > As the result, pnv_ioda_setup_bus_iommu_group() does not create groups > any more, it only

[PATCH kernel] powerpc/powernv/sriov: Register IOMMU groups for VFs

2019-02-17 Thread Alexey Kardashevskiy
The compound IOMMU group rework moved iommu_register_group() together in pnv_pci_ioda_setup_iommu_api() (which is a part of ppc_md.pcibios_fixup). As the result, pnv_ioda_setup_bus_iommu_group() does not create groups any more, it only adds devices to groups. This works fine for boot time