Re: [RFC PATCH 4/5] arm64: add IOMMU dma_ops

2015-01-25 Thread Joseph Lo
On 01/13/2015 04:48 AM, Robin Murphy wrote: Taking some inspiration from the arch/arm code, implement the arch-specific side of the DMA mapping ops using the new IOMMU-DMA layer. Signed-off-by: Robin Murphy --- arch/arm64/include/asm/device.h | 3 + arch/arm64/include/asm/dma-mapping.

Re: [PATCH URGENT] arm: dma-mapping: Set DMA IOMMU ops in arm_iommu_attach_device()

2015-01-25 Thread Heiko Stübner
Am Freitag, 23. Januar 2015, 16:21:49 schrieb Laurent Pinchart: > Commit 4bb25789ed28228a ("arm: dma-mapping: plumb our iommu mapping ops > into arch_setup_dma_ops") moved the setting of the DMA operations from > arm_iommu_attach_device() to arch_setup_dma_ops() where the DMA > operations to be use

Re: [PATCH v5 11/18] iommu: exynos: remove useless device_add/remove callbacks

2015-01-25 Thread Laurent Pinchart
Hi Marek, Thank you for the patch. On Friday 23 January 2015 16:51:21 Marek Szyprowski wrote: > The driver doesn't need to do anything important in device add/remove > callbacks, because initialization will be done from device-tree specific > callbacks added later. IOMMU groups created by current

Re: [PATCH v4 1/6] of: iommu: add ptr to OF node arg to of_iommu_configure()

2015-01-25 Thread Laurent Pinchart
Hi Murali, Thank you for the patch. On Friday 23 January 2015 17:32:34 Murali Karicheri wrote: > Function of_iommu_configure() is called from of_dma_configure() to > setup iommu ops using DT property. This API is currently used for > platform devices for which DMA configuration (including iommu o

Re: [PATCH 2/2] iommu/amd: use handle_mm_fault directly v2

2015-01-25 Thread Oded Gabbay
On 11/13/2014 12:10 AM, Jesse Barnes wrote: This could be useful for debug in the future if we want to track major/minor faults more closely, and also avoids the put_page trick we used with gup. In order to do this, we also track the task struct in the PASID state structure. This lets us upda