From: Li Yang <leoyang.li@nxp.com> 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 <laurentiu.tudor@nxp.com>, Li Yang <leoyang.li@nxp.com> Subject: [PATCH v3 4/9] arm64: dts: ls1046a: add missing dma ranges property Date: Thu, 22 Sep 2022 16:40:25 -0500 [thread overview] Message-ID: <20220922214030.9004-5-leoyang.li@nxp.com> (raw) In-Reply-To: <20220922214030.9004-1-leoyang.li@nxp.com> From: Laurentiu Tudor <laurentiu.tudor@nxp.com> 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 <laurentiu.tudor@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com> --- 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
WARNING: multiple messages have this Message-ID (diff)
From: Li Yang <leoyang.li@nxp.com> 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 <laurentiu.tudor@nxp.com>, Li Yang <leoyang.li@nxp.com> Subject: [PATCH v3 4/9] arm64: dts: ls1046a: add missing dma ranges property Date: Thu, 22 Sep 2022 16:40:25 -0500 [thread overview] Message-ID: <20220922214030.9004-5-leoyang.li@nxp.com> (raw) In-Reply-To: <20220922214030.9004-1-leoyang.li@nxp.com> From: Laurentiu Tudor <laurentiu.tudor@nxp.com> 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 <laurentiu.tudor@nxp.com> Signed-off-by: Li Yang <leoyang.li@nxp.com> --- 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-09-22 21:41 UTC|newest] Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-22 21:40 [PATCH v3 0/9] accumulated dts updates for ls1046a Li Yang 2022-09-22 21:40 ` Li Yang 2022-09-22 21:40 ` [PATCH v3 1/9] arm64: dts: ls1046a: Enable usb3-lpm-capable for usb3 node Li Yang 2022-09-22 21:40 ` Li Yang 2022-09-22 21:40 ` [PATCH v3 2/9] arm64: dts: ls1046a: Add the PME interrupt and big-endian to PCIe EP nodes Li Yang 2022-09-22 21:40 ` Li Yang 2022-09-22 21:40 ` [PATCH v3 3/9] arm64: dts: ls1046a: Add big-endian property for PCIe nodes Li Yang 2022-09-22 21:40 ` Li Yang 2022-09-22 21:40 ` Li Yang [this message] 2022-09-22 21:40 ` [PATCH v3 4/9] arm64: dts: ls1046a: add missing dma ranges property Li Yang 2022-09-22 21:40 ` [PATCH v3 5/9] arm64: dts: ls1046a: make dma-coherent global to the SoC Li Yang 2022-09-22 21:40 ` Li Yang 2022-09-22 21:40 ` [PATCH v3 6/9] arm64: dts: ls1046a: use a pseudo-bus to constrain usb and sata dma size Li Yang 2022-09-22 21:40 ` Li Yang 2022-09-22 21:40 ` [PATCH v3 7/9] arm64: dts: ls1046a: add gpios based i2c recovery information Li Yang 2022-09-22 21:40 ` Li Yang 2022-09-22 21:40 ` [PATCH v3 8/9] arm64: dts: ls1046a-qds: add mmio based mdio-mux nodes for FPGA Li Yang 2022-09-22 21:40 ` Li Yang 2022-09-22 21:40 ` [PATCH v3 9/9] arm64: dts: ls1046a-qds: Modify the qspi flash frequency Li Yang 2022-09-22 21:40 ` Li Yang 2022-10-23 13:24 ` [PATCH v3 0/9] accumulated dts updates for ls1046a Shawn Guo 2022-10-23 13:24 ` Shawn Guo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220922214030.9004-5-leoyang.li@nxp.com \ --to=leoyang.li@nxp.com \ --cc=devicetree@vger.kernel.org \ --cc=laurentiu.tudor@nxp.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=robh+dt@kernel.org \ --cc=shawnguo@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.