From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C3E1C388F9 for ; Mon, 26 Oct 2020 20:08:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4EDD2221FC for ; Mon, 26 Oct 2020 20:08:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603742926; bh=gE/sIITsVCO5BsVa5oSz35w1rOcIP8GNNs7QyQPpNH4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=PKnTWln6EFy1mz65tKoBoAksrSPWMxFZ+zOHPRfzQLdqrHwhlgvAO4ZXJYl4F6vKH CsPw27RQUz0Htzn5u17v6/0/ynQUrRXlsdgSxnw/+Y1QyW9BeTbSq4+8JJpfqrmdsA lMyIZMbedw2nWkLQjCKnR/xkjCVirRswkZFkpVHs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725832AbgJZUIp (ORCPT ); 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-Google-Smtp-Source: ABdhPJyeTtkh+7BD+iZP00A29Rs+E9CbsQNM30SNnmXJaudtE/elyiDZQpiu12bDhX/8rOr3FlmfEA== 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A92EC4363A for ; Mon, 26 Oct 2020 20:09:06 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 998E421D41 for ; Mon, 26 Oct 2020 20:09:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 998E421D41 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 09B05870C8; Mon, 26 Oct 2020 20:09:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KN+2+POmyXur; Mon, 26 Oct 2020 20:09:04 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 6FDBC870BE; Mon, 26 Oct 2020 20:09:04 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 550DAC088B; Mon, 26 Oct 2020 20:09:04 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 00A48C0051 for ; Mon, 26 Oct 2020 20:09:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E3178805C6 for ; Mon, 26 Oct 2020 20:09:02 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nnTA6P2JmDBV for ; Mon, 26 Oct 2020 20:09:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ed1-f66.google.com (mail-ed1-f66.google.com [209.85.208.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4904185A1D for ; Mon, 26 Oct 2020 20:08:44 +0000 (UTC) Received: by mail-ed1-f66.google.com with SMTP id x1so10853562eds.1 for ; Mon, 26 Oct 2020 13:08:44 -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=K89y24K8qgY7TykZAjBwj8aS06cFVjJbkuGK4AJi7fj1MK+vrdXZkxH8Vn30u/3lra sfsHAC1zX9szHb+WF2Sg05qIYstTpBOm39ejpO2uIJpxyx4SlafrN53fY9jJ1OrdDGPw bAgRE7NDPOMp2TsjMy8DOI0B8BmS8H5qWZOilv16C5OtfDtC1gLp/yr7rZMMCNYhDEgZ 9e/2VJ7icGjR4g4LtA7MZZwczZGopQMYP/LoMTP780izLwiIUTfrrwJzR6mK7gEHqadi IW6nytB0FzdsGPQ0BIm/2Csn50hhiab50KBFnMd54HLIqknq6ygI1yLznTRrTj9fMy/D guDA== X-Gm-Message-State: AOAM531I+hqLJ7/zD1K6j9kVKmWzqpI2av0aoSs5ot4LU57T4KtmfWcm d/N79r6FBdls0KynEwtdz04= X-Google-Smtp-Source: ABdhPJyeTtkh+7BD+iZP00A29Rs+E9CbsQNM30SNnmXJaudtE/elyiDZQpiu12bDhX/8rOr3FlmfEA== 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 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-Disposition: inline In-Reply-To: <20200930070647.10188-1-yong.wu@mediatek.com> Cc: youlin.pei@mediatek.com, devicetree@vger.kernel.org, kernel-team@android.com, Nicolas Boichat , srv_heupstream@mediatek.com, chao.hao@mediatek.com, Robin Murphy , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Evan Green , Tomasz Figa , iommu@lists.linux-foundation.org, Rob Herring , linux-mediatek@lists.infradead.org, Matthias Brugger , ming-fan.chen@mediatek.com, anan.sun@mediatek.com, Will Deacon , linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" 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 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2B57C4363A for ; Mon, 26 Oct 2020 20:08:54 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2F84F21BE5 for ; Mon, 26 Oct 2020 20:08:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eRavBxoh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2F84F21BE5 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tZWAC+Im44VJ9gO+jDXCx3jdOS3Dh6VQC81jnzhogi0=; b=eRavBxoh8KgLzhZcRsHK8ptke 9sBJpkB9oJf8PlHMOA1HEo8JAuQYXCR0BEoE6PSuQnC1b25Ck4WoJPAGq2s63s5fZAFNKfQEiZbQf b3hm/hsOqrBiZyyO3zfOSuj50rxXiNC+yE1Hia2RZ6SjwLQ5RVHsi7MLqY4tMzHaskrvfckUhRKHb Z2FEuDjP86ZXytYbbpxdmAnKcJ1I1+GPwhm/0Z8OTLGSUc0bVJZHdLV0Rl0HJdylc2IymdxJdcbgE /Cm9myLMuNa5+thN2KWJ6RDQi5hUIXQc0hxTx+BIJQKSJk6fdaGIz+UTTKLr3QlOIgtj0pZ7/BEYF OGoyEetpQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kX8nO-0006cq-3K; Mon, 26 Oct 2020 20:08:46 +0000 Received: from mail-ed1-f65.google.com ([209.85.208.65]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kX8nM-0006cM-8H; Mon, 26 Oct 2020 20:08:45 +0000 Received: by mail-ed1-f65.google.com with SMTP id w25so10875697edx.2; 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=nDgDSM0f13fh2VAPU1aJ3VKdg4L9UAIBihS4S79ovDAiY86hnAXGDrU20Fn79bnjpE q1arUYu5MdIggNqHEBQm6Tu4T4cXX5bTtLsindxhDQd2sSCcxNgY01mOuCBsPl66663e 8lU3asZ2Gi/qnaMY+SzLSaL4P/Fm9sdwuT8tV+QeUh4OyUhLwPW2157IFJ6mqkd/zXb8 AlpqGWXRdsRjcpQdWqHG4lOQMTObQPY1xcqBI6reRwYcfgeas4PTxsPa/+4VN/MblsYS 6L+ICgBdplQsUOqMc0HTglNEXf5NzWCqgW4Ss4rO7BmdA8dNf0gZvzKjvIE+ncZS67mi nc/Q== X-Gm-Message-State: AOAM531kQkH2aRqu0zT9ZdVQg+GHKUrPsRAZu9ywO1cS1a/H9sTyLgzW tHCuU+W8RObHJ7CLiA8ch4o= X-Google-Smtp-Source: ABdhPJyeTtkh+7BD+iZP00A29Rs+E9CbsQNM30SNnmXJaudtE/elyiDZQpiu12bDhX/8rOr3FlmfEA== 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 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-Disposition: inline In-Reply-To: <20200930070647.10188-1-yong.wu@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201026_160844_359500_E10184D4 X-CRM114-Status: GOOD ( 17.04 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: youlin.pei@mediatek.com, devicetree@vger.kernel.org, kernel-team@android.com, Nicolas Boichat , srv_heupstream@mediatek.com, chao.hao@mediatek.com, Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Evan Green , Tomasz Figa , iommu@lists.linux-foundation.org, Rob Herring , linux-mediatek@lists.infradead.org, Matthias Brugger , ming-fan.chen@mediatek.com, anan.sun@mediatek.com, Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.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 _______________________________________________ Linux-mediatek mailing list Linux-mediatek@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-mediatek From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 760B7C4363A for ; Mon, 26 Oct 2020 20:10:09 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 227F421D42 for ; Mon, 26 Oct 2020 20:10:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="wsyyNLbX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 227F421D42 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=EPijpcqJ3d1eBrvl5hEJ1NYgAL2A2+CKBbicFRE1G0M=; b=wsyyNLbXu55DSnTM6t76jDhoL JclnQFlPbkhQG8JodQCZ4Gmk/hfmuGelDCPoAPoBtM7mHh1YAnm3RhQnTrbapLD6Viwm7V3vOnr/8 1OZZE0xDTU30QKrLuTsidyk7pnlmKCSomTN8e3Hm+/B76Wq1cCDl1X0PZSfvpE50eEtZQVKE16m35 VbjzMRzinuJbU1Ql+PFQwklxawRQJRh+zEjzhIaedbqeSJrOhPh1in7YwAy9HvkVotRkgscTv7l11 3rcYNt2q7zfbEGHPBejt5k3camSr7LvyWrWssM3Qmmv+fE2O7c+ZiipAPFAcjgPGdyFL7jY6JPj/7 SlO9on1sA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kX8nP-0006d1-04; Mon, 26 Oct 2020 20:08:47 +0000 Received: from mail-ed1-f65.google.com ([209.85.208.65]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kX8nM-0006cM-8H; Mon, 26 Oct 2020 20:08:45 +0000 Received: by mail-ed1-f65.google.com with SMTP id w25so10875697edx.2; 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=nDgDSM0f13fh2VAPU1aJ3VKdg4L9UAIBihS4S79ovDAiY86hnAXGDrU20Fn79bnjpE q1arUYu5MdIggNqHEBQm6Tu4T4cXX5bTtLsindxhDQd2sSCcxNgY01mOuCBsPl66663e 8lU3asZ2Gi/qnaMY+SzLSaL4P/Fm9sdwuT8tV+QeUh4OyUhLwPW2157IFJ6mqkd/zXb8 AlpqGWXRdsRjcpQdWqHG4lOQMTObQPY1xcqBI6reRwYcfgeas4PTxsPa/+4VN/MblsYS 6L+ICgBdplQsUOqMc0HTglNEXf5NzWCqgW4Ss4rO7BmdA8dNf0gZvzKjvIE+ncZS67mi nc/Q== X-Gm-Message-State: AOAM531kQkH2aRqu0zT9ZdVQg+GHKUrPsRAZu9ywO1cS1a/H9sTyLgzW tHCuU+W8RObHJ7CLiA8ch4o= X-Google-Smtp-Source: ABdhPJyeTtkh+7BD+iZP00A29Rs+E9CbsQNM30SNnmXJaudtE/elyiDZQpiu12bDhX/8rOr3FlmfEA== 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 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-Disposition: inline In-Reply-To: <20200930070647.10188-1-yong.wu@mediatek.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201026_160844_359500_E10184D4 X-CRM114-Status: GOOD ( 17.04 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: youlin.pei@mediatek.com, devicetree@vger.kernel.org, kernel-team@android.com, Nicolas Boichat , srv_heupstream@mediatek.com, chao.hao@mediatek.com, Robin Murphy , Joerg Roedel , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Evan Green , Tomasz Figa , iommu@lists.linux-foundation.org, Rob Herring , linux-mediatek@lists.infradead.org, Matthias Brugger , ming-fan.chen@mediatek.com, anan.sun@mediatek.com, Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel