From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C958C4320A for ; Mon, 9 Aug 2021 11:46:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F044360EFF for ; Mon, 9 Aug 2021 11:46:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org F044360EFF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=v+BSivfmgEEZXerWtedqMuZzJBn+aVtaZm4OFFl8AMo=; b=XqVmGJ1E0eDh3lG/2CQOuGSl4R OXlM21XWaNDGMKUe7NzrBsKT/PNHtGQMiGKnqy22BFtdC5sJip0j5qFSt0BF2pscs0AMgYRPnLfT8 Nhxqprzsj8Xo8+glh2cl6bKf+uAv44IXTF5AnQaRohIuIUnTqM6mW511iKtxH6DK2MS8rr/5lAhh3 YmwaDYxRL7ktvJaE+vrDRE0q+nr2XAg5OCv0KSBjjyHEI2nc3B+OwXmGg/mX521uJrjT/qviuHpre g8KI5vQO/f6eK8bXttDN2Rq83UUyWqMZzHld7kUaj3jMuqIh1JV+EbvOsfOjOQCqagP4TfEK4aPAp jOaQR1yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD3iB-000PHO-Mp; Mon, 09 Aug 2021 11:44:55 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mD3i7-000PGt-3z for linux-arm-kernel@lists.infradead.org; Mon, 09 Aug 2021 11:44:52 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 756896D; Mon, 9 Aug 2021 04:44:41 -0700 (PDT) Received: from [10.57.36.146] (unknown [10.57.36.146]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 03CB93F40C; Mon, 9 Aug 2021 04:44:37 -0700 (PDT) Subject: Re: [PATCH] arm64: dts: imx8qm: add smmu node To: "Peng Fan (OSS)" , robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, p.zabel@pengutronix.de, l.stach@pengutronix.de, krzk@kernel.org, agx@sigxcpu.org, marex@denx.de, andrew.smirnov@gmail.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com, Peng Fan References: <20210807104517.24066-1-peng.fan@oss.nxp.com> From: Robin Murphy Message-ID: <57fc0247-808d-1c83-2ec9-840a48af025a@arm.com> Date: Mon, 9 Aug 2021 12:44:32 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210807104517.24066-1-peng.fan@oss.nxp.com> Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210809_044451_262021_4C43D068 X-CRM114-Status: GOOD ( 16.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2021-08-07 11:45, Peng Fan (OSS) wrote: > From: Peng Fan > > i.MX8QM has an iommu unit: SMMU-V2(mmu-500), add it. Given CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT, you may want to add this in a disabled state until you've filled in all the "iommus" properties for the client devices. Otherwise, be prepared to hear from people reporting issues bisected to this patch ;) Robin. > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx8qm.dtsi | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8qm.dtsi b/arch/arm64/boot/dts/freescale/imx8qm.dtsi > index aebbe2b84aa1..b8ffd5be6a3e 100644 > --- a/arch/arm64/boot/dts/freescale/imx8qm.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8qm.dtsi > @@ -165,6 +165,22 @@ iomuxc: pinctrl { > > }; > > + smmu: iommu@51400000 { > + compatible = "arm,mmu-500"; > + reg = <0 0x51400000 0 0x40000>; > + #iommu-cells = <2>; > + #global-interrupts = <1>; > + interrupts = <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>, <0 32 4>, <0 32 4>, <0 32 4>, > + <0 32 4>; > + }; > + > /* sorted in register address */ > #include "imx8-ss-img.dtsi" > #include "imx8-ss-dma.dtsi" > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel