Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp822415ybs; Sun, 24 May 2020 23:18:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpIhoh0aTw1K9wFl+G2jbFjXNK7DHtVHO+XNPVvXEKYC2FSqiKS3iuNU27AiIpMjrKDhoq X-Received: by 2002:a17:906:3a11:: with SMTP id z17mr18159739eje.460.1590387480544; Sun, 24 May 2020 23:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590387480; cv=none; d=google.com; s=arc-20160816; b=sK4Mm4Nhnu7j7fZx/veF5mrE7tATirovcz/R6Jq+5mOWFjivdtz52BaPgjI8PtSOjn czhdQKoy6Mj2NkdGbWy56bPSIUj9AAfA/fw69RVB75sf8+nJi2F883pAwdf7fzKP86m9 LhpP3BjB1Y0Gn+XGZxSab4VaKe+RIoEr1Ecjz7c6GsdZi9z/KwP9i1iHo3QTV2DJxbmY 21/rc6h2c+nBLseUbfWE1pGQAG/MTQjRz0VJQU7DCU27whsyva0f+vBlKRfslb5sIegg Ftm1rEq5IbKSsR7Ud1zoucHUFJi5xFXC+XcgqdFUCMti/NHRG5tJ132mL/Bq13mNu/4o cTuw== 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=4/4tyFF13ExXdeCjudAPME2PjshhSd+G5yUb+3jQX6c=; b=BhteHEVbKggsRMw4RhBUsRcczKvXJ0tOES55DJlwALkA2wWxt4nu8tdNABeKIAy2p8 HK/x133ULYGCvQxWIAGJk6CorRmW1jy0XlNjYurWhWfxO8R/Fs+qbiUE/ZhLGFWF0BbB zulhO3++lVPIyidBVwK1cRmyfFKD/EIEn9+XqYixRe7u2UL5ze0mwLzscajOHHzClRD3 F8stW1+6P2QiqvvRFra4HIAGuKM19zeDsSKnudb2FN0KFdwmlMUnsBP5MHGZy754IT1P NJRXzsg6XuMU7W/TNddwdHpjX7oZ8XBKPMnLXS/FmDvQBH89NYI1vVg+y6dvhcKmSYP1 CtcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=vAcp9De3; 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 n11si5838415ejl.677.2020.05.24.23.17.37; Sun, 24 May 2020 23:18:00 -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=vAcp9De3; 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 S1730113AbgEYGNR (ORCPT + 99 others); Mon, 25 May 2020 02:13:17 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:33069 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726572AbgEYGNQ (ORCPT ); Mon, 25 May 2020 02:13:16 -0400 X-UUID: 1689848e2ef64c158ed97b7d0f06d0f0-20200525 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=4/4tyFF13ExXdeCjudAPME2PjshhSd+G5yUb+3jQX6c=; b=vAcp9De36AsutujK+9KbaHTnQbyL9LOdmqnpYpQFuEUFDKkGvBW5jjoG5WOBOJIGwHDpb1mshel7U/Wsact9KWkzaPsX3G12OCjSlPBOGyHy6XyFWRiXI52Wo2XZhHmD+tSjBY8tYMzY1t4pBjssw3zl8K2LVevujgfM+eUbfic=; X-UUID: 1689848e2ef64c158ed97b7d0f06d0f0-20200525 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 139799003; Mon, 25 May 2020 14:13:09 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS32N2.mediatek.inc (172.27.4.72) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 25 May 2020 14:13:08 +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; Mon, 25 May 2020 14:13:07 +0800 Message-ID: <1590387086.13912.4.camel@mhfsdcap03> Subject: Re: [PATCH v3 2/7] iommu/mediatek: Rename the register STANDARD_AXI_MODE(0x48) to MISC_CTRL From: Yong Wu To: Chao Hao CC: Joerg Roedel , Rob Herring , Matthias Brugger , , , , , , , FY Yang , Jun Yan Date: Mon, 25 May 2020 14:11:26 +0800 In-Reply-To: <20200509083654.5178-3-chao.hao@mediatek.com> References: <20200509083654.5178-1-chao.hao@mediatek.com> <20200509083654.5178-3-chao.hao@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: 9F19ACAE1B3DEF7E5400D3D9BC819389FFCDC31F868E03319EA154150F0F08962000: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 T24gU2F0LCAyMDIwLTA1LTA5IGF0IDE2OjM2ICswODAwLCBDaGFvIEhhbyB3cm90ZToNCj4gRm9y IGlvbW11IG9mZnNldD0weDQ4I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