Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3893636pxb; Mon, 1 Feb 2021 07:21:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJweU4uWfmOy4pWdwKo1ejIYQ92JG4a4zXIe1tHzynq2ksymUZp88yGDufBYPEeTImjAKx0O X-Received: by 2002:a17:906:d98:: with SMTP id m24mr17709509eji.428.1612192863399; Mon, 01 Feb 2021 07:21:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612192863; cv=none; d=google.com; s=arc-20160816; b=muu8XebLJOxhcWWwJjnfsVqeUQQ2fJcBuqMQAkkxaKo0UMUgN9b38zpBQLovewvOHc gmcPCaJdmA7NelWxH7rzq2V+nO3DCrhgQ277E81pWhHROqe3BBlUPMUkiXGZR2zG4wgO sI0A8+QM1KYpPOLxkdc7vAeRYIVoukO2INHVgyLlxbDfnqhcDfIpepZ4qHXO526lujML hUgFuT9AcGh5JXVClQRCpyqBNuqIBI0e8qLZIWE3u6jpajWBRoBh0DSfmUtMuHjNjl/6 VVE8W/dzJ7lyYcoeu3Dg8SkcZIyLL3zBvaLlsO9YNKZgEO1/9PXKanlF953SZR6Cixif nPFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Sc7X/UhjUiggNZqIkgFtK4Ih42AgO/4g1EliOS2mR6U=; b=FuUJGvc3q4ttXtxbl+dRyrd4Ri2UabSH01bUc6ZEBEhZnn20Y3/S0V4tUpLWrUN86K toZXnyUFKw30oKEWbRT/z+oWICvPtfg1FszlNyNVvksTQNs3DOdOrCKPVujuXVB2UNOo +nG0pCUqFX9rG1YH9UfqEq3eoeWU4zducKvsNI+4aV14Z3nlsz07jyGl8sLiTx7vODpZ jVUZCMp3qhHtOdf7J4y4jYHfZe7pkVf/Kbv6rph9d8si4hgoPnRZ1MEBxeErG5uE7lPe AH/ovLk3DfmWS9XMTl+pReHHJz5iNVw8KtCa/uCrbmMkff/dj0xDg9KMdKwYnwPsUAz2 s1Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ulg+rsde; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g13si11274191edp.359.2021.02.01.07.20.38; Mon, 01 Feb 2021 07:21:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ulg+rsde; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231511AbhBAPT0 (ORCPT + 99 others); Mon, 1 Feb 2021 10:19:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:36114 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230091AbhBAOzT (ORCPT ); Mon, 1 Feb 2021 09:55:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 80B7F64E08; Mon, 1 Feb 2021 14:54:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612191269; bh=UfY3ArU2Ba52g7BMgBfvsVQ2y0huUNSig9ApYXP8TIU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ulg+rsdevXRtCjtTFGOizv2sb4y2ls4EABbPyo9gn2WsK0n6vSp6Na2wilJ5T5C0m hK8/LsVRjMUQ+Aa+l+vRce00wC3jqhrVTXlZUgaMHnxcgp/kH+mC0fj/JXC+InheOY y7UjHKCM553yfX5RjpOE6MnP8Gz/jLjFS8YLb4RkzK8r4RQv+/6W0uJiBsZB4BaOjz BFJDSELZCG/g5ezyx7N4LFcjaaXXvRHoLCyO4SKbB67p1jOrG7dvwUBmGGuhT9NwiT +pvv1lmrEIC2y1CrJsa7PUN3NzkH77p+147UW3/uy5+jPO4ZHz2gkWwxlXCxRWDio1 AwGMEZD4oK6Mg== Date: Mon, 1 Feb 2021 14:54:23 +0000 From: Will Deacon To: Yong Wu Cc: Joerg Roedel , Rob Herring , Matthias Brugger , Robin Murphy , Krzysztof Kozlowski , Evan Green , Tomasz Figa , linux-mediatek@lists.infradead.org, srv_heupstream@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, youlin.pei@mediatek.com, Nicolas Boichat , anan.sun@mediatek.com, chao.hao@mediatek.com Subject: Re: [PATCH v6 00/33] MT8192 IOMMU support Message-ID: <20210201145422.GA15263@willie-the-truck> References: <20210111111914.22211-1-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210111111914.22211-1-yong.wu@mediatek.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 11, 2021 at 07:18:41PM +0800, Yong Wu wrote: > This patch mainly adds support for mt8192 Multimedia IOMMU and SMI. > > mt8192 also is MTK IOMMU gen2 which uses ARM Short-Descriptor translation > table format. The M4U-SMI HW diagram is as below: > > EMI > | > M4U > | > ------------ > SMI Common > ------------ > | > +-------+------+------+----------------------+-------+ > | | | | ...... | | > | | | | | | > larb0 larb1 larb2 larb4 ...... larb19 larb20 > disp0 disp1 mdp vdec IPE IPE > > All the connections are HW fixed, SW can NOT adjust it. > > Comparing with the preview SoC, this patchset mainly adds two new functions: > a) add iova 34 bits support. > b) add multi domains support since several HW has the special iova > region requirement. > > change note: > v6:a) base on v5.11-rc1. and tlb v4: > https://lore.kernel.org/linux-mediatek/20210107122909.16317-1-yong.wu@mediatek.com/T/#t I've queued this up apart from patches 6 and 7. Thanks, Will