Re: [PATCH v2] arm64/dma-mapping: fix DMA_ATTR_FORCE_CONTIGUOUS mmaping code

2017-04-14 Thread Andrzej Hajda
Hi, Gently ping. Regards Andrzej On 31.03.2017 13:02, Andrzej Hajda wrote: > In case of DMA_ATTR_FORCE_CONTIGUOUS allocations vm_area->pages > is invalid. __iommu_mmap_attrs and __iommu_get_sgtable should not > use it and take advantage of contiguous nature of the allocation. > > Fixes: 44176bb

[PATCH] drivers/of_iommu: ignore SMMU DT nodes with status 'disabled'

2017-04-14 Thread Ard Biesheuvel
DT nodes may have a status property, and if they do, such nodes should only be considered present if the status property is set to 'okay'. Currently, we call the init function of IOMMUs described by the device tree without taking this into account, which may result in the output below on systems w

Re: [PATCH v5 2/2] PCI: quirks: Fix ThunderX2 dma alias handling

2017-04-14 Thread Jayachandran C
On Thu, Apr 13, 2017 at 07:19:11PM -0500, Bjorn Helgaas wrote: > I tentatively applied both patches to pci/host-thunder for v4.12. > > However, I am concerned about the topology here: > > On Thu, Apr 13, 2017 at 08:30:45PM +, Jayachandran C wrote: > > On Cavium ThunderX2 arm64 SoCs (called Br

Re: [PATCH v5 2/2] PCI: quirks: Fix ThunderX2 dma alias handling

2017-04-14 Thread Bjorn Helgaas via iommu
On Fri, Apr 14, 2017 at 4:06 PM, Jayachandran C wrote: > On Thu, Apr 13, 2017 at 07:19:11PM -0500, Bjorn Helgaas wrote: >> I tentatively applied both patches to pci/host-thunder for v4.12. >> >> However, I am concerned about the topology here: >> >> On Thu, Apr 13, 2017 at 08:30:45PM +, Jayach