Message ID | 1601901999-28280-1-git-send-email-madalin.bucur@oss.nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: fsl: DPAA FMan DMA operations are coherent | expand |
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 >
On Mon, Oct 05, 2020 at 03:46:39PM +0300, Madalin Bucur 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> Applied, thanks.
> -----Original Message----- > From: linux-arm-kernel <linux-arm-kernel-bounces@lists.infradead.org> On > Behalf Of Shawn Guo > To: Madalin Bucur (OSS) <madalin.bucur@oss.nxp.com> > Subject: Re: [PATCH] arm64: dts: fsl: DPAA FMan DMA operations are > coherent > > On Mon, Oct 05, 2020 at 03:46:39PM +0300, Madalin Bucur 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> > > Applied, thanks. Hi, Shawn, will this fix for the device trees be picked up in the stable trees as well? Do I need to do something about it? Thanks Madalin PS: will this make it into v5.10 or v5.11?
On Wed, Nov 11, 2020 at 03:33:19PM +0000, Madalin Bucur wrote: > > -----Original Message----- > > From: linux-arm-kernel <linux-arm-kernel-bounces@lists.infradead.org> On > > Behalf Of Shawn Guo > > To: Madalin Bucur (OSS) <madalin.bucur@oss.nxp.com> > > Subject: Re: [PATCH] arm64: dts: fsl: DPAA FMan DMA operations are > > coherent > > > > On Mon, Oct 05, 2020 at 03:46:39PM +0300, Madalin Bucur 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> > > > > Applied, thanks. > > Hi, Shawn, > > will this fix for the device trees be picked up in the stable trees as well? > Do I need to do something about it? When it's landed in Linus' tree, stable kernel will pick it up due to the Fixes: tag there. So you do not need to do anything about it. > > Thanks > Madalin > > PS: will this make it into v5.10 or v5.11? I'm sending it to arm-soc folks as a material for v5.10-rc. So if everything goes well, it will get into v5.10. Shawn
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";