Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp250383ybk; Sat, 9 May 2020 01:42:03 -0700 (PDT) X-Google-Smtp-Source: APiQypJX61deJDKaF+kaoLxdXZ4hlnUmg4vBzTG2SGg0R559/+7pctGLoUBcy1FZN60naWGVNrug X-Received: by 2002:a17:906:6b05:: with SMTP id q5mr5142036ejr.329.1589013723448; Sat, 09 May 2020 01:42:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589013723; cv=none; d=google.com; s=arc-20160816; b=M0NxXiVq5APfetXKGxjIgyoxLtdBc/IsBPQIhqqMOnCsbgo5GQ59EsfzFMlknxRbd2 SBjMVcJ6jM2kaQBj9YtxD4MI/y6YzQALWzhF4r3zi0J8+F9HSkK07MjXz0j0iI/dmiBu pxIcAEoZt2kx8ekiIPDxwSU5SKrox2AjaTdtImyxQaRWkEFr3B+zVtiyUyyYlb1B5tos t9XcuMdv0WQTOb6onAyCpWREdggYZzAUW//ccdDXnsaqFrwZ7krbiZ5CvEgfd0C7tuvK GH+Xb/5/R9hK+Sr3eY0O/k3x9eyt1J97xxYpepm9zfaKn0473UaGEx7+5bAH6Rwfw9O/ lZFw== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=un0Yg5vXIA7vm8sRjAZLNkA9yjwgS3t+zml/mOo9/rM=; b=FG7FGZeHzwdDxb2gimKkK33Fk+0KKiLS0/aSAVayxJNQwegy4cnwn7N1AgFQqiKH/1 +BpX2uN6UKCewfIjb/gsvKyLyo8rvEeDlZP+h5XLH4gL8svseXoyekincPcqPY9ygpIE Xmfr2FACM1ciqu+ZeF2KwAkogGDrnBBn5l81OxL/PE/Zd67T+T8T4MdZKxK21WJJdEVq 5ye6NqFgV+L1Bis3p6uKps3taQ2359zqdwqNbkbdGqO24uU93yBNEwhEhsMSwDacma/a jiUOEA0wU/0hwY3qeaJcVL+Z697ISlSih4MaSv6O4O34Yq35l4yeo505VRNkrwcGHsMy j6rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="A7Dqp/54"; 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 y11si2313072edr.151.2020.05.09.01.41.41; Sat, 09 May 2020 01:42:03 -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="A7Dqp/54"; 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 S1727933AbgEIIkP (ORCPT + 99 others); Sat, 9 May 2020 04:40:15 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:25790 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725930AbgEIIkN (ORCPT ); Sat, 9 May 2020 04:40:13 -0400 X-UUID: 9abc913994f54155873049ae73176107-20200509 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=un0Yg5vXIA7vm8sRjAZLNkA9yjwgS3t+zml/mOo9/rM=; b=A7Dqp/54GcqEPbvLEU2szX1gBZbA2XyaktL1FR54H1jjLTf1wR18MRtadYOWibOn2nlMWwj0jKb4FYD8H9k1L2sgFrISeqHwsg3hUCheunX1rChJLVeZ563P//S0WaVWvcgf/W0MdMIMnBodmEKSP06+EudJl0fv3TS7+ZIDvQ8=; X-UUID: 9abc913994f54155873049ae73176107-20200509 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 336874874; Sat, 09 May 2020 16:40:08 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 9 May 2020 16:40:05 +0800 Received: from localhost.localdomain (10.15.20.246) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 9 May 2020 16:40:03 +0800 From: Chao Hao To: Joerg Roedel , Rob Herring , Matthias Brugger CC: , , , , , , Chao Hao , Yong Wu , FY Yang , Jun Yan Subject: [PATCH v3 2/7] iommu/mediatek: Rename the register STANDARD_AXI_MODE(0x48) to MISC_CTRL Date: Sat, 9 May 2020 16:36:49 +0800 Message-ID: <20200509083654.5178-3-chao.hao@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200509083654.5178-1-chao.hao@mediatek.com> References: <20200509083654.5178-1-chao.hao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 15B22C3274D48A5A6D2AFBF52E77538C8243E6364D3CA2F72796F8ED155886652000: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 Rm9yIGlvbW11IG9mZnNldD0weDQ4IHJlZ2lzdGVyLCBvbmx5IHRoZSBwcmV2aW91cyBtdDgxNzMv bXQ4MTgzIHVzZSB0aGUNCm5hbWUgU1RBTkRBUkRfQVhJX01PREUsIGFsbCB0aGUgbGF0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