Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4351597pxk; Wed, 30 Sep 2020 00:08:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwc/093aLoEQ6RtcKx+S7/zM//Hpt8KKR+GvXepKWQG3LmrXG6OXx1JAW83RmapH/L0ejf9 X-Received: by 2002:a05:6402:713:: with SMTP id w19mr1251611edx.232.1601449724898; Wed, 30 Sep 2020 00:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601449724; cv=none; d=google.com; s=arc-20160816; b=EOFFFxOjNMzbsf8YmB/NgDB0IuAf9j2wXTO11zUpqHOsdVPEuJuO3/ysMkHkMV6hPX 1/LX2bXFajp34VDdgsxleaHUThs5hzUef5EQx6IC1muca74/vepZGWWS/rEzdPGsMtNQ sRKjalE+X6Brhp8DZI4K4gXtfg4MnfDZsn58R4mZttPsQg0BVAficyGBHWiqfHiCA0+g 3K6Pb/jJuWJqbZxEPUnsS7/a/WE+ow5PUSP2hqXuNlCIKa0jfih//+AVV4nMdYWJOXxT oIgNf8+1NuimHvVy1or3izVhuQNV0LoZVXStSKVVdez/wRoIFg/258IJA1NccONuQ/ud zaTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=5AhZKEIC00gKIcL6HX6plzcjVbB5Hhhvugp+KrpFUY8=; b=OSCHlpRJ7YfwZB+PLJmuLIQqejY7l9Y+xZNT0oYE7BRAscQ4ccWRqNHiPW1/0ZaeaP exW9N7KsmN76C2/N2L00iM9+StW3y/qi1rWjUAc2AV9NT05Bx1en8PQyK/vq1EyZp6c6 qNZfHGvbWfrpZ3LCSHRFzQQhcbiunHC+vUyq6qvhR9gcL6bA881R9k3mz8sTo3yjCAlH xffIO83F+JzC9L0MyrFZfYjIYACUzyUonaeoVw/4uOy3LSmCuZv2X8oJkeeXmfrt92bC 1FQPEqImIDVqlGLSzZZBUYJD9wP1cHQfkxXQJ81eKLymCOwnI8cjrO6rcvprRzo5RJTp 1jew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Gzf172xm; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n19si482729edr.130.2020.09.30.00.08.21; Wed, 30 Sep 2020 00:08:44 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=Gzf172xm; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725823AbgI3HHN (ORCPT + 99 others); Wed, 30 Sep 2020 03:07:13 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:39247 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725535AbgI3HHN (ORCPT ); Wed, 30 Sep 2020 03:07:13 -0400 X-UUID: 7c63cc7630224a1093afc71d9ffaa0d1-20200930 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=5AhZKEIC00gKIcL6HX6plzcjVbB5Hhhvugp+KrpFUY8=; b=Gzf172xm5DRoi6pR40TKKua2P7MVsWMJQ8MN3GuAHNUljrmE2QXCSfIoF0inyBnKXEmXDVfPniw/Cn6gVK4mXiu+DXhIkq/S0LgYbWVBDqVjwaky6rTl9IfMAf4Z4Sch9EAU+p+EYTpus9Ve+sNziDifNHveY750PDvqaMq6a64=; X-UUID: 7c63cc7630224a1093afc71d9ffaa0d1-20200930 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 679787247; Wed, 30 Sep 2020 15:07:02 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Sep 2020 15:06:59 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 30 Sep 2020 15:06:57 +0800 From: Yong Wu To: Joerg Roedel , Matthias Brugger , Rob Herring , Robin Murphy , Krzysztof Kozlowski , Will Deacon CC: Evan Green , Tomasz Figa , , , , , , , , , Nicolas Boichat , , , , Greg Kroah-Hartman , Subject: [PATCH v3 00/24] MT8192 IOMMU support Date: Wed, 30 Sep 2020 15:06:23 +0800 Message-ID: <20200930070647.10188-1-yong.wu@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: FBF17A1314FE8431647D3158E921C25AFB5DE37D010C6932888B9B9AC638F2252000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VGhpcyBwYXRjaCBtYWlubHkgYWRkcyBzdXBwb3J0IGZvciBtdDgxOTIgSU9NTVUgYW5kIFNNSS4N Cg0KbXQ4MTkyIGFsc28gaXMgTVRLIElPTU1VIGdlbjIgd2hpY2ggdXNlcyBBUk0gU2hvcnQtRGVz Y3JpcHRvciB0cmFuc2xhdGlvbg0KdGFibGUgZm9ybWF0LiBUaGUgTTRVLVNNSSBIVyBkaWFncmFt IGlzIGFzIGJlbG93Og0KDQogICAgICAgICAgICAgICAgICAgICAgICAgIEVNSQ0KICAgICAgICAg ICAgICAgICAgICAgICAgICAgfA0KICAgICAgICAgICAgICAgICAgICAgICAgICBNNFUNCiAgICAg ICAgICAgICAgICAgICAgICAgICAgIHwNCiAgICAgICAgICAgICAgICAgICAgICAtLS0tLS0tLS0t LS0NCiAgICAgICAgICAgICAgICAgICAgICAgU01JIENvbW1vbg0KICAgICAgICAgICAgICAgICAg ICAgIC0tLS0tLS0tLS0tLQ0KICAgICAgICAgICAgICAgICAgICAgICAgICAgfA0KICArLS0tLS0t LSstLS0tLS0rLS0tLS0tKy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0rLS0tLS0tLSsNCiAgfCAgICAg ICB8ICAgICAgfCAgICAgIHwgICAgICAgLi4uLi4uICAgICAgICAgfCAgICAgICB8DQogIHwgICAg ICAgfCAgICAgIHwgICAgICB8ICAgICAgICAgICAgICAgICAgICAgIHwgICAgICAgfA0KbGFyYjAg ICBsYXJiMSAgbGFyYjIgIGxhcmI0ICAgICAuLi4uLi4gICAgICBsYXJiMTkgICBsYXJiMjANCmRp c3AwICAgZGlzcDEgICBtZHAgICAgdmRlYyAgICAgICAgICAgICAgICAgICBJUEUgICAgICBJUEUN Cg0KQWxsIHRoZSBjb25uZWN0aW9ucyBhcmUgSFcgZml4ZWQsIFNXIGNhbiBOT1QgYWRqdXN0IGl0 Lg0KDQpDb21wYXJpbmcgd2l0aCB0aGUgcHJldmlldyBTb0MsIHRoaXMgcGF0Y2hzZXQgbWFpbmx5 IGFkZHMgdHdvIG5ldyBmdW5jdGlvbnM6DQphKSBhZGQgaW92YSAzNCBiaXRzIHN1cHBvcnQuDQpi KSBhZGQgbXVsdGkgZG9tYWlucyBzdXBwb3J0IHNpbmNlIHNldmVyYWwgSFcgaGFzIHRoZSBzcGVj aWFsIGlvdmENCnJl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ArKy0tDQogZHJpdmVycy9pb21tdS9tdGtfaW9tbXUuYyAgICAgICAgICAgICAg ICAgICAgIHwgMjU2ICsrKysrKysrKysrKysrKy0tLQ0KIGRyaXZlcnMvaW9tbXUvbXRrX2lvbW11 LmggICAgICAgICAgICAgICAgICAgICB8ICAxMSArLQ0KIGRyaXZlcnMvbWVtb3J5L210ay1zbWku YyAgICAgICAgICAgICAgICAgICAgICB8ICAyNyArKw0KIGluY2x1ZGUvZHQtYmluZGluZ3MvbWVt b3J5L210MjcxMi1sYXJiLXBvcnQuaCB8ICAgMiArLQ0KIGluY2x1ZGUvZHQtYmluZGluZ3MvbWVt b3J5L210Njc3OS1sYXJiLXBvcnQuaCB8ICAgMiArLQ0KIGluY2x1ZGUvZHQtYmluZGluZ3MvbWVt b3J5L210ODE3My1sYXJiLXBvcnQuaCB8ICAgMiArLQ0KIGluY2x1ZGUvZHQtYmluZGluZ3MvbWVt b3J5L210ODE4My1sYXJiLXBvcnQuaCB8ICAgMiArLQ0KIGluY2x1ZGUvZHQtYmluZGluZ3MvbWVt b3J5L210ODE5Mi1sYXJiLXBvcnQuaCB8IDIzOSArKysrKysrKysrKysrKysrDQogLi4uL2R0LWJp bmRpbmdzL21lbW9yeS9tdGstc21pLWxhcmItcG9ydC5oICAgIHwgIDIyICsrDQogaW5jbHVkZS9s aW51eC9pby1wZ3RhYmxlLmggICAgICAgICAgICAgICAgICAgIHwgICA0ICstDQogaW5jbHVkZS9z b2MvbWVkaWF0ZWsvc21pLmggICAgICAgICAgICAgICAgICAgIHwgICAzICstDQogMTggZmlsZXMg Y2hhbmdlZCwgOTAzIGluc2VydGlvbnMoKyksIDI3NyBkZWxldGlvbnMoLSkNCiBkZWxldGUgbW9k ZSAxMDA2NDQgRG9jdW1lbnRhdGlvbi9kZXZpY2V0cmVlL2JpbmRpbmdzL2lvbW11L21lZGlhdGVr LGlvbW11LnR4dA0KIGNyZWF0ZSBtb2RlIDEwMDY0NCBEb2N1bWVudGF0aW9uL2Rld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