Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1321666

Re: [PATCH v1] iommu/rockchip: reconstruct to support multi slaves

From Joerg Roedel <joro@8bytes.org>
Newsgroups linux.kernel
Subject Re: [PATCH v1] iommu/rockchip: reconstruct to support multi slaves
Date 2016-01-29 12:30 +0100
Message-ID <qWfpw-28O-13@gated-at.bofh.it> (permalink)
References <qSyAq-4pu-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jan 19, 2016 at 03:03:00PM +0800, Shunqian Zheng wrote:
> From: ZhengShunQian <zhengsq@rock-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@rock-chips.com>
> ---
>  drivers/iommu/rockchip-iommu.c | 214 ++++++++++++++++++++++++++---------------
>  1 file changed, 135 insertions(+), 79 deletions(-)

Applied, thanks.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v1] iommu/rockchip: reconstruct to support multi slaves Joerg Roedel <joro@8bytes.org> - 2016-01-29 12:30 +0100

csiph-web