linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/13] Patches to improve dma transfer efficiency for Rockchip SoCs.
@ 2020-06-08  7:49 Sugar Zhang
  2020-06-08  7:49 ` [PATCH v1 04/13] ARM: dts: rk3036: Add 'arm, pl330-periph-burst' for dmac Sugar Zhang
  0 siblings, 1 reply; 3+ messages in thread
From: Sugar Zhang @ 2020-06-08  7:49 UTC (permalink / raw)
  To: Vinod Koul, Heiko Stuebner
  Cc: devicetree, Carlos de Paula, dmaengine, Jonas Karlman, Shawn Lin,
	Daniel Lezcano, linux-kernel, Sugar Zhang, linux-rockchip,
	Chen-Yu Tsai, Rob Herring, Miquel Raynal, Enric Balletbo i Serra,
	Andy Yan, Johan Jonker, Robin Murphy, Dan Williams,
	linux-arm-kernel




Sugar Zhang (13):
  dmaengine: pl330: Remove the burst limit for quirk 'NO-FLUSHP'
  dmaengine: pl330: Add quirk 'arm,pl330-periph-burst'
  dt-bindings: dma: pl330: Document the quirk 'arm,pl330-periph-burst'
  ARM: dts: rk3036: Add 'arm,pl330-periph-burst' for dmac
  ARM: dts: rk322x: Add 'arm,pl330-periph-burst' for dmac
  ARM: dts: rk3288: Add 'arm,pl330-periph-burst' for dmac
  ARM: dts: rk3xxx: Add 'arm,pl330-periph-burst' for dmac
  ARM: dts: rv1108: Add 'arm,pl330-periph-burst' for dmac
  arm64: dts: px30: Add 'arm,pl330-periph-burst' for dmac
  arm64: dts: rk3308: Add 'arm,pl330-periph-burst' for dmac
  arm64: dts: rk3328: Add 'arm,pl330-periph-burst' for dmac
  arm64: dts: rk3368: Add 'arm,pl330-periph-burst' for dmac
  arm64: dts: rk3399: Add 'arm,pl330-periph-burst' for dmac

 .../devicetree/bindings/dma/arm-pl330.txt          |  1 +
 arch/arm/boot/dts/rk3036.dtsi                      |  1 +
 arch/arm/boot/dts/rk322x.dtsi                      |  1 +
 arch/arm/boot/dts/rk3288.dtsi                      |  3 ++
 arch/arm/boot/dts/rk3xxx.dtsi                      |  3 ++
 arch/arm/boot/dts/rv1108.dtsi                      |  1 +
 arch/arm64/boot/dts/rockchip/px30.dtsi             |  1 +
 arch/arm64/boot/dts/rockchip/rk3308.dtsi           |  2 +
 arch/arm64/boot/dts/rockchip/rk3328.dtsi           |  1 +
 arch/arm64/boot/dts/rockchip/rk3368.dtsi           |  2 +
 arch/arm64/boot/dts/rockchip/rk3399.dtsi           |  2 +
 drivers/dma/pl330.c                                | 44 +++++++++++++++-------
 12 files changed, 49 insertions(+), 13 deletions(-)

-- 
2.7.4




_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v1 04/13] ARM: dts: rk3036: Add 'arm, pl330-periph-burst' for dmac
  2020-06-08  7:49 [PATCH v1 0/13] Patches to improve dma transfer efficiency for Rockchip SoCs Sugar Zhang
@ 2020-06-08  7:49 ` Sugar Zhang
  2020-06-08 14:36   ` [PATCH v1 04/13] ARM: dts: rk3036: Add 'arm,pl330-periph-burst' " kernel test robot
  0 siblings, 1 reply; 3+ messages in thread
From: Sugar Zhang @ 2020-06-08  7:49 UTC (permalink / raw)
  To: Vinod Koul, Heiko Stuebner
  Cc: devicetree, linux-kernel, Sugar Zhang, linux-rockchip,
	Rob Herring, linux-arm-kernel

This patch Add the quirk to specify to use burst transfer
for better compatible and higher performance.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
---

 arch/arm/boot/dts/rk3036.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi
index d9a0c9a2..cfec7d6 100644
--- a/arch/arm/boot/dts/rk3036.dtsi
+++ b/arch/arm/boot/dts/rk3036.dtsi
@@ -67,6 +67,7 @@
 				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
 			#dma-cells = <1>;
 			arm,pl330-broken-no-flushp;
++			arm,pl330-periph-burst;
 			clocks = <&cru ACLK_DMAC2>;
 			clock-names = "apb_pclk";
 		};
-- 
2.7.4




_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 04/13] ARM: dts: rk3036: Add 'arm,pl330-periph-burst' for dmac
  2020-06-08  7:49 ` [PATCH v1 04/13] ARM: dts: rk3036: Add 'arm, pl330-periph-burst' for dmac Sugar Zhang
@ 2020-06-08 14:36   ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2020-06-08 14:36 UTC (permalink / raw)
  To: Sugar Zhang, Vinod Koul, Heiko Stuebner
  Cc: devicetree, kbuild-all, linux-kernel, Sugar Zhang, linux-rockchip,
	Rob Herring, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]

Hi Sugar,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on rockchip/for-next]
[also build test ERROR on slave-dma/next robh/for-next v5.7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Sugar-Zhang/Patches-to-improve-dma-transfer-efficiency-for-Rockchip-SoCs/20200608-181049
base:   https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

>> Error: arch/arm/boot/dts/rk3036.dtsi:70.3-4 syntax error
FATAL ERROR: Unable to parse input tree

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50461 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-08 14:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-08  7:49 [PATCH v1 0/13] Patches to improve dma transfer efficiency for Rockchip SoCs Sugar Zhang
2020-06-08  7:49 ` [PATCH v1 04/13] ARM: dts: rk3036: Add 'arm, pl330-periph-burst' for dmac Sugar Zhang
2020-06-08 14:36   ` [PATCH v1 04/13] ARM: dts: rk3036: Add 'arm,pl330-periph-burst' " kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).