Re: [PATCH 2/3] powerpc/pci: Fix pcibios_setup_device() ordering

2019-09-30 Thread Alexey Kardashevskiy
On 30/09/2019 12:08, Oliver O'Halloran wrote: > From: Shawn Anastasio > > Move PCI device setup from pcibios_add_device() and pcibios_fixup_bus() to > pcibios_bus_add_device(). This ensures that platform-specific DMA and IOMMU > setup occurs after the device has been registered in sysfs,

[PATCH 2/3] powerpc/pci: Fix pcibios_setup_device() ordering

2019-09-29 Thread Oliver O'Halloran
From: Shawn Anastasio Move PCI device setup from pcibios_add_device() and pcibios_fixup_bus() to pcibios_bus_add_device(). This ensures that platform-specific DMA and IOMMU setup occurs after the device has been registered in sysfs, which is a requirement for IOMMU group assignment to work This