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=1.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, MIME_BASE64_TEXT,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 F00DAC47089 for ; Thu, 27 May 2021 02:48:15 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (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 3D7C7613CC for ; Thu, 27 May 2021 02:48:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3D7C7613CC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=rock-chips.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 06B14402A4; Thu, 27 May 2021 02:48:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DnH6GkjRhdaY; Thu, 27 May 2021 02:48:14 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTP id A3DFA40259; Thu, 27 May 2021 02:48:13 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 70CCCC000E; Thu, 27 May 2021 02:48:13 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4A951C0001 for ; Thu, 27 May 2021 02:48:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 2454760717 for ; Thu, 27 May 2021 02:48:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wf5TsKq1YZsD for ; Thu, 27 May 2021 02:48:11 +0000 (UTC) X-Greylist: delayed 00:09:53 by SQLgrey-1.8.0 Received: from smtphy.263.net (va-smtp01.263.net [54.88.144.211]) by smtp3.osuosl.org (Postfix) with ESMTPS id 41AA260733 for ; Thu, 27 May 2021 02:48:11 +0000 (UTC) Received: from vipthree.263.net (unknown [211.157.147.162]) by smtphy.263.net (Postfix) with ESMTPS id CDF20120026 for ; Thu, 27 May 2021 10:38:16 +0800 (CST) Received: from vipregular2.263.net (unknown [192.168.165.177]) by vipthree.263.net (Postfix) with ESMTP id 58BB426E for ; Thu, 27 May 2021 10:37:47 +0800 (CST) Received: from vipregular1.263.net (unknown [192.168.165.162]) by vipregular2.263.net (Postfix) with ESMTP id 49B3C191 for ; Thu, 27 May 2021 10:37:38 +0800 (CST) Received: from localhost (unknown [192.168.167.235]) by vipregular1.263.net (Postfix) with ESMTP id 2B502C98; Thu, 27 May 2021 10:37:32 +0800 (CST) X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-ADDR-CHECKED4: 1 X-ANTISPAM-LEVEL: 2 X-SKE-CHECKED: 1 X-ABS-CHECKED: 1 Received: from desktop-7uo2irf (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P31747T140095115986688S1622083051355302_; Thu, 27 May 2021 10:37:31 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <4fe6567fd536a59e612fff8b32aeeca6> X-RL-SENDER: xxm@rock-chips.com X-SENDER: xxm@rock-chips.com X-LOGIN-NAME: xxm@rock-chips.com X-FST-TO: robin.murphy@arm.com X-RCPT-COUNT: 6 X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-System-Flag: 0 Date: Thu, 27 May 2021 10:37:32 +0800 From: "xxm@rock-chips.com" To: robin.murphy , hch , joro , will Subject: Different type iommus integrated in a SoC X-Priority: 3 X-Has-Attach: no X-Mailer: Foxmail 7.2.16.188[cn] Mime-Version: 1.0 Message-ID: <2021052710373173260118@rock-chips.com> Cc: linux-rockchip , iommu 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: multipart/mixed; boundary="===============8685753940723373131==" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" This is a multi-part message in MIME format. --===============8685753940723373131== Content-Type: multipart/alternative; boundary="----=_001_NextPart340720075514_=----" This is a multi-part message in MIME format. ------=_001_NextPart340720075514_=---- Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 SGkgYWxsLA0KDQpJIGhhdmUgYSBTb0MgaW50ZWdyYXRlIHdpdGggdHdvIGRpZmZlcmVudCB0eXBl cyBvZiBpb21tdXMsIG9uZSBpcyBBUk0gU01NVSwgc2VydmVzIHRoZSBQQ0llL1NBVEEvVVNCLA0K dGhlIG90aGVycyBhcmUgdmVuZG9yIHNwZWNpZmljIGlvbW11cywgc2VydmVzIGRpc3BsYXkgZGV2 aWNlIGFuZCBtdWx0aW1lZGlhIGRldmljZS4NCg0KSW4gdGhlIGN1cnJlbnQgbGludXgga2VybmVs LCB0aGUgaW9tbXUgZnJhbWV3b3JrIHNlZW1zIG9ubHkgc3VwcG9ydCBvbmUgdHlwZSBpb21tdSBh dCBydW50aW1lLCBpZiBlbmFibGUgYm90aCB0eXBlcyBpb21tdSwgb25seSBvbmUgdHlwZSBjYW4g d29yay4NCklzIHRoZXJlIGFueSB3YXkgdG8gc3VwcG9ydCB0aGlzIGtpbmQgb2YgU29DPyANCg0K DQpTaW1vbg0KDQoNCg== ------=_001_NextPart340720075514_=---- Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =0A
Hi all,

I have a SoC integrate with two differ= ent types of iommus, one is ARM SMMU,&n= bsp;serves the PCIe/SATA/USB,
the others are v= endor specific iommus, serves display device = ;and multimedia device.

In the current lin= ux kernel, the iommu framework seems only&nb= sp;support one type iommu at runtime, if&nbs= p;enable both types iommu, only one type&nbs= p;can work.
Is there any way to support&n= bsp;this kind of SoC? 


=0A
Simon

=0A
=0A ------=_001_NextPart340720075514_=------ --===============8685753940723373131== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu --===============8685753940723373131==--