From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: [PATCH v4 0/8] iommu/rockchip: Fix bugs and enable on ARM64 Date: Tue, 21 Jun 2016 11:17:32 +0200 Message-ID: <20160621091732.GB28248@8bytes.org> References: <1466483681-36110-1-git-send-email-tfiga@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1466483681-36110-1-git-send-email-tfiga-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Tomasz Figa Cc: Heiko Stuebner , David Airlie , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, Daniel Kurtz , Shunqian Zheng , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Mark Yao List-Id: iommu@lists.linux-foundation.org On Tue, Jun 21, 2016 at 01:34:33PM +0900, Tomasz Figa wrote: > This series intends mostly to enable support for ARM64 architecture > in the rockchip-iommu driver. On the way to do so, some bugs are also > fixed. > > The most important changes here are: > - making the Rockchip IOMMU driver use DMA API for managing cache > coherency of page tables, > - making the Rockchip DRM driver not use DMA API on behalf of a virtual > device (behind a virtual IOMMU) to allocate and map buffers, but > instead proper DRM helpers and IOMMU API directly. Are these two parts dependent on each other or can the IOMMU and the DRM part merged independently? Joerg From mboxrd@z Thu Jan 1 00:00:00 1970 From: joro@8bytes.org (Joerg Roedel) Date: Tue, 21 Jun 2016 11:17:32 +0200 Subject: [PATCH v4 0/8] iommu/rockchip: Fix bugs and enable on ARM64 In-Reply-To: <1466483681-36110-1-git-send-email-tfiga@chromium.org> References: <1466483681-36110-1-git-send-email-tfiga@chromium.org> Message-ID: <20160621091732.GB28248@8bytes.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Jun 21, 2016 at 01:34:33PM +0900, Tomasz Figa wrote: > This series intends mostly to enable support for ARM64 architecture > in the rockchip-iommu driver. On the way to do so, some bugs are also > fixed. > > The most important changes here are: > - making the Rockchip IOMMU driver use DMA API for managing cache > coherency of page tables, > - making the Rockchip DRM driver not use DMA API on behalf of a virtual > device (behind a virtual IOMMU) to allocate and map buffers, but > instead proper DRM helpers and IOMMU API directly. Are these two parts dependent on each other or can the IOMMU and the DRM part merged independently? Joerg From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751590AbcFUJU6 (ORCPT ); Tue, 21 Jun 2016 05:20:58 -0400 Received: from 8bytes.org ([81.169.241.247]:51945 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750768AbcFUJUb (ORCPT ); Tue, 21 Jun 2016 05:20:31 -0400 Date: Tue, 21 Jun 2016 11:17:32 +0200 From: Joerg Roedel To: Tomasz Figa Cc: iommu@lists.linux-foundation.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, David Airlie , Heiko Stuebner , Mark Yao , Shunqian Zheng , Daniel Kurtz , Marek Szyprowski Subject: Re: [PATCH v4 0/8] iommu/rockchip: Fix bugs and enable on ARM64 Message-ID: <20160621091732.GB28248@8bytes.org> References: <1466483681-36110-1-git-send-email-tfiga@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1466483681-36110-1-git-send-email-tfiga@chromium.org> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 21, 2016 at 01:34:33PM +0900, Tomasz Figa wrote: > This series intends mostly to enable support for ARM64 architecture > in the rockchip-iommu driver. On the way to do so, some bugs are also > fixed. > > The most important changes here are: > - making the Rockchip IOMMU driver use DMA API for managing cache > coherency of page tables, > - making the Rockchip DRM driver not use DMA API on behalf of a virtual > device (behind a virtual IOMMU) to allocate and map buffers, but > instead proper DRM helpers and IOMMU API directly. Are these two parts dependent on each other or can the IOMMU and the DRM part merged independently? Joerg