Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5608212yba; Thu, 11 Apr 2019 01:39:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKKZvKGhGyxFR4l9FTG1lTIbBNyxm41VRcnSaFAooz55ppFiHATctAEbKpxCA8tgO8mIEU X-Received: by 2002:a65:5383:: with SMTP id x3mr28206877pgq.60.1554971962693; Thu, 11 Apr 2019 01:39:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554971962; cv=none; d=google.com; s=arc-20160816; b=bi6CR8eBITRMvAm0tXT/e9GoemcpW31dcm/FbfW/b/I1fr7AGlJIEUq97hpJJEw/D4 r7QdORKF7yjCvjibkdri09l1TIZhQO3KAfQgPuTTk/XErj3gXMl/LAKFNU4LNzaipb10 nd831ulPNZdHTVub085ewgwNObEklOav4V5WVdi4xUMKTyt6lvfNdHqB8AMIfWxTvTX9 APBrXdNegNEOMYDBdbXdAfMiTSUaUZQb7pu76ScmJJzj1R46ojU/xi0gFLzsB40ItYtl uD/YmrY0wZbAekYOpqFMg4GxL9BT7IYMEHL6heGXr9d4FlPo+Int8dDfGP7uk7CB7wHL LB3w== 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:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=uEixj299WRidBZgsJUoh/YW7uGGHLQPcR4mRUy3cCNg=; b=EdjCL3U9//vOqvAgF9RwiSuyoTzvElzFVc7yUdifBuDgOEUhfbMhCJozQgcLX0Y6jK zAify3W9Lm3j0Ylq0+/eusb+FUNkoEPSlbXoJIalqDqk0Ka1L+p2Ey4AwhC8rhLXNS92 Ui7r+nhqMYAdiUJFRDWmjGD9tWq3F2s37GuHuze/WI9/E3qtn/RZk/vB0gR81QTiCEYx huvbMbszlryYAtYxcYAZBNSNhQNvdVKa8sYC9LC6GvDD6rqohECVrLTrHVVb2ddhKPjh JOJlp5ducPtm1Yf9gf8MTntqQrxM4699j9NJYI5H4w6HIVXjzIKoMAAkV+H7OJCpbo6l KJOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector1-arm-com header.b=NCSKFiNB; 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 143si25595923pga.118.2019.04.11.01.39.07; Thu, 11 Apr 2019 01:39:22 -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=NCSKFiNB; 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 S1726595AbfDKIhS (ORCPT + 99 others); Thu, 11 Apr 2019 04:37:18 -0400 Received: from mail-eopbgr20046.outbound.protection.outlook.com ([40.107.2.46]:51427 "EHLO EUR02-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726106AbfDKIhR (ORCPT ); Thu, 11 Apr 2019 04:37:17 -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=uEixj299WRidBZgsJUoh/YW7uGGHLQPcR4mRUy3cCNg=; b=NCSKFiNB/+Qpmm1MK+1N3PZ8yr2jKfR7nwDsIE9m2zo7bAtE9CbimPx0DQYVFes7ULCLrl9KiV8s9Hj8KVqIgUqhBwwsrQz+WnjnpiL/5cHZovT6JPaM8UhqT9/tMgw32ZirFzbWJAqwcTFUpk2BAn/nzb2+S7G0n9D1dQNRrco= Received: from DB7PR08MB3530.eurprd08.prod.outlook.com (20.177.120.80) by DB7PR08MB4618.eurprd08.prod.outlook.com (20.178.85.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1771.19; Thu, 11 Apr 2019 08:37:13 +0000 Received: from DB7PR08MB3530.eurprd08.prod.outlook.com ([fe80::899e:4160:166b:923a]) by DB7PR08MB3530.eurprd08.prod.outlook.com ([fe80::899e:4160:166b:923a%3]) with mapi id 15.20.1792.009; Thu, 11 Apr 2019 08:37:13 +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 v2] drm/komeda: fixing of DMA mapping sg segment warning Thread-Topic: [PATCH v2] drm/komeda: fixing of DMA mapping sg segment warning Thread-Index: AQHU8EHC/9vJCCcYc0eF1Oqu3HFhoA== Date: Thu, 11 Apr 2019 08:37:13 +0000 Message-ID: <1554971813-22049-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: HK0PR01CA0043.apcprd01.prod.exchangelabs.com (2603:1096:203:3e::31) 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: b512d693-7b4a-4abb-41d9-08d6be58e4c5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:DB7PR08MB4618; x-ms-traffictypediagnostic: DB7PR08MB4618: x-ms-exchange-purlcount: 4 nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 00046D390F x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(39860400002)(346002)(376002)(396003)(136003)(189003)(199004)(86362001)(50226002)(68736007)(5660300002)(71190400001)(26005)(25786009)(476003)(2616005)(256004)(4326008)(36756003)(6636002)(71200400001)(7736002)(2906002)(486006)(186003)(54906003)(97736004)(110136005)(305945005)(14444005)(2201001)(478600001)(99286004)(53936002)(316002)(14454004)(66066001)(72206003)(386003)(6436002)(966005)(6506007)(55236004)(52116002)(2501003)(102836004)(8936002)(6306002)(106356001)(81156014)(105586002)(6486002)(6512007)(8676002)(6116002)(3846002)(81166006);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR08MB4618;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: WFhJa+6M8cJmdcLXrMbbKEgaCrSsotrlBB083wSg6p1uHGpDkfkuz46DHGivtauVEqnhx5Np0RNE00dOc2iO0kS7pCPQ3p1u0c+s5D8JNZDWfHk41lKo5xaQjFLln/ik/LYyRn8zgLHhatDz+2vKvDD4F/FVl4n038QjGPWbY7/r/Zbu5HOdCw7A99TjfGV91RHciLPnkltrqyjR9TEZIcEIpmRafgxmCIVUkicc6deCihbNV8W4ra1awR4tirov4WIDIu1zsv7dI8ivk6YzLJxVnjKNd9vTLo9MwZGvlFZSG92umX9PJwF70GZxskPY+qNwKdZp1VwKWjfD+ZEBlADN/FIZs6EC9M+nESic73laByYaiI4dkb0OpswFUbz+uPflZRcZHeoQuGw1yM+She+0HbXl5Hw6naPf9LLWfGs= 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: b512d693-7b4a-4abb-41d9-08d6be58e4c5 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Apr 2019 08:37:13.3722 (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: DB7PR08MB4618 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rml4aW5nIHRoZSBETUEgbWFwcGluZyBzZyBzZWdtZW50IHdhcm5pbmcsIHdoaWNoIHNob3dzICJE TUEtQVBJOiBtYXBwaW5nDQpzZyBzZWdtZW50IGxvbmdlciB0aGFuIGRldmljZSBjbGFpbXMgdG8g c3VwcG9ydCBbbGVuPTkyMTYwMF0gW21heD02NTUzNl0iLg0KRml4ZWQgYnkgc2V0dGluZyB0aGUg bWF4IHNlZ21lbnQgc2l6ZSBhdCBLb21lZGEgZHJpdmVyLg0KDQpUaGlzIHBhdGNoIGRlcGVuZHMg b246DQotIGh0dHBzOi8vcGF0Y2h3b3JrLmZyZWVkZXNrdG9wLm9yZy9zZXJpZXMvNTQ0NDgvDQot IGh0dHBzOi8vcGF0Y2h3b3JrLmZyZWVkZXNrdG9wLm9yZy9zZXJpZXMvNTQ0NDkvDQotIGh0dHBz Oi8vcGF0Y2h3b3JrLmZyZWVkZXNrdG9wLm9yZy9zZXJpZXMvNTQ0NTAvDQotIGh0dHBzOi8vcGF0 Y2h3b3JrLmZyZWVkZXNrdG9wLm9yZ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