Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp792685pxx; Mon, 26 Oct 2020 23:53:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSAh9uv0778i6jN6n+2aVhG/TvemtbylailsIZpV7IE7/548jthrg+5XraHV012ECY7+3I X-Received: by 2002:aa7:c683:: with SMTP id n3mr709992edq.146.1603781638773; Mon, 26 Oct 2020 23:53:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603781638; cv=none; d=google.com; s=arc-20160816; b=dKcKMm1wjaLPshFaRiut44WAL/DZaXVoF2MHebzG4fYUzQjmy+IoqaJVrkBpd4q0Hr yxClyo0x5cYaPzR7bdxsgjS+DbpHRYvyGhh3c9i783VVO3FftOKJhTX/YR4t0/TOX+xB vJfyJZ9uWA5jg8RfO0Z+XPlEDxHq6usUES+R8GTE+rp8rq1xzY9KrAxqiYjdtRRkwtrq Qj2nuAOFR0a4nUbwEVvvvw0byUzNFBATjXogzd7J23jTvOWKcGUPJcIyoI1UatYzgZ0S qNi1DvfbzqVuUHYQ2SYSaqX0FgzJWzNdl6cKISkjK9N94UGxfzakiwd39Ty231gHMNJw YM7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=QAhJNTcBuylpc827Gc8DE790mcWVOqgUgREe8IN9rGk=; b=srqYHkvCPlvheeQD/fLsgW7hyTxLhJq0YV1Vr0l/8rYMjbbR4a7MLbbYGfJaMe1Kai xtsf0qj2UmIgCyf2mjoeH8wj/h6BVUy32HY17n9ZsDzGtTiQF7568udumCnUCT7tjxWt qW2lKt8/rDz4Ymycy+flNan0K1C0aXeIbsbzizq+Zpu9a5mtui5aEm3V+/UPMxa3x4Bp dDbgCQoWWTCNiJseYIWdxLPG9kCOEAb5+WygDCwJ/OdZkeGvBOTsZRptF60oIOPQ45S2 QV3gIJg43mIvXq8fnJqfFxEuMqlxdIzwIPavK4qY1TSZMIxVj3jROrkSocpmyIIEqewq soBg== ARC-Authentication-Results: i=1; mx.google.com; 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 e15si226632edm.536.2020.10.26.23.53.36; Mon, 26 Oct 2020 23:53:58 -0700 (PDT) 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; 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 S1725827AbgJZUIp (ORCPT + 99 others); Mon, 26 Oct 2020 16:08:45 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:37345 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725820AbgJZUIo (ORCPT ); Mon, 26 Oct 2020 16:08:44 -0400 Received: by mail-ed1-f68.google.com with SMTP id o18so10842794edq.4; Mon, 26 Oct 2020 13:08:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QAhJNTcBuylpc827Gc8DE790mcWVOqgUgREe8IN9rGk=; b=XR9gLUYDNIEDvnlDYssdSnfC5D/4IO7PZYm7ffv+NKf1Ofm+ggyuwn6sQf8wDUs3h/ IeTSPjG0AbyPrCLZWyrruIAj6/oO6662jHlxVSnIBDDUXwEvWHQ+OQyXGe7KAcEKR+QU zWErCbkFsjIOFy6F/eevCNFW5SjdIb0fq3vMPyaZhngZacP2FfRWZkWQ2vby8vOfETgJ XBIPQqZSYAXapRetQLlvad16BzmYfPdSsd3ZiXQiqxTgQd57hHTffFP6Ppyc1OqOtCMm PUp9NGKSI/UTaCJmN+0I6gRkHsnjum1Is6sxtu5jR2xy30jEmioOPzleOptPNlshX0nM 3YYQ== X-Gm-Message-State: AOAM532R49Ly4ZnHyT/rX6Qaed9wZ0H9xpRPhKtbWfmxyPk3BoMn6Cu6 Q2lLbFQ+mEqk9T+ZoMqyjrg= X-Received: by 2002:a50:fb0d:: with SMTP id d13mr17781115edq.85.1603742922751; Mon, 26 Oct 2020 13:08:42 -0700 (PDT) Received: from kozik-lap ([194.230.155.184]) by smtp.googlemail.com with ESMTPSA id f23sm6453141ejd.5.2020.10.26.13.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 13:08:41 -0700 (PDT) Date: Mon, 26 Oct 2020 21:08:38 +0100 From: Krzysztof Kozlowski To: Yong Wu Cc: Joerg Roedel , Matthias Brugger , Rob Herring , Robin Murphy , Will Deacon , 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, ming-fan.chen@mediatek.com, Greg Kroah-Hartman , kernel-team@android.com Subject: Re: [PATCH v3 00/24] MT8192 IOMMU support Message-ID: <20201026200838.GB240203@kozik-lap> References: <20200930070647.10188-1-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200930070647.10188-1-yong.wu@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 30, 2020 at 03:06:23PM +0800, Yong Wu wrote: > This patch mainly adds support for mt8192 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. > > this patchset depend on v5.9-rc1. Hi, I think there will be v4 of this, right? If yes, please also describe the dependencies between the patches. If the entire patchset is strictly ordered, then mention this as well. Best regards, Krzysztof