Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp76181rwb; Thu, 22 Sep 2022 14:43:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4N/EnprsHkWzN23MhYuop2VRiT0YFmriu1qNvN+5Uv+D6BHMpKAQEbTiYoIS04xxi36oNJ X-Received: by 2002:a17:907:7245:b0:782:331b:60f4 with SMTP id ds5-20020a170907724500b00782331b60f4mr4632072ejc.594.1663882987957; Thu, 22 Sep 2022 14:43:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663882987; cv=none; d=google.com; s=arc-20160816; b=lWUdBrzJZ6VgQqb0tn0FizN0ttnp7+W03gnNWl5eNAj9hmyfa8tPYHo2UEwViOmc7L MZF5tzjNvdEv81F00tLGnVyoa/C8KXr4A549dRChvDKRwpNliEbX7xHaKaSMwyFm5UrM nA6n9g2aJl/KXoiccPcy8so69HFFxFoD8biFMKo+FbGybzRK5B3NrnNbjTLs2SQVEin1 3ULtA5W0wyWanFnGHpAo1crXfuG698hpioeRpJzpZ7DILfUE6mfK7d/X2SB5wNw443oB tgM/bbgymqRFpZm7vvQjotFkHw6piogorcO1KPm3YKaklQSWVXTubHuhw/zK0QRM+0Mp GnSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=JXKdyCwPYUOiUdLw32uvyeLjQjIhS2wcp4Hy7Ei8LC8=; b=WK7O7EWB9YtWZ7UX3bnQfnvj5JuxvTY6/eyUPt1anmpVB6+8pk+iEYlrYTybPRO0hp vIy3AhdrMG+7JR0XVKY8xoRdYASkZbzy5w0eU6Qr7ysa0DUu6N/0dF7GSYMq++LdWrxn 897QZZ8hp8e2mF0smbF/XNYwLyAWcEpowO35ceAIdTQ+AaCG8vGgPPSPeX362iAm7rWx MdVr7B0sQFWTp4BF68PSppGCtKn19Duu1QMzAxMTadV2vhtL9SJ96s8os1yLIoEP22Ek ieAyFxzDFkq8gstU1QOUkzgcb3kEzVXrBVSq4SvF42f74mbIvtxHO346Iolu6E/tn7F4 FjJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hc17-20020a170907169100b007822665aa3csi5444185ejc.911.2022.09.22.14.42.42; Thu, 22 Sep 2022 14:43:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231423AbiIVVk4 (ORCPT + 99 others); Thu, 22 Sep 2022 17:40:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231312AbiIVVkk (ORCPT ); Thu, 22 Sep 2022 17:40:40 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D1FCEEB52; Thu, 22 Sep 2022 14:40:39 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 1B1101B3D76; Thu, 22 Sep 2022 23:40:38 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id CFCBE1B3DC3; Thu, 22 Sep 2022 23:40:37 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.134]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 87B4040A9F; Thu, 22 Sep 2022 14:40:36 -0700 (MST) From: Li Yang To: shawnguo@kernel.org, devicetree@vger.kernel.org Cc: robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Laurentiu Tudor , Li Yang Subject: [PATCH v3 4/9] arm64: dts: ls1046a: add missing dma ranges property Date: Thu, 22 Sep 2022 16:40:25 -0500 Message-Id: <20220922214030.9004-5-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20220922214030.9004-1-leoyang.li@nxp.com> References: <20220922214030.9004-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Laurentiu Tudor These chips have a 48-bit address size so make sure that the dma-ranges reflects this. Otherwise the linux kernel's dma sub-system will set the default dma masks to full 64-bit, badly breaking dmas. Signed-off-by: Laurentiu Tudor Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index a0619a45f3b8..27033c558e3e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -272,6 +272,7 @@ soc: soc { #address-cells = <2>; #size-cells = <2>; ranges; + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; ddr: memory-controller@1080000 { compatible = "fsl,qoriq-memory-controller"; -- 2.37.1