Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp250515ybk; Sat, 9 May 2020 01:42:19 -0700 (PDT) X-Google-Smtp-Source: APiQypKMMazWo8nJsNbzQMeXRN4pAiITpu1xhL/0rtOvKqbG8Di3omKXy6nsStvGCkD2QcgSXor/ X-Received: by 2002:a05:6402:1684:: with SMTP id a4mr5254921edv.99.1589013739333; Sat, 09 May 2020 01:42:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589013739; cv=none; d=google.com; s=arc-20160816; b=ScpMeeFBBhc04lltq2g48pNSCnT/4S16Jg0kq95v3EiNELEsmafUL2hxzNCGCMHcwc yoxGwagTBHMvAZ658PRqKYvNByU3i2ooIuXGt/3qfKWDqfcusAp7AjlBCCpGGY/Xk2AV 5loTeZUuXHl+GtZIjwCds7aHmVQk3ElBPLWaMsUVUV5jBFN9QJ87/+e08SZtzuM7dyeS 6tWg3qk7cge/ikKrnpZrK1xBQSl6d3hRung0p/FwX00Zp4pWWs1AB7mHVJS53QPz5Qn0 vXMWQa6burPnHzn5XtomihPNc4X6ZqR9xz9LgH0H6AFuV4Dv1M7aRlBLw48PrA414TWs IcSg== 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=Ezxnpacb1Qfl7kqFt1JuWZJN2mz/b27zc594wQ0UDDo=; b=PJbAzsuSZ1CRZib4W/TxrqkjLqftV3zgZhN5l7CGBiMYIHhd09TAHXY8hs9yUl5vtn xObN/26ou1mpO7yapWX2kVW5VJ87DwhenKMfLt0I8wyIcWFlYZ5SsxRMN74G0aVZc6tq hvxkgCavHahZe0tbhPU/DNdKfeHVsAQlMf2yCHVmJMYHZp9SfltgIpzJv+NuWIvoUJ1G uZjwiJpKzIYtyzO2ERBjhMkWH5OvE18rthZVUVz5dNHShTvqe3n2SoP0YhLocP/cNnEp J31EBKi2oUXgWE7VFiWcIOY9mIVIHYlXfrOiUCT1oFWIB4LPRhldsfwo3IgO6Icr5F4m oDQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WuPkTU2y; 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 di17si2328407edb.593.2020.05.09.01.41.56; Sat, 09 May 2020 01:42:19 -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=WuPkTU2y; 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 S1728047AbgEIIkY (ORCPT + 99 others); Sat, 9 May 2020 04:40:24 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:3978 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727030AbgEIIkP (ORCPT ); Sat, 9 May 2020 04:40:15 -0400 X-UUID: 7c251213387c4065897a7ac78f45bf7d-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=Ezxnpacb1Qfl7kqFt1JuWZJN2mz/b27zc594wQ0UDDo=; b=WuPkTU2yuqjsaGfk+XXZBzWWMs5unewx4YIU31GjzPkVq4A1KiLwBjhKDLJJZVGR2O7Z+kf27dzKla3aWaBxU7xt86E3xEhDgtd0DfdMztlNX1D5YoJJtQiyQMFSjzAkl+xCbiHOI3qsXlG/yGQKKPKKg6WzWdxtYImhjcgGVWA=; X-UUID: 7c251213387c4065897a7ac78f45bf7d-20200509 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 226198438; Sat, 09 May 2020 16:40:10 +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:07 +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:06 +0800 From: Chao Hao To: Joerg Roedel , Rob Herring , Matthias Brugger CC: , , , , , , Chao Hao , Yong Wu , FY Yang , Jun Yan Subject: [PATCH v3 3/7] iommu/mediatek: Disable STANDARD_AXI_MODE in MISC_CTRL Date: Sat, 9 May 2020 16:36:50 +0800 Message-ID: <20200509083654.5178-4-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: 3B61293D89B03B88DD10C331106402621E780E90FEB2590354515292684FA6732000: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 SW4gb3JkZXIgdG8gaW1wcm92ZSBwZXJmb3JtYW5jZSwgd2UgYWx3YXlzIGRpc2FibGUgU1RBTkRB UkRfQVhJX01PREUgaW4NCk1JU0NfQ1RSTC4NCg0KU2lnbmVkLW9mZi1ieTogQ2hhbyBI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