Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp895551pxu; Wed, 16 Dec 2020 18:27:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJyez4NrGkhi5kHqckaj//RUVjK0QE/nPs9d2i1KZDneP1Std4+rl8RrZ7UIky956gVG+5FH X-Received: by 2002:a17:906:1199:: with SMTP id n25mr32452171eja.293.1608172064339; Wed, 16 Dec 2020 18:27:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608172064; cv=none; d=google.com; s=arc-20160816; b=RWPwkH3XF9DYvGd/mNMeW5ZsklxiPk8JSBqnvBPSq65lOyFZ8l3wvI/U4XRHDfN2ty 5vwbA+DzL2Yilf8vD8TFpOwUGJ/RNzULGmZV92jCGsKnDyFP3sSBAGhvg8KIvOt+nJTr l9P+95wc5kPhaglEMIw8qT8sGBl1Zory2TWBKk3WzHEmYmsR52+ctCjlWoGTnnsiDnjt Dv6/6bqxDgbvGW7DCRvvfeKAk26908QYx1f/9wbwPPH8JLQVXqStfEVi0opjV6FDz5yL i4x9QXDNeaRQOvYmderui07ABy3EXbnW7d9cCDhBBff1KqyWBEJ8B9Gk1jV1h2gT9c5W rDRg== 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=cZkhfVbBy8ld8Co+Td0lutxPr2qax5e+8H5edX0I4Es=; b=rF3NIymwyj/QzaC0SjiN09niSGIebb44OIvRId+qr8Qh4AHdfTw7CeIv4pyyDFDs6y azhQCCH0YCU3g86ShFwhwvUZ9BubAFrjB6AdF1oIzZzVeQfB6NgHzm08Ib8oXv1EtJQd /Q4iKUY9yIajIMnQJNU/HcHJdIuAL6dxjNyNMSHgC7TLBPB2fx6585IsufMELjqi2fCY qvCkJQ6Pj2j8Qms1FA8cqytD718tUX0yC/HaaNP7qEUPos554L+L7p6OQpizjLNjaovP auy6aiRi2ai3857ztitygeJGnyQe9t5Ket8lByArxfVLZQWIC9KLlED0Sio4dfN+kal+ eiag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="S5a/E9Sk"; 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 g10si3728092edy.201.2020.12.16.18.27.21; Wed, 16 Dec 2020 18:27:44 -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="S5a/E9Sk"; 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 S1727368AbgLQC0u (ORCPT + 99 others); Wed, 16 Dec 2020 21:26:50 -0500 Received: from mailgw02.mediatek.com ([1.203.163.81]:11503 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727073AbgLQC0t (ORCPT ); Wed, 16 Dec 2020 21:26:49 -0500 X-UUID: a26dd9353d1e42208dd961d29e96f238-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=cZkhfVbBy8ld8Co+Td0lutxPr2qax5e+8H5edX0I4Es=; b=S5a/E9Sk262fUlpl4jWNxK94BAjz664cJCG0HUUB1v2v25iDGDSFH/8uu1Gi9Tyj2Xu5RqvzesFBWYBH1a6ArvjIjljorRyDmS9RFcuiLJ64m0VOZTC5zLTuj9c5iOgv4DiJfaV0E0y5uvDKIneqOugHQgLudjmA04GUtiIKaNo=; X-UUID: a26dd9353d1e42208dd961d29e96f238-20201217 Received: from mtkcas34.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 972562059; Thu, 17 Dec 2020 10:26:03 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31DR.mediatek.inc (172.27.6.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 17 Dec 2020 10:26:01 +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:01 +0800 Message-ID: <1608171961.26323.210.camel@mhfsdcap03> Subject: Re: [PATCH v3 4/7] iommu: Switch gather->end to unsigned long long From: Yong Wu To: Robin Murphy CC: Joerg Roedel , Will Deacon , , , Nicolas Boichat , , , , Krzysztof Kozlowski , Tomasz Figa , , , Matthias Brugger , Greg Kroah-Hartman , , Date: Thu, 17 Dec 2020 10:26:01 +0800 In-Reply-To: <16a9565e-5b01-e1c2-0f4a-d06db7f3b093@arm.com> References: <20201216103607.23050-1-yong.wu@mediatek.com> <20201216103607.23050-5-yong.wu@mediatek.com> <16a9565e-5b01-e1c2-0f4a-d06db7f3b093@arm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: AB5FD0512F263D6A017B73D1545892F0A3880C0205E3ADED95904F3CF6FAB3A82000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIwLTEyLTE2IGF0IDEyO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