Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp822871ybs; Sun, 24 May 2020 23:19:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuEnlyT2Q/syTOGeHACFP89P/rJizDqpcWQGZLzV0UhR/yijUyWm0SNfG1Lvcpofxq+4LJ X-Received: by 2002:a17:906:868f:: with SMTP id g15mr17117260ejx.208.1590387543920; Sun, 24 May 2020 23:19:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590387543; cv=none; d=google.com; s=arc-20160816; b=Tbvk3O4SwfnzMDVbUZWw+vtSs3ii8yqSBe9hQ3zGm+GFWaLPg7rA+kvAt34UiOgepi RFFC/vzrvJcrraCc65UDaCSBTIDGk917MqrmootecfoKsEY8wfkinn6zeBmCHnutTpkI Hakgx3W6CBNvQImRGcJMamBWGbKZdqZL1iaAAS0rgd2QvCyzioOhPU3GWnWuV/QGXx1U 9Qai1sf+sOf7qZO1zdXG+kQ5/qoefeaDVD7Ev/+OzYc0Edo6jHQaAFbseE6P9jZi7z55 mxhLIGNEZhrQ/+o9xX3YYikFJVOVmGd0xgZ5C2cciSBJiaVIk8aS7wf4EuMj+Qfm9XOO M8Gw== 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=3hx+xuZwk+qJ8HxGZOVEgrk/RUaXq486bK4HGdRWFOY=; b=HOUp3ARpnVbwV78iA/i0fmCLXRaWB2KYNSrbYOAOP2V2klYOpYUVYjer09gWcQfaPV +eqNHlUGKdmXAAWZ1UXsbuJ9wM3elXElQIyHh3f4OHcchB25WlgqsB1P0cvEm2g/Uj67 /olwqY50OHDt3mhU3pgQJML5e3rnfbjhcYrwcRYCj8Ae0WwwsJEuXoLilEGvCTokEcEG ftq7iRExVI5ru0UopawD8+urQr1wm6OhMmiQUlmpDjjn5CzadmcK34mDWMdhrpQuOOHR 6avLJ/nNVByIT4UC45vY0d45S575gg06FRA5S3LzxNxJX/7hvcSQvVANMbp4qIxzLUtT Hk+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=sUT1dbhd; 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 j2si9019787ejs.531.2020.05.24.23.18.41; Sun, 24 May 2020 23:19: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=sUT1dbhd; 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 S1730446AbgEYGQ1 (ORCPT + 99 others); Mon, 25 May 2020 02:16:27 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:22248 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729125AbgEYGQ0 (ORCPT ); Mon, 25 May 2020 02:16:26 -0400 X-UUID: ad783735897a4deb96e9fc9d60047f63-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=3hx+xuZwk+qJ8HxGZOVEgrk/RUaXq486bK4HGdRWFOY=; b=sUT1dbhdCwbCGa9wcevmxjH949p1825aQBiHBRQINul9aBnQfP+tLrzQmokyAad1O0JD8NmjAcPvTY5stKeK7ji0X704MhlSCBY7opEnfnHsM1qV04W8e8fKAKdGUZr+I0nd6HugKsWa0h1vyD9sNPNUtynrqAhMD3T0GcHSXZo=; X-UUID: ad783735897a4deb96e9fc9d60047f63-20200525 Received: from mtkcas35.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 1685404416; Mon, 25 May 2020 14:16:19 +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:16:17 +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:16:16 +0800 Message-ID: <1590387275.13912.7.camel@mhfsdcap03> Subject: Re: [PATCH v3 3/7] iommu/mediatek: Disable STANDARD_AXI_MODE in 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:14:35 +0800 In-Reply-To: <20200509083654.5178-4-chao.hao@mediatek.com> References: <20200509083654.5178-1-chao.hao@mediatek.com> <20200509083654.5178-4-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: A8DD666DEB4BBAC87549C627945CC7E41AC0342C681DB12F322F811B674E33472000: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 T24gU2F0LCAyMDIwLTA1LTA5IGF0IDE2OjM2ICswODAwLCBDaGFvIEhhbyB3cm90ZToNCj4gSW4g b3JkZXIgdG8gaW1wcm92ZSBwZXJmb3JtY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