Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2211479ybt; Mon, 15 Jun 2020 23:13:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2/YmAA9uoh03dRyLBTL93cNyjAHNTWq+XUA5ImFsRhwIaAZ1MSlBoE6BvZRky28wIuKyn X-Received: by 2002:a17:906:aac8:: with SMTP id kt8mr1341070ejb.460.1592288022563; Mon, 15 Jun 2020 23:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592288022; cv=none; d=google.com; s=arc-20160816; b=z97Fq1QKEqS2TsmjXtgE9DWOCimSEttQ+3e0yvEdp1A+Fe0gCZ19nL9/vIFSoxKWvX X6WDR2vBbrbOy/f4SOclzhFXmuZ3pPe/1Q942gHtUBveU19X8s5gho8x9RSc1NpreZXw Coa6o+OX3TPcQrBWvas7R1JnuP84KJoPkJHroKKuq+jErXeni98gfCc3KuHSAGaAjtWS FxoUQRiQnW6+wgvmkRZ0yujVSkahclhKZ4LuAFlj5lE1Cnm5x1cHhjTsMSaoE6k6qi5t zEyqp2R2Ylupt6pv4VkYXv4ajtlNPgLKWCpGj6eO9Ad1Enmvp1vmzPQE4uU7RSOlMCEC uD/A== 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=o0aNLsq8928JAJ6+k5VSSOBMViWOoytBxgKCL5V42kA=; b=xtEuggdPo/1TKK65qiGpAykzQIzz8KDYE7Pzto8epCwQ4/dQ0YCjriJwZ6ZWQ1eUST LXWt7erKJZqM0GqQD/Eh5/YsFkv1bJL/CMbrZWyh/EkcHj6k6mtJ9gQ/gnOixQ6/yW6E 6l6lfZpXDOZ8gpvgpvF847X1uj7NAM1H6PvX0OhcseH4V184MHwYkvvg/2Uw0nnNkQYp DHHEzKZFl4IMH5y541V1dFj0q/S5Y5Q9MXmDAWdlTg1f+mQDmOqZpH90Jd9H5JIdpZeQ yUNN/wCKIJGVSEFqPwCTmapT2APxQgUTMIq+Va0XCr4Zh7wgGtA+ImZh1cqSoFwbpx0F ZV4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=X0s6uLih; 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 r16si10757497eds.6.2020.06.15.23.13.20; Mon, 15 Jun 2020 23:13:42 -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=X0s6uLih; 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 S1727041AbgFPGKg (ORCPT + 99 others); Tue, 16 Jun 2020 02:10:36 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:12501 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725775AbgFPGKf (ORCPT ); Tue, 16 Jun 2020 02:10:35 -0400 X-UUID: 1626b7beed3549a1b48b01ff9235c2d0-20200616 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=o0aNLsq8928JAJ6+k5VSSOBMViWOoytBxgKCL5V42kA=; b=X0s6uLihh9WJQAq/QIZNlCXHitKpRwdbPhnw+XF6brmzFjactGUBFSdTz53YEy3L3qchs5zE86v0IbjeH3h+t3Ly+/p92p9gxq+5yt37Y6249a1bxQxBk1VsP/LpQiE1Q6ErPQM54xRpKxC0JYJZ15Bdx6/c91S5+70LK+zMR1w=; X-UUID: 1626b7beed3549a1b48b01ff9235c2d0-20200616 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 1405085909; Tue, 16 Jun 2020 14:10:31 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 16 Jun 2020 14:10:26 +0800 Received: from [10.15.20.246] (10.15.20.246) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 16 Jun 2020 14:10:28 +0800 Message-ID: <1592287811.29899.3.camel@mbjsdccf07> Subject: Re: [PATCH v3 3/7] iommu/mediatek: Disable STANDARD_AXI_MODE in MISC_CTRL From: chao hao To: Yong Wu CC: Joerg Roedel , Rob Herring , Matthias Brugger , , , , , , , FY Yang , Jun Yan Date: Tue, 16 Jun 2020 14:10:11 +0800 In-Reply-To: <1590387275.13912.7.camel@mhfsdcap03> References: <20200509083654.5178-1-chao.hao@mediatek.com> <20200509083654.5178-4-chao.hao@mediatek.com> <1590387275.13912.7.camel@mhfsdcap03> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 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 T24gTW9uLCAyMDIwLTA1LTI1IGF0IDE0OjE0ICswODAwLCBZb25nIFd1IHdyb3RlOg0KPiBPbiBT YXQsIDIwMjAtMDUtMDkgYXQgMTY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