Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1981220pxk; Mon, 14 Sep 2020 01:10:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8o+Ermcs3pTsgOSHtEeuoHI1lmaRxYpWzwjxhz+GQ0UIP/2uhFh3oYO/EYYhQwKSSDk1K X-Received: by 2002:aa7:dc16:: with SMTP id b22mr15784929edu.252.1600071038621; Mon, 14 Sep 2020 01:10:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600071038; cv=none; d=google.com; s=arc-20160816; b=R1N5e4nj3zHAxbYMManNHYycsDIA0J4MmIbopZiODMlA++fUbKZuhlmK5/9VWzs7v4 wWaDzFcjUEvzca7k8ue2jetr0IhXG8K6bwJhz2aJl4AllJLxHLDsKcZAkCmfFBTG2nBj CWJB/XXhRGs2MFe2CiG+QtE9issk76MKKw/fCu77Kfgdc9jlrNYYa5TB6xcxwfGlvK8y rYdQA1ZNg392hBkTNf08ydMJVMQRgnPiWEsHHF7pR47l9yzp0IO2IRrlc8UemfT+SVme dIXVf5Q1WIyIOOxR/mXVrP7Wop+RxLcbJ7owS/fbLlOf8K766PNg4yNIYVowqsQu9ZY6 JWjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=o4+81MO/aJXsuzsrMQotH3ExSOvHSioLCD4f6dFJz2w=; b=XTRTPl6aOD2GOIp9sSEfuL9hy5syQZKMvJKtykPF/w2SKzlS2nbGW23bgUJyBiUguM WNjEyown7ozwYllkwTl5WAduHdaK3PTQBVoMWzirE4P+PgyuEus3Rgncl1jqXcsl58mn Wi/0GcyTZ47lNpqGWD3OQbq3Xd8LIuaw/fPu+wlH5Q1nzCjDktkQRGuYg11lFfBqrJ9M HBVWJH+hDGMROlKm54jy5sTspP5N598jj4l+7qtN4HROj2kg7v76fK3dmfZOcjdWlDEh Em6IdOF1OgcqglJ4nDiEpMhEml3ll4gTn0C224Ev6TXdN86/b+Fftvf/4YCWZ8Ph5pMM DPYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=l6FCLiA7; 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 o11si6237757ejr.667.2020.09.14.01.10.15; Mon, 14 Sep 2020 01:10:38 -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=l6FCLiA7; 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 S1726161AbgINIHW (ORCPT + 99 others); Mon, 14 Sep 2020 04:07:22 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:30398 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726122AbgINIFg (ORCPT ); Mon, 14 Sep 2020 04:05:36 -0400 X-UUID: bebf9c19301442118425eecf8e76361d-20200914 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=o4+81MO/aJXsuzsrMQotH3ExSOvHSioLCD4f6dFJz2w=; b=l6FCLiA7CJi3pAqSW4Cxm/8GBgjW4L6Ft2+GXzUAVTo5Y51qYZWyjZPjj+vUJqg7T/QEgu2STC017M8xWY2DUtZLSqt6psW2BkyPoq7AK/pReqqWCYd5BgAEl3EiVl7uzo/4tXOEiWnCvy13/3lk3DmBtYZU3midJqY7LytMqpc=; X-UUID: bebf9c19301442118425eecf8e76361d-20200914 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.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 49461636; Mon, 14 Sep 2020 16:05:26 +0800 Received: from MTKCAS32.mediatek.inc (172.27.4.184) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 14 Sep 2020 16:05:24 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS32.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 14 Sep 2020 16:05:21 +0800 Message-ID: <1600070601.27773.14.camel@mhfsdcap03> Subject: Re: [PATCH v4 3/3] iommu/mediatek: add support for MT8167 From: Yong Wu To: Fabien Parent CC: , , , , , , , , Date: Mon, 14 Sep 2020 16:03:21 +0800 In-Reply-To: <20200907101649.1573134-3-fparent@baylibre.com> References: <20200907101649.1573134-1-fparent@baylibre.com> <20200907101649.1573134-3-fparent@baylibre.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 2B396821207B0DA67FA40430B531D336757789FCC3ACCCB9E04E67630009AD4F2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIwLTA5LTA3IGF0IDEyOjE2ICswMjAwLCBGYWJpZW4gUGFyZW50IHdyb3RlOg0K PiBBZGQgc3VwcG9ydCBmb3IgdGhlIElPTU1VIG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