Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4537826yba; Mon, 29 Apr 2019 23:22:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMUCLJ1W/slaXjjyKrvguJF4uRtJAVQGcfWrBMEnp+1ObXibls7yyHLQmrYto/VDnfaJGN X-Received: by 2002:a17:902:8f84:: with SMTP id z4mr12413750plo.124.1556605353826; Mon, 29 Apr 2019 23:22:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556605353; cv=none; d=google.com; s=arc-20160816; b=UJJi1xtMxtqrUQrVThvfgG79HwDbG3R/D9G1x1ofkIaFr4SnMv3q7hU+ghNObkTzsC 0DglpDH3dLE8VkaIys58DoFcwX0c4ReoN4rQFlFnYd6Q5XRVNYKOmkk5TG6e6qMycKoP ueO7mhAppxXkIEr4KKB40d3MAs8wCzXQFLZf21ADALScHPntfldOAxtA9OIz25VN0OJ1 ZGB551bD0lClIxbB3XOOOH7vCoCxR/7K0pViYVBAHfNwpNBrnp+ZP0pywBdUMwI7c2AH RoFIJgMo+ekTbmLZQDHSVJJkk76Cq5qo88Bmz8kqNV08c/5VeniGiEXbI+uq5Rv0RJ8L oH3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :nodisclaimer:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=zf/Gl8epYsSl4GoCMaDSVonWnVQh8ncvgFCFivnxR8Y=; b=09Yz21itNDbLmI8pC6v5cx100UAxcabsThzlcpb1wdYg1tp4Vg0zb/y2Zr/xR4Ai4e +6flhpANptwtisgppCUrnx6ub3y/5j2l+xvIeB7KlfReFzimRhnbac49p1FS6QAkz9hV pus4bTlBYyPH0G+JXYN14Z4c7oCHREmX6zln/ePDFJjYXTZGHMx8UVhpqWmc0GRkxBEu oIXWAU+6IqCZhZcnVvFv8gHa4fZdAtWXk6KZkCewIRW8VdXi1cJHnrIAdFw2hfLV/k0V t9VYeSiTObKQynQ2pLO5zrnbFnRzKr40/7b09BhxiZtPubDq9hSuaU0MNGesvb3T7K1s zSzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=XVga4oUW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v22si954663pff.62.2019.04.29.23.22.18; Mon, 29 Apr 2019 23:22:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=XVga4oUW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726300AbfD3GUC (ORCPT + 99 others); Tue, 30 Apr 2019 02:20:02 -0400 Received: from mail-eopbgr70075.outbound.protection.outlook.com ([40.107.7.75]:12590 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725938AbfD3GUC (ORCPT ); Tue, 30 Apr 2019 02:20:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zf/Gl8epYsSl4GoCMaDSVonWnVQh8ncvgFCFivnxR8Y=; b=XVga4oUW3NbrdlUM0C/n+L0OsqcgyOQ9BL2HRXq6JXftqSqyehRsUI5qKs3n89yKyAOvvuJnsKQpAukEVRbrSQRdP6NRw5lBswgD1sK3g7dUkKFJD/OqYR7jI66/RGGnKTOD3aKXu8DfuC+QVBe3yNge5CeFNui4skpOcB6BRPE= Received: from DB7PR08MB3530.eurprd08.prod.outlook.com (20.177.120.80) by DB7PR08MB3130.eurprd08.prod.outlook.com (52.134.110.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Tue, 30 Apr 2019 06:19:39 +0000 Received: from DB7PR08MB3530.eurprd08.prod.outlook.com ([fe80::90f3:99ab:9445:1187]) by DB7PR08MB3530.eurprd08.prod.outlook.com ([fe80::90f3:99ab:9445:1187%3]) with mapi id 15.20.1856.008; Tue, 30 Apr 2019 06:19:39 +0000 From: "Lowry Li (Arm Technology China)" To: Liviu Dudau , "james qian wang (Arm Technology China)" , "maarten.lankhorst@linux.intel.com" , "seanpaul@chromium.org" , "airlied@linux.ie" , Brian Starkey CC: "Julien Yin (Arm Technology China)" , "Jonathan Chai (Arm Technology China)" , Ayan Halder , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , nd Subject: [PATCH v1 1/2] drm/komeda: Adds SMMU support Thread-Topic: [PATCH v1 1/2] drm/komeda: Adds SMMU support Thread-Index: AQHU/xyrCXlmeoiHr0SduWApMBiKKA== Date: Tue, 30 Apr 2019 06:19:29 +0000 Message-ID: <1556605118-22700-2-git-send-email-lowry.li@arm.com> References: <1556605118-22700-1-git-send-email-lowry.li@arm.com> In-Reply-To: <1556605118-22700-1-git-send-email-lowry.li@arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [113.29.88.7] x-clientproxiedby: HK2P15301CA0024.APCP153.PROD.OUTLOOK.COM (2603:1096:202:1::34) To DB7PR08MB3530.eurprd08.prod.outlook.com (2603:10a6:10:49::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Lowry.Li@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.9.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c3f99bdc-b02d-4ac7-7bd1-08d6cd33cd7f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB7PR08MB3130; x-ms-traffictypediagnostic: DB7PR08MB3130: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:313; x-forefront-prvs: 00235A1EEF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(346002)(376002)(136003)(396003)(366004)(189003)(199004)(6436002)(36756003)(110136005)(386003)(97736004)(8676002)(81156014)(81166006)(14454004)(26005)(3846002)(478600001)(5660300002)(8936002)(54906003)(2501003)(55236004)(102836004)(6486002)(25786009)(6506007)(6116002)(76176011)(5024004)(4326008)(256004)(14444005)(316002)(68736007)(305945005)(66066001)(7736002)(86362001)(72206003)(2201001)(486006)(2616005)(2906002)(6512007)(73956011)(6666004)(66946007)(446003)(53936002)(11346002)(476003)(6636002)(50226002)(66446008)(66476007)(52116002)(71200400001)(71190400001)(186003)(64756008)(99286004)(66556008)(473944003);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR08MB3130;H:DB7PR08MB3530.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: VEEgYDr9DMKSLza/PsN6u4VYcKyz4it0Xyfx+xW1RUsx3vh+OOY9gW5V5cPksigtku9+3Dqpuk4+sbVz/JJIX2udyDQFrLpidBuUVOsoC6vh7XUsHH6zQluyba0JBJxq/YpRYsHE1sbXbrlkFCmDIQkVvNmdVyk1L/3RlxQae94alWlfF4Ka3Bx+b0+f+7c8jM+4Uu+9oSsOsafZdqNAO7eDjXnnbMt7EByefWbuGoNrgy8WjTWdiShaJbWiQR3npJ3a+VMvMcEReDi/58HBHOCrlP5Vw1nejkUe1CatsNNKjcxqEqe6QYncDQYiotfp0sHgpoYvw8bsD0QYh8UDZQFTuiPziks6u9VsXDltayi4WnPQUGS2lL1R9LYM7KHV68qHDEDbydN5JTnjwLg88g== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3f99bdc-b02d-4ac7-7bd1-08d6cd33cd7f X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2019 06:19:29.6065 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3130 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkcyBpb21tdV9jb25uZWN0IGFuZCBkaXNjb25uZWN0IGZvciBTTU1VIHN1cHBvcnQsIGFuZCBj b25maWd1cmVzDQpUQlUgdHJhbnNsYXRpb24gb25jZSBTTU1VIGhhcyBiZWVuIGF0dGFjaGVkIHRv IHRoZSBkaXNwbGF5IGRldmljZS4NCg0KU2lnbmVkLW9mZi1ieTogTG93cnkgTGkgKEFybSBUZWNo bm9sb2d5IENoaW5hKSA8bG93cnkubGlAYXJtLmNvbT4NCi0tLQ0KIC4uLi9ncHUvZHJtL2FybS9k aXNwbGF5L2tvbWVkYS9kNzEvZDcxX2NvbXBvbmVudC5jIHwgIDUgKysrDQogZHJpdmVycy9ncHUv ZHJtL2FybS9kaXNwbGF5L2tvbWVkYS9kNzEvZDcxX2Rldi5jICAgfCA0OSArKysrKysrKysrKysr Kys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