[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160129112645.GC4204@8bytes.org>
Date: Fri, 29 Jan 2016 12:26:45 +0100
From: Joerg Roedel <joro@...tes.org>
To: Shunqian Zheng <zhengsq@...k-chips.com>
Cc: heiko@...ech.de, iommu@...ts.linux-foundation.org,
linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
djkurtz@...omium.org
Subject: Re: [PATCH v1] iommu/rockchip: reconstruct to support multi slaves
On Tue, Jan 19, 2016 at 03:03:00PM +0800, Shunqian Zheng wrote:
> From: ZhengShunQian <zhengsq@...k-chips.com>
>
> There are some IPs, such as video encoder/decoder, contains 2 slave iommus,
> one for reading and the other for writing. They share the same irq and
> clock with master.
>
> This patch reconstructs to support this case by making them share the same
> Page Directory, Page Tables and even the register operations.
> That means every instruction to the reading MMU registers would be
> duplicated to the writing MMU and vice versa.
>
> Signed-off-by: ZhengShunQian <zhengsq@...k-chips.com>
> ---
> drivers/iommu/rockchip-iommu.c | 214 ++++++++++++++++++++++++++---------------
> 1 file changed, 135 insertions(+), 79 deletions(-)
Applied, thanks.
Powered by blists - more mailing lists