Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936251AbcCQQ03 (ORCPT ); Thu, 17 Mar 2016 12:26:29 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:35883 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936236AbcCQQ0X (ORCPT ); Thu, 17 Mar 2016 12:26:23 -0400 From: Magnus Damm To: iommu@lists.linux-foundation.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, joro@8bytes.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, horms+renesas@verge.net.au, Magnus Damm Date: Fri, 18 Mar 2016 01:29:46 +0900 Message-Id: <20160317162946.24104.73567.sendpatchset@little-apple> In-Reply-To: <20160317162909.24104.31682.sendpatchset@little-apple> References: <20160317162909.24104.31682.sendpatchset@little-apple> Subject: [PATCH 04/10] iommu/ipmmu-vmsa: IPMMU device is 64-bit bus master Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 673 Lines: 21 From: Magnus Damm The r8a7795 IPMMU supports 64-bit bus mastering and coherency for page tables. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa.c | 1 + 1 file changed, 1 insertion(+) --- 0020/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iommu/ipmmu-vmsa.c 2016-03-18 00:22:09.830513000 +0900 @@ -948,6 +948,7 @@ static int ipmmu_probe(struct platform_d mmu->dev = &pdev->dev; mmu->num_utlbs = 32; bitmap_zero(mmu->ctx, IPMMU_CTX_MAX); + dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); /* Map I/O memory and request IRQ. */ res = platform_get_resource(pdev, IORESOURCE_MEM, 0);