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


Groups > linux.kernel > #1321666 > unrolled thread

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

Started byJoerg Roedel <joro@8bytes.org>
First post2016-01-29 12:30 +0100
Last post2016-01-29 12:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromJoerg Roedel <joro@8bytes.org>
Date2016-01-29 12:30 +0100
SubjectRe: [PATCH v1] iommu/rockchip: reconstruct to support multi slaves
Message-ID<qWfpw-28O-13@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web