Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp895717pxu; Wed, 16 Dec 2020 18:28:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFU4OLbj8xlHw5hGg7pynYOhiMcmAsI8kpxWjRQNkfVK5V+XiquHRRcOHRjU/kbzBloZM5 X-Received: by 2002:a17:906:ce51:: with SMTP id se17mr33020238ejb.314.1608172089073; Wed, 16 Dec 2020 18:28:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608172089; cv=none; d=google.com; s=arc-20160816; b=OeZXPTLgbh5Y1AHRJj25Lw+YCe79HizaQJmYfhhOlk/b/nLnuTkyotTRTIM6TyZ4Df oKOO/1jDOSDBzRRqdPv1WZAeRtDL5H0Kp1Ev4svHFEOHmg7lyGwj1NXh2J0pYIdOTc9i YcdBQzpxROAU9ywzb18UkUXytOKwneTLA+ZN7N399fGwklW618siRBXkmsOrPDplaoQK dEfBcydKcOZoZXv6FgBTxeq4Ue0lgnjeLS/OwdS0cCy6MPuXKdbtFT2YoD0EQ4lXVx2Y daJ9gH7MPREYYZl4oati7cE04eGNCVSlEt3JBn8YKAjLTWc5wKT2yIg6JiT54LysCUCj tzmg== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=rtpUbaZh/cAA+R5BRc6dTbvK+CjOyeTaJisNHX8GorM=; b=HR81J+eogHc0IvaNZQfdnly5OT0/MuJ6cD94jifvfn64wD5crNNbc3PXylXt3Rbhcq j6ZJwFvysJRqk+bafte7D4bcG3DnsksJRRBYkjpQKd2cqWl0bqC+J26vbPM+ouubi4Mz OFvrYmdQ7r5zIUOAIWdV0t5aZ/PPUYkVgCHbsZkLecaNN8/XBS9ZIk+gI4TISieyTDVk QDzGZC99F1l5ol00OiUh4dJp+Q0E5Z8D/tddlLTEKNr1q+e+Hjb9xaj1Ql67iwMvzTaC OJOqqHRktoNCN+di349WZ+uybwls0RPOiWJoVuWevu79rulk0psoAx5UjRTVM9uY1yRJ lsjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=M+7JG5RX; 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 u13si3532399edv.186.2020.12.16.18.27.46; Wed, 16 Dec 2020 18:28:09 -0800 (PST) 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=M+7JG5RX; 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 S1727857AbgLQC0y (ORCPT + 99 others); Wed, 16 Dec 2020 21:26:54 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:19390 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727090AbgLQC0y (ORCPT ); Wed, 16 Dec 2020 21:26:54 -0500 X-UUID: 6b57a697fc7343769c8cf30d3b0e206e-20201217 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=rtpUbaZh/cAA+R5BRc6dTbvK+CjOyeTaJisNHX8GorM=; b=M+7JG5RX2/VYnAMDWx472+5+2R3SDuSluClsjhpGaFaZfMt+KDqtPx/Fcdoihp99ptRyk2ve4hjPI+m1Eklg5MxjoHYrwvaTr0kDx6+NBs8Bfl9F4IzmIdOm5yPOUKN2bmRWe5D8Oz43YMUDnzYAfT/VZSMHX63zS+Ao5D5Jf8c=; X-UUID: 6b57a697fc7343769c8cf30d3b0e206e-20201217 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1295937453; Thu, 17 Dec 2020 10:26:08 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS32DR.mediatek.inc (172.27.6.104) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 17 Dec 2020 10:26:07 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 17 Dec 2020 10:26:06 +0800 Message-ID: <1608171967.26323.211.camel@mhfsdcap03> Subject: Re: [PATCH v3 4/7] iommu: Switch gather->end to unsigned long long From: Yong Wu To: David Laight CC: Joerg Roedel , Will Deacon , "Robin Murphy" , Matthias Brugger , Krzysztof Kozlowski , Tomasz Figa , "linux-mediatek@lists.infradead.org" , "srv_heupstream@mediatek.com" , "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" , Greg Kroah-Hartman , "kernel-team@android.com" Date: Thu, 17 Dec 2020 10:26:07 +0800 In-Reply-To: <6b4a1d37a90f4663adf6b4adb9f80e2b@AcuMS.aculab.com> References: <20201216103607.23050-1-yong.wu@mediatek.com> <20201216103607.23050-5-yong.wu@mediatek.com> <6b4a1d37a90f4663adf6b4adb9f80e2b@AcuMS.aculab.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: B9C6A281BF70BD4B15A9A916FF428EA37530DAF05AB6D1085009CD88534769EA2000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgRGF2aWQsDQoNCk9uIFdlZCwgMjAyMC0xMi0xNiBhdCAxMTowMyArMDAwMCwgRGF2aWQgTGFp Z2h0IHdyb3RlOg0KPiBGcm9tOiBZb25nIFd1DQo+ID4gU2VudDogMTYgRGVjZW1iZXIgMjAyMCAx MDozNg0KPiA+IA0KPiA+IEN1cnJlbnRseSBnYXRoZXItPmVuZCBpcyAidW5zaWduZWQgbG9uZyIg d2hpY2ggbWF5IGJlIG92ZXJmbG93IGluDQo+ID4gYXJjaDMyIGluIHRoZSBjb3JuZXIgY2FzZTog MHhmZmYwMDAwMCArIDB4MTAwMDAwKGlvdmEgKyBzaXplKS4NCj4gPiBBbHRob3VnaCBpdCBkb2Vz bid0IGFmZmVjdCB0aGUgc2l6ZShlbmQgLSBzdGFydCksIGl0IGFmZmVjdHMgdGhlIGNoZWNraW5n DQo+ID4gImdhdGhlci0+ZW5kIDwgZW5kIg0KPiA+IA0KPiA+IEZpeGVzOiBhN2QyMGRjMTlkOWUg KCJpb21tdTogSW50cm9kdWNlIHN0cnVjdCBpb21tdV9pb3RsYl9nYXRoZXIgZm9yIGJhdGNoaW5n IFRMQiBmbHVzaGVzIikNCj4gPiBTaWduZWQtb2ZmLWJ5OiBZb25nIFd1IDx5b25nLnd1QG1lZGlh dGVrLmNvbT4NCj4gPiAtLS0NCj4gPiAgaW5jbHVkZS9saW51eC9pb21tdS5oIHwgNSArKystLQ0K PiA+ICAxIGZpbGUgY2hhbmdlZCwgMyBpbnNlcnRpb25zKCspLCAyIGRlbGV0aW9ucygtKQ0KPiA+ IA0KPiA+IGRpZmYgLS1naXQgYS9pbmNsdWRlL2xpbnV4L2lvbW11LmggYi9pbmNsdWRlL2xpbnV4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