Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp330404pxu; Wed, 25 Nov 2020 04:28:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJx1Hq0HKIqF604ImDj4DCz6owMvYTuG9M5eR1BYUyYhb4oi5xi9m3IJ5+KTTK0Cx2E0t2Z6 X-Received: by 2002:a17:906:b291:: with SMTP id q17mr2819528ejz.455.1606307280724; Wed, 25 Nov 2020 04:28:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606307280; cv=none; d=google.com; s=arc-20160816; b=nI1JDi5a8cc8JvksPJh90DhtYYLUzI/gfxPTZbVMv0zXTpor8qZFd75bW4aMTjxmZg x1GJ9adxG6M+PM1mOFy1N5y7udNIhOCSj/RHnXrOSdipNwZ0kI9baa47uIzJ3ji0N/0/ Il2kzJosdPvZcQgLZUJz7CewS7vRBlA8exKbY7clREOTTJcMvD3/h/9DCxTzS53CEH7A eSiy3jjZlE+c62naF49MK5M4bFAps5s6K/151UHG4vSISYM+NAzXHci23ijsOjpDvAPv iWnaDpU/S7Yxc6ga+p2heJUeCLo2g+U2eMIVBj2nJEuTvbu0NRyRaYHqDnYitAqnD7bi XgiQ== 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=D8v+84C+5v8pm0Pq9IDmoUR9hiANc55jil9xlN65YWc=; b=YkJ6WQq6JcdScq4H5Kzxsx/vXzBE7Ggr2oJLQUQ9yO3eaw5AOQL5Im35rQOWp0+laH 8QAHXKXjEYhTMA/0YGxkFDGsAHQ4jz1SRoOJAi71ostxe/OGmoShC3aAHzz+Rrk1Afw+ 9L45bGH7ozak0mZlYemVWNxaQM7cD2doP9HlCW5jBZQaLAy1oQsWubY6A+bs7TnWbJ96 iJrgjuGnoGwf7vzPOfAX0JH2nW9EEdMfc57gzDuLRqIMwezuNBldgECRzX0TzxqRU2b6 gM+rAMnRgf2bsCE4kxM3CowOIMUdFCiw+tJg7qZX93mZ1RfH3ybk8euIBUBM7pYiBao0 n6Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="CuAz/g7l"; 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 qk7si1172157ejb.600.2020.11.25.04.27.38; Wed, 25 Nov 2020 04:28:00 -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=default header.b="CuAz/g7l"; 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 S1729169AbgKYMYH (ORCPT + 99 others); Wed, 25 Nov 2020 07:24:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:45536 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729141AbgKYMYG (ORCPT ); Wed, 25 Nov 2020 07:24:06 -0500 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 93874206E5; Wed, 25 Nov 2020 12:24:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606307046; bh=XDwgKOEhVubEPri5ivC7iaWE3ykzukuoYApUlOqRZ4U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=CuAz/g7ltrT31FAAt7dJ2TXyYV+rEveX9kyh1coxGqA8i/c8J+x1ALv56/V6Zcx0t dQlV1pn+To+X/LLdkc71FgqZP2V3cHEFrA99DjO6fWS4geFz83DXz09bT/D6cB7Thf /Op6Ps+IjwN8OVDxicixULN+0CcJa6Zm9gexaiU4= Date: Wed, 25 Nov 2020 12:23:59 +0000 From: Will Deacon To: Yong Wu Cc: Joerg Roedel , Matthias Brugger , Rob Herring , 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, Greg Kroah-Hartman , kernel-team@android.com Subject: Re: [PATCH v4 00/24] MT8192 IOMMU support Message-ID: <20201125122358.GA15697@willie-the-truck> References: <20201111123838.15682-1-yong.wu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201111123838.15682-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 Wed, Nov 11, 2020 at 08:38:14PM +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: > v4: a) rebase on v5.10-rc1 > b) Move the smi part to a independent patchset. > c) Improve v7s code from Robin and Will. > d) Add a mediatek iommu entry patch in MAINTAINERS. Please can you post a v5 of this, adding the Acks from v4 and addressing the build failures reported by the kbuild robot on patch 20? Thanks, Will