diff mbox series

arm64: dts: fsl: DPAA FMan DMA operations are coherent

Message ID 1601901999-28280-1-git-send-email-madalin.bucur@oss.nxp.com
State New
Headers show
Series arm64: dts: fsl: DPAA FMan DMA operations are coherent | expand

Commit Message

Madalin Bucur (OSS) Oct. 5, 2020, 12:46 p.m. UTC
Although the DPAA 1 FMan operations are coherent, the device tree
node for the FMan does not indicate that, resulting in a needless
loss of performance. Adding the missing dma-coherent property.

Fixes: 1ffbecdd8321 ("arm64: dts: add DPAA FMan nodes")

Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Tested-by: Camelia Groza <camelia.groza@oss.nxp.com>
---
 arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Leo Li Oct. 5, 2020, 3:07 p.m. UTC | #1
On Mon, Oct 5, 2020 at 7:47 AM Madalin Bucur <madalin.bucur@oss.nxp.com> wrote:
>
> Although the DPAA 1 FMan operations are coherent, the device tree
> node for the FMan does not indicate that, resulting in a needless
> loss of performance. Adding the missing dma-coherent property.
>
> Fixes: 1ffbecdd8321 ("arm64: dts: add DPAA FMan nodes")
>
> Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
> Tested-by: Camelia Groza <camelia.groza@oss.nxp.com>

Acked-by: Li Yang <leoyang.li@nxp.com>

> ---
>  arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
> index 8bc6caa9167d..4338db14c5da 100644
> --- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
> +++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
> @@ -19,6 +19,7 @@ fman0: fman@1a00000 {
>         clock-names = "fmanclk";
>         fsl,qman-channel-range = <0x800 0x10>;
>         ptimer-handle = <&ptp_timer0>;
> +       dma-coherent;
>
>         muram@0 {
>                 compatible = "fsl,fman-muram";
> --
> 2.1.0
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
index 8bc6caa9167d..4338db14c5da 100644
--- a/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
+++ b/arch/arm64/boot/dts/freescale/qoriq-fman3-0.dtsi
@@ -19,6 +19,7 @@  fman0: fman@1a00000 {
 	clock-names = "fmanclk";
 	fsl,qman-channel-range = <0x800 0x10>;
 	ptimer-handle = <&ptp_timer0>;
+	dma-coherent;
 
 	muram@0 {
 		compatible = "fsl,fman-muram";