Re: [PATCH v4 1/8] arm64: mm: change IOMMU notifier action to attach DMA ops

2016-07-08 Thread Catalin Marinas
On Fri, Jul 08, 2016 at 03:55:21PM +0100, Will Deacon wrote: > On Fri, Jul 01, 2016 at 05:50:10PM +0100, Robin Murphy wrote: > > From: Lorenzo Pieralisi > > > > Current bus notifier in ARM64 (__iommu_attach_notifier) > > attempts to attach dma_ops to a device on BUS_NOTIFY_ADD_DEVICE > > action n

Re: [PATCH v4 1/8] arm64: mm: change IOMMU notifier action to attach DMA ops

2016-07-08 Thread Will Deacon
Hi Catalin, On Fri, Jul 01, 2016 at 05:50:10PM +0100, Robin Murphy wrote: > From: Lorenzo Pieralisi > > Current bus notifier in ARM64 (__iommu_attach_notifier) > attempts to attach dma_ops to a device on BUS_NOTIFY_ADD_DEVICE > action notification. > > This will cause issues on ACPI based syste

[PATCH v4 1/8] arm64: mm: change IOMMU notifier action to attach DMA ops

2016-07-01 Thread Robin Murphy
From: Lorenzo Pieralisi Current bus notifier in ARM64 (__iommu_attach_notifier) attempts to attach dma_ops to a device on BUS_NOTIFY_ADD_DEVICE action notification. This will cause issues on ACPI based systems, where PCI devices can be added before the IOMMUs the devices are attached to had a ch